:root {
  --home-ink: #201815;
  --home-ink-soft: #5f5045;
  --home-line: rgba(95, 80, 69, 0.14);
  --home-line-strong: rgba(95, 80, 69, 0.22);
  --home-surface: rgba(255, 255, 255, 0.78);
  --home-surface-strong: rgba(255, 255, 255, 0.92);
  --home-hero-shadow: 0 24px 80px rgba(19, 14, 10, 0.2);
}

body {
  background:
    radial-gradient(circle at top, rgba(217, 123, 61, 0.08), transparent 30%),
    linear-gradient(180deg, #faf7f2 0%, #f6f1e8 44%, #faf7f2 100%);
}

.home-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.home-section {
  position: relative;
  padding: 112px 0;
}

.home-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.home-section-copy {
  max-width: 460px;
  color: var(--home-ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.home-eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.home-title {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

.home-subtitle {
  margin: 18px 0 0;
  color: var(--home-ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: 920px;
  overflow: hidden;
  background: #1f1814;
}

.home-hero .swiper-wrapper,
.home-hero .swiper-slide {
  width: 100%;
  height: 100%;
}

.home-hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  filter: saturate(0.85) contrast(0.92);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(31, 24, 20, 0) 0%, rgba(31, 24, 20, 0.78) 100%);
}


.home-hero .swiper-pagination {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.home-hero .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.28);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  opacity: 1;
  margin: 0 !important;
}

.home-hero .swiper-pagination-bullet:hover {
  background: rgba(250, 247, 242, 0.5);
}

.home-hero .swiper-pagination-bullet-active {
  background: rgba(250, 247, 242, 0.85);
  transform: scale(1.25);
}

.home-hero .swiper-button-prev,
.home-hero .swiper-button-next {
  position: absolute;
  top: 50%;
  width: 44px !important;
  height: 44px !important;
  margin-top: -22px !important;
  color: rgba(250, 247, 242, 0.9) !important;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 999;
}

.home-hero .swiper-button-prev:hover,
.home-hero .swiper-button-next:hover {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.5);
}

.home-hero .swiper-button-prev::after,
.home-hero .swiper-button-next::after {
  font-size: 18px !important;
  font-weight: bold;
}

.home-hero .swiper-button-prev {
  left: 24px !important;
}

.home-hero .swiper-button-next {
  right: 24px !important;
}


.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.home-btn:hover {
  transform: translateY(-2px);
}

.home-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(217, 123, 61, 0.9) 0%, rgba(180, 95, 40, 0.95) 100%);
  box-shadow: 0 12px 40px rgba(180, 95, 40, 0.35);
  backdrop-filter: blur(10px);
}

.home-btn--primary:hover {
  color: #fff;
}



.home-featured {
  margin-top: -52px;
  z-index: 2;
}

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

.home-product-card {
  grid-column: span 4;
}

.home-product-card:nth-child(-n+2) {
  grid-column: span 6;
}

.home-product-card a {
  display: block;
  height: 100%;
  padding: 14px;
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  box-shadow: 0 20px 42px rgba(39, 29, 23, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.home-product-card a:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 123, 61, 0.26);
  box-shadow: 0 26px 56px rgba(39, 29, 23, 0.12);
}

.home-product-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.home-product-card:nth-child(-n+2) .home-product-media {
  aspect-ratio: 16 / 10;
}

.home-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-product-card:hover .home-product-media img {
  transform: scale(1.04);
}

.home-product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  border-radius: 999px;
  background: rgba(32, 24, 21, 0.62);
  backdrop-filter: blur(10px);
}

.home-product-badge.is-new {
  background: rgba(184, 98, 46, 0.84);
}

.home-product-body {
  padding: 18px 6px 4px;
}

.home-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--home-ink-soft);
  font-size: 13px;
}

.home-product-name {
  margin: 12px 0 0;
  color: var(--home-ink);
  font-size: 22px;
  line-height: 1.45;
}

.home-product-note {
  margin: 10px 0 0;
  color: var(--home-ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.home-product-price {
  color: var(--color-primary-dark);
  font-size: 18px;
  font-weight: 600;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.home-link:hover {
  color: var(--color-primary-dark);
}

.home-story {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.3)),
    radial-gradient(circle at right top, rgba(217, 123, 61, 0.08), transparent 26%);
}

.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.home-story-figure {
  position: relative;
  margin: 0;
}

.home-story-figure::after {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid rgba(217, 123, 61, 0.3);
  z-index: -1;
}

.home-story-figure img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  box-shadow: 0 30px 64px rgba(39, 29, 23, 0.12);
}

.home-story-lead {
  margin: 24px 0 0;
  color: var(--home-ink);
  font-size: 18px;
  line-height: 1.9;
}

.home-story-desc {
  margin: 22px 0 0;
  color: var(--home-ink-soft);
  font-size: 15px;
  line-height: 2;
}

.home-story-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.home-story-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
}

.home-story-list strong {
  color: var(--color-primary-dark);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-story-list span {
  color: var(--home-ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.home-story-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.home-story-stat {
  min-width: 132px;
  padding: 18px 18px 16px;
  background: var(--home-surface-strong);
  border: 1px solid var(--home-line);
}

.home-story-stat .metric-value {
  display: block;
  color: var(--home-ink);
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
}

.home-story-stat .metric-label {
  display: block;
  margin-top: 10px;
  color: var(--home-ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.home-flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-flavor-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 243, 235, 0.72) 100%);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.home-flavor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(39, 29, 23, 0.08);
  border-color: rgba(217, 123, 61, 0.24);
}

.home-flavor-mark {
  color: var(--color-primary-dark);
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 1;
}

.home-flavor-card h3 {
  margin: 22px 0 0;
  color: var(--home-ink);
  font-size: 24px;
}

.home-flavor-card p {
  margin: 14px 0 0;
  color: var(--home-ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.home-flavor-card span {
  display: inline-block;
  margin-top: 20px;
  color: var(--color-primary-dark);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-promise {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(35, 27, 22, 0.97) 0%, rgba(35, 27, 22, 0.92) 100%),
    radial-gradient(circle at top left, rgba(217, 123, 61, 0.18), transparent 32%);
}

.home-promise .home-title,
.home-promise .home-subtitle,
.home-promise .home-section-copy {
  color: #faf7f2;
}

.home-promise .home-eyebrow {
  color: rgba(250, 247, 242, 0.8);
}

.home-promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-promise-card {
  min-height: 260px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.home-promise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 123, 61, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.home-promise-no {
  color: rgba(250, 247, 242, 0.4);
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
}

.home-promise-card h3 {
  margin: 28px 0 0;
  color: #faf7f2;
  font-size: 22px;
}

.home-promise-card p {
  margin: 14px 0 0;
  color: rgba(250, 247, 242, 0.72);
  font-size: 14px;
  line-height: 1.9;
}

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

.home-knowledge-card {
  grid-column: span 4;
  overflow: hidden;
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  box-shadow: 0 18px 40px rgba(39, 29, 23, 0.06);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.home-knowledge-card:first-child {
  grid-column: span 6;
}

.home-knowledge-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 123, 61, 0.24);
  box-shadow: 0 24px 52px rgba(39, 29, 23, 0.1);
}

.home-knowledge-card a {
  display: block;
  height: 100%;
}

.home-knowledge-figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.home-knowledge-card:first-child .home-knowledge-figure {
  aspect-ratio: 16 / 10;
}

.home-knowledge-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-knowledge-card:hover .home-knowledge-figure img {
  transform: scale(1.04);
}

.home-knowledge-body {
  padding: 22px 22px 24px;
}

.home-knowledge-date {
  display: block;
  color: var(--color-primary-dark);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-knowledge-title {
  margin: 12px 0 0;
  color: var(--home-ink);
  font-size: 20px;
  line-height: 1.55;
}

.home-knowledge-excerpt {
  margin: 12px 0 0;
  color: var(--home-ink-soft);
  font-size: 14px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"] {
  transform: translateY(32px);
}

[data-animate="fade-left"] {
  transform: translateX(32px);
}

[data-animate="fade-right"] {
  transform: translateX(-32px);
}

[data-animate].animated,
[data-animate="count-up"] {
  opacity: 1;
}

[data-animate].animated {
  transform: none;
}

@media (max-width: 1199px) {
  .home-featured-grid,
  .home-knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-card,
  .home-product-card:nth-child(-n+2),
  .home-knowledge-card,
  .home-knowledge-card:first-child {
    grid-column: span 1;
  }

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

@media (max-width: 991px) {
  .home-shell {
    width: min(100%, calc(100% - 40px));
  }

  .home-section {
    padding: 88px 0;
  }

  .home-hero {
    min-height: auto;
    padding-top: 88px;
  }

  .home-story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-story-figure img {
    min-height: 480px;
  }
}

@media (max-width: 767px) {
  .home-shell {
    width: calc(100% - 32px);
  }

  .home-section {
    padding: 72px 0;
  }

  .home-hero {
    padding-top: 88px;
    z-index: 0;
  }

  .home-hero .swiper-wrapper,
  .home-hero .swiper-slide,
  .home-hero .swiper-slide img {
    z-index: 0;
  }

  .home-hero .swiper-slide img {
    object-fit: contain;
    transform: scale(1);
  }

  .home-subtitle,
  .home-section-copy,
  .home-story-desc {
    font-size: 14px;
  }

  .home-btn {
    width: 100%;
  }
  .home-flavor-grid,
  .home-promise-grid,
  .home-featured-grid,
  .home-knowledge-grid {
    grid-template-columns: 1fr;
  }

  .home-story-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-story-stats {
    gap: 12px;
  }

  .home-story-stat {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .home-story-figure::after {
    inset: 14px -12px -12px 12px;
  }

  .home-story-figure img {
    min-height: 320px;
  }

  .home-product-card a,
  .home-promise-card,
  .home-flavor-card,
  .home-knowledge-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-product-media,
  .home-product-card:nth-child(-n+2) .home-product-media,
  .home-knowledge-figure,
  .home-knowledge-card:first-child .home-knowledge-figure {
    aspect-ratio: 16 / 12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-btn,
  .home-product-card a,
  .home-flavor-card,
  .home-promise-card,
  .home-knowledge-card,
  .home-product-media img,
  .home-knowledge-figure img {
    transition: none !important;
  }
}
