:root {
  --walnut: #3b2416;
  --walnut-deep: #2a1810;
  --charcoal: #1c1917;
  --ink: #292524;
  --stone: #57534e;
  --linen: #ede6dc;
  --linen-soft: #f5f1ea;
  --paper: #faf8f5;
  --brass: #b08d57;
  --brass-hot: #c9a66b;
  --line: rgba(59, 36, 22, 0.12);
  --shadow: 0 18px 40px rgba(28, 25, 23, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(176, 141, 87, 0.12), transparent 60%),
    linear-gradient(180deg, #f3efe8 0%, var(--paper) 28%, #f7f4ef 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--walnut);
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--charcoal);
  color: #fff;
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(28, 25, 23, 0.08);
  background: rgba(250, 248, 245, 0.97);
}

.site-header.is-scrolled .brand__mark,
.site-header.is-scrolled .brand__name {
  font-size: 0.95em;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--charcoal);
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  transition: font-size 0.3s var(--ease);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--brass);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: font-size 0.3s var(--ease);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--stone);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--walnut);
}

.nav-phone {
  color: var(--brass) !important;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 4px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.header-tools {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(59, 36, 22, 0.04), transparent 40%, rgba(176, 141, 87, 0.08));
}

.header-tools__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.65rem 0;
}

.cat-toggle {
  border: 1px solid var(--line);
  background: var(--walnut);
  color: #fff;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.cat-toggle:hover,
.cat-toggle[aria-expanded="true"] {
  background: var(--walnut-deep);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr auto;
  gap: 0.4rem;
  min-width: 0;
}

.search-form select,
.search-form input {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  min-width: 0;
}

.search-form button {
  border: 0;
  background: var(--charcoal);
  color: #fff;
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.search-form button:hover {
  background: var(--walnut);
}

.header-hotline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--stone);
  white-space: nowrap;
}

.header-hotline span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 0.35rem;
}

.header-hotline a {
  font-weight: 700;
  color: var(--walnut);
}

.cat-drawer {
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: #e7e5e4;
  padding: 1.25rem 0 1.5rem;
}

.cat-drawer[hidden] {
  display: none;
}

.cat-drawer h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brass-hot);
}

.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.35rem 1rem;
}

.cat-list a {
  color: #d6d3d1;
  font-size: 0.95rem;
}

.cat-list a:hover {
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fafaf9;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(28, 25, 23, 0.88) 0%, rgba(28, 25, 23, 0.55) 48%, rgba(59, 36, 22, 0.35) 100%),
    linear-gradient(0deg, rgba(28, 25, 23, 0.72) 0%, transparent 45%);
}

.hero__content {
  padding: clamp(4rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2rem, 40rem);
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  animation: rise 0.9s var(--ease) both;
}

.hero__title {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(250, 250, 249, 0.9);
  max-width: 28ch;
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero__lead {
  margin: 0 0 1.6rem;
  color: rgba(231, 229, 228, 0.88);
  max-width: 38ch;
  animation: rise 0.9s 0.22s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.32s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn--primary {
  background: var(--brass);
  color: var(--charcoal);
}

.btn--primary:hover {
  background: var(--brass-hot);
  color: var(--charcoal);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Category strip */
.category-strip {
  padding: 2.5rem 0 1rem;
}

.cat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cat-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
  color: #fff;
}

.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  opacity: 0.85;
}

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(28, 25, 23, 0.82));
}

.cat-tile span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.cat-tile:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.cat-tile:hover {
  color: #fff;
}

/* Catalog sections */
.catalog-section {
  padding: 2.75rem 0 1.5rem;
}

.catalog-section:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(59, 36, 22, 0.035), transparent 40%),
    rgba(237, 230, 220, 0.45);
}

.section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head h2 a {
  color: var(--charcoal);
  position: relative;
  display: inline-block;
}

.section-head h2 a::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.65rem auto 0;
  background: var(--brass);
}

.section-head h2 a:hover {
  color: var(--walnut);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem 0.85rem;
}

.product-tile {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.35s var(--ease);
}

.product-tile:hover {
  border-color: var(--line);
  background: #fff;
  transform: translateY(-4px);
  color: var(--ink);
}

.product-tile__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 210 / 275;
  background: #e7e5e4;
}

.product-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.product-tile:hover .product-tile__media img {
  transform: scale(1.06);
}

.product-tile__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem;
  text-align: center;
  background: rgba(28, 25, 23, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}

.product-tile:hover .product-tile__cta,
.product-tile:focus-visible .product-tile__cta {
  transform: translateY(0);
}

.product-tile__meta {
  padding: 0.75rem 0.55rem 0.9rem;
  text-align: center;
}

.product-tile__name {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  min-height: 2.5em;
}

.product-tile__price {
  display: block;
  margin-top: 0.35rem;
  color: var(--brass);
  font-size: 0.85rem;
  font-weight: 700;
}

.section-blurb {
  margin: 1.75rem auto 0;
  max-width: 52rem;
  text-align: center;
  color: var(--stone);
  font-size: 0.98rem;
}

/* News */
.news-section {
  padding: 3rem 0 4rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.news-card__media {
  overflow: hidden;
  aspect-ratio: 360 / 250;
  background: var(--charcoal);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.news-card__date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.35rem;
}

.news-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
}

.news-card p {
  margin: 0;
  color: var(--stone);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background:
    linear-gradient(160deg, #1c1917 0%, #2a1810 55%, #1c1917 100%);
  color: #d6d3d1;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2.5rem;
}

.site-footer h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brass-hot);
  font-weight: 600;
  text-transform: lowercase;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: #e7e5e4;
}

.site-footer a:hover {
  color: var(--brass-hot);
}

.footer-fanpage {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list li {
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-list strong {
  color: #fff;
}

.copy-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.88rem;
}

.copy-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.copy-bar p {
  margin: 0;
}

/* Float CTAs */
.float-call,
.float-msg {
  position: fixed;
  z-index: 40;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.float-call {
  bottom: 5.5rem;
  background: var(--walnut);
  color: #fff;
  min-width: 3.4rem;
  height: 3.4rem;
  padding: 0 1rem;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.float-call:hover {
  color: #fff;
  background: var(--walnut-deep);
}

.float-call__pulse {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: pulse 1.8s infinite;
}

.float-msg {
  bottom: 1.4rem;
  width: 3.4rem;
  height: 3.4rem;
  background: #1877f2;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.float-msg:hover {
  color: #fff;
  filter: brightness(1.08);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.1) translate(-1.5%, -1%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__brand,
  .hero__title,
  .hero__lead,
  .hero__actions,
  .hero__media img,
  .float-call__pulse {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .cat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .header-tools__inner {
    grid-template-columns: auto 1fr;
  }

  .header-hotline {
    display: none;
  }

  .search-form {
    grid-template-columns: minmax(6rem, 9rem) 1fr auto;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .header-tools__inner {
    grid-template-columns: 1fr;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    min-height: min(88vh, 680px);
  }

  .float-call__label {
    display: none;
  }

  .float-call {
    padding: 0;
    width: 3.4rem;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-tile__cta {
    transform: none;
    background: rgba(28, 25, 23, 0.72);
    font-size: 0.7rem;
    padding: 0.45rem;
  }
}
