:root {
  --ink: #15191d;
  --ink-soft: #242a30;
  --orange: #f4772a;
  --orange-dark: #d9580d;
  --paper: #f5f3ef;
  --white: #fff;
  --muted: #6d7174;
  --line: #dad8d3;
  --success: #1f8f55;
  --shadow: 0 18px 50px rgba(21, 25, 29, .13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body.is-locked { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(21, 25, 29, .96);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 3px solid var(--orange);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 900;
  font-style: italic;
}
.brand > span:last-child { display: grid; line-height: 1; text-transform: uppercase; }
.brand strong { font-size: 22px; font-style: italic; letter-spacing: -.04em; }
.brand small { margin-top: 5px; color: #c5c9cc; font-size: 9px; font-weight: 800; letter-spacing: .18em; }

.topbar nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); }
.topbar nav a { color: #dfe1e3; font-size: 14px; font-weight: 700; }
.topbar nav a:hover { color: var(--orange); }
.cart-trigger, .mobile-cart {
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}
.cart-trigger { padding: 12px 17px; }
.cart-trigger strong {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  margin-left: 7px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

main { overflow: hidden; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  min-height: 620px;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 7vw, 104px);
  background:
    radial-gradient(circle at 72% 55%, rgba(244, 119, 42, .18), transparent 26%),
    linear-gradient(135deg, #191d21 0%, #101214 68%, #242a30 100%);
  color: var(--white);
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-copy { align-self: center; max-width: 760px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .86;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: #c9cdd0; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}
.button.primary { background: var(--orange); color: var(--ink); }
.button.primary:hover { background: #ff8b45; }
.button.secondary { border: 1px solid #4b5157; color: var(--white); }
.trust-list { display: flex; flex-wrap: wrap; gap: 20px; margin: 34px 0 0; padding: 0; color: #d4d7d9; list-style: none; font-size: 13px; }
.trust-list li::before { color: var(--orange); content: "●"; margin-right: 8px; font-size: 9px; }

.hero-visual {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: #0b0d0f;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .42);
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 62% center;
}
.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 14, .44), transparent 36%), linear-gradient(0deg, rgba(0, 0, 0, .34), transparent 45%);
  content: "";
  pointer-events: none;
}
.hero-card {
  position: absolute;
  right: 0;
  bottom: 8%;
  display: grid;
  min-width: 180px;
  padding: 20px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: var(--shadow);
  z-index: 1;
}
.hero-card span, .hero-card small { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.hero-card strong { font-size: 54px; line-height: 1; }

.category-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: -46px auto 72px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.category-strip button {
  display: grid;
  gap: 7px;
  min-height: 142px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.category-strip button:last-child { border-right: 0; }
.category-strip button:hover, .category-strip button.is-active { background: var(--orange); }
.category-strip button span { color: var(--muted); font-size: 11px; font-weight: 900; }
.category-strip button strong { font-size: 22px; }
.category-strip button small { color: var(--muted); line-height: 1.35; }
.category-strip button.is-active span, .category-strip button.is-active small { color: #4e2a13; }

.store-shell {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 42px;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 100px;
}
.filters {
  align-self: start;
  position: sticky;
  top: 98px;
  padding: 28px;
  border-top: 5px solid var(--orange);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(21, 25, 29, .08);
}
.filters h2 { margin: 0 0 26px; font-size: 34px; letter-spacing: -.04em; }
.filters label { display: grid; gap: 8px; margin-bottom: 18px; }
.filters label span { color: var(--muted); font-size: 12px; font-weight: 800; }
.filters input, .filters select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #faf9f7;
  padding: 0 12px;
  color: var(--ink);
}
.clear-filters, .optional-toggle, .clear-cart {
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
}
.source-note { margin: 28px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.catalog-head h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); letter-spacing: -.05em; }
.mobile-cart { padding: 13px 18px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: 24px;
  background: linear-gradient(145deg, #fff, #efefed);
}
.product-image img { width: 100%; height: 210px; object-fit: contain; mix-blend-mode: multiply; }
.product-image span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-body { display: grid; align-content: start; gap: 11px; padding: 20px; }
.product-body h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.product-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.price-block { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.price-block div { display: grid; }
.price-block del { color: var(--muted); font-size: 11px; }
.price-block strong { font-size: 23px; letter-spacing: -.04em; }
.price-block small { color: var(--success); font-weight: 800; }
.add-button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
  font-size: 25px;
  font-weight: 900;
}
.add-button:hover { background: var(--ink); color: var(--white); }
.empty-state { grid-column: 1 / -1; padding: 70px 20px; text-align: center; }

.services { padding: 90px clamp(20px, 7vw, 104px); background: var(--ink); color: var(--white); }
.section-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: end; max-width: 1180px; margin: 0 auto 48px; }
.section-intro h2 { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: .94; letter-spacing: -.06em; }
.section-intro > p:last-child { margin: 0; color: #b9bdc0; line-height: 1.65; }
.services-photo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .4fr);
  max-width: 1180px;
  margin: 0 auto 48px;
  overflow: hidden;
  border-radius: 22px;
  background: #0d1012;
}
.services-photo img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center 46%;
}
.services-photo figcaption {
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 34px;
  color: #b9bdc0;
  line-height: 1.55;
}
.services-photo figcaption strong { color: var(--white); font-size: 24px; line-height: 1.1; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: auto; border-top: 1px solid #42474b; }
.service-grid article { padding: 30px 24px 10px 0; border-right: 1px solid #42474b; }
.service-grid article + article { padding-left: 24px; }
.service-grid article:last-child { border-right: 0; }
.service-grid span { color: var(--orange); font-weight: 900; }
.service-grid h3 { margin: 38px 0 12px; font-size: 22px; }
.service-grid p { margin: 0; color: #b9bdc0; line-height: 1.5; }

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .7fr) 1.2fr 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 70px clamp(20px, 7vw, 104px);
  background: var(--orange);
}
.contact-photo {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  object-fit: cover;
  object-position: 34% center;
  box-shadow: 0 24px 48px rgba(89, 38, 8, .25);
}
.contact h2 { max-width: 730px; margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: .95; letter-spacing: -.055em; }
.contact .eyebrow { color: #633116; }
.contact > p { max-width: 500px; margin: 0; line-height: 1.55; }
.contact .button { background: var(--ink); color: var(--white); white-space: nowrap; }

.drawer { position: fixed; z-index: 50; inset: 0; display: none; }
.drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 10, 11, .7); backdrop-filter: blur(4px); }
.drawer-box {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(540px, 100%);
  height: 100%;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .22);
}
.drawer-box > header { display: flex; align-items: start; justify-content: space-between; padding: 28px; border-bottom: 1px solid var(--line); }
.drawer-box h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.close-button { border: 0; background: transparent; cursor: pointer; font-size: 34px; line-height: 1; }
.cart-items { overflow-y: auto; padding: 10px 28px; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 80px; height: 80px; object-fit: contain; }
.cart-item h3 { margin: 0 0 8px; font-size: 14px; line-height: 1.3; }
.cart-item small { color: var(--muted); }
.quantity-row { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.quantity-row button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; }
.quantity-row .remove-item { width: auto; margin-left: 4px; border: 0; color: var(--orange-dark); font-size: 12px; text-decoration: underline; }
.drawer-box > footer { max-height: 58vh; overflow-y: auto; padding: 24px 28px; border-top: 1px solid var(--line); background: #f8f7f4; }
.total-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.total-line strong { font-size: 28px; }
.drawer-box footer > p { color: var(--muted); font-size: 12px; }
.drawer-box form { display: grid; gap: 12px; margin-top: 18px; }
.drawer-box form label { display: grid; gap: 6px; }
.drawer-box form label span { color: var(--muted); font-size: 11px; font-weight: 800; }
.drawer-box form input { width: 100%; height: 45px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; }
.optional-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.optional-toggle { justify-self: start; padding: 0; }
.checkout-button { min-height: 50px; border: 0; border-radius: 7px; background: var(--success); color: var(--white); cursor: pointer; font-weight: 900; }
.checkout-button:disabled { opacity: .5; cursor: not-allowed; }
[data-checkout-result] { display: block; min-height: 20px; margin: 10px 0; color: var(--orange-dark); font-size: 13px; font-weight: 800; }
.clear-cart { padding: 0; }
.cart-empty { padding: 60px 10px; color: var(--muted); text-align: center; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr .75fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(230px, .7fr) 1.3fr; }
  .contact > p, .contact .button { grid-column: 2; }
  .contact-photo { grid-row: span 3; height: 100%; min-height: 320px; }
  .contact .button { justify-self: start; }
}

@media (max-width: 780px) {
  .topbar { min-height: 68px; padding: 10px 16px; }
  .topbar nav a { display: none; }
  .brand strong { font-size: 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 70px 20px 100px; }
  .hero h1 { font-size: clamp(52px, 16vw, 82px); }
  .hero-visual { min-height: 290px; margin-top: 30px; }
  .hero-photo { min-height: 290px; }
  .hero-card { right: 10px; }
  .category-strip { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .category-strip button { min-height: 124px; border-bottom: 1px solid var(--line); }
  .store-shell { grid-template-columns: 1fr; }
  .filters { position: static; }
  .catalog-head { align-items: start; flex-direction: column; }
  .section-intro { grid-template-columns: 1fr; gap: 20px; }
  .services-photo { grid-template-columns: 1fr; }
  .services-photo img { height: 300px; }
  .services-photo figcaption { padding: 24px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(3), .service-grid article:nth-child(4) { border-top: 1px solid #42474b; }
  .contact { grid-template-columns: 1fr; }
  .contact-photo, .contact > p, .contact .button { grid-column: auto; }
  .contact-photo { grid-row: auto; height: 250px; min-height: 0; }
}

@media (max-width: 520px) {
  .cart-trigger { padding: 10px 12px; font-size: 12px; }
  .brand-mark { width: 38px; height: 38px; font-size: 20px; }
  .trust-list { display: grid; gap: 10px; }
  .category-strip { width: calc(100% - 24px); }
  .category-strip button { padding: 16px; }
  .category-strip button strong { font-size: 18px; }
  .store-shell { width: calc(100% - 24px); }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { min-height: 220px; }
  .services { padding-left: 20px; padding-right: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article + article { padding: 24px 0; border-right: 0; border-bottom: 1px solid #42474b; }
  .service-grid article:nth-child(3), .service-grid article:nth-child(4) { border-top: 0; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item img { width: 64px; height: 64px; }
  .cart-item > strong { grid-column: 2; }
  .optional-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
