body {
  font-family: "Alegreya", serif;
  margin: 0;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body.drawer-open {
  overflow: hidden;
}

#overlay {
  backdrop-filter: blur(2px);
}

#drawer {
  background: #fffdf8 !important;
  border-right: 1px solid rgba(130, 118, 42, 0.16);
  box-shadow: 18px 0 45px rgba(31, 41, 55, 0.14) !important;
  padding: 0 !important;
  width: 310px !important;
}

.drawer-head {
  align-items: center;
  border-bottom: 1px solid rgba(130, 118, 42, 0.14);
  display: flex;
  justify-content: space-between;
  padding: 22px 24px 20px;
}

.drawer-head img {
  height: 34px;
  object-fit: contain;
}

.drawer-close {
  align-items: center;
  background: #faf8f1;
  border: 1px solid rgba(130, 118, 42, 0.2);
  border-radius: 999px;
  color: #2f2b1f;
  display: inline-flex;
  font-size: 24px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  transform: rotate(0deg);
  width: 34px;
}

.drawer-close:hover,
.drawer-close:focus {
  background: #82762a;
  color: #fff;
  outline: none;
  transform: rotate(90deg);
}

#drawer.drawer-closing .drawer-close {
  background: #82762a;
  color: #fff;
  transform: rotate(180deg) scale(0.86);
}

#drawer nav {
  padding: 18px 24px 0;
}

#drawer nav a {
  border-bottom: 1px solid rgba(130, 118, 42, 0.13);
  color: #2f2b1f;
  display: flex !important;
  font-size: 17px;
  justify-content: space-between;
  padding: 15px 0;
  transform: translateX(0);
}

#drawer nav a::after {
  color: rgba(130, 118, 42, 0.6);
  content: ">";
  font-family: Arial, sans-serif;
  font-size: 12px;
  margin-top: 3px;
}

#drawer nav a:hover,
#drawer nav a.brand-color,
#drawer nav a.font-medium {
  color: #82762a;
}

#drawer nav a:hover {
  transform: translateX(4px);
}

#drawer::after {
  border-top: 1px solid rgba(130, 118, 42, 0.14);
  bottom: 0;
  color: #5f6671;
  content: "care@cottfab.com";
  font-size: 13px;
  left: 24px;
  line-height: 1.4;
  padding: 18px 0 22px;
  position: absolute;
  right: 24px;
}

a,
button {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.brand-color {
  color: #82762a;
}

.brand-bg {
  background-color: #82762a;
}

.brand-border {
  border-color: #82762a;
}

.nav-link {
  color: #1f2937;
  position: relative;
  padding-bottom: 4px;
}

.nav-link:hover,
.nav-link.active {
  color: #82762a;
}

.nav-link::after {
  background: #82762a;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
  width: 100%;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

header {
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 9;
}

footer {
  background-color: #fcfcfc !important;
}

footer.bg-gray-100 {
  background-color: #fcfcfc !important;
}

.hamburger {
  align-items: center;
  background: transparent;
  border: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.hamburger span {
  background: #1f2937;
  display: block;
  height: 1.5px;
  width: 18px;
}

.page-band {
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(90deg, #f5f3e8 0, #f5f3e8 14px, #eeead8 14px, #eeead8 28px);
}

.content-card {
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.content-card:hover {
  box-shadow: 0 24px 60px rgba(31, 41, 55, 0.13);
  transform: translateY(-2px);
}

.brand-bg:hover {
  background-color: #6f6322;
  box-shadow: 0 14px 30px rgba(130, 118, 42, 0.26);
  transform: translateY(-1px);
}

.brand-border:hover {
  background-color: rgba(130, 118, 42, 0.08);
}

.image-lift {
  overflow: hidden;
}

.image-lift img {
  transition: transform 700ms ease, filter 700ms ease;
}

.image-lift:hover img {
  filter: saturate(1.05);
  transform: scale(1.035);
}

.eyebrow {
  letter-spacing: 0;
}

.premium-stat {
  border-top: 1px solid rgba(130, 118, 42, 0.28);
}

.home-slideshow {
  background: #fff;
  margin: 0 auto;
  min-height: 0;
  padding: 0 20px 28px;
  position: relative;
}

.slides-viewport {
  aspect-ratio: 2048 / 860;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slides {
  display: flex;
  height: 100%;
  transform: translateX(0);
  transition: transform 620ms cubic-bezier(0.76, 0, 0.24, 1);
  width: 100%;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
}

.slide picture,
.slide img {
  display: block;
  height: 100%;
  width: 100%;
}

.slide img {
  object-fit: cover;
}

.slide-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  font-family: Georgia, serif;
  font-size: 44px;
  height: 64px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  top: calc(50% - 14px);
  transform: translateY(-50%);
  width: 46px;
  z-index: 2;
}

.slide-arrow:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.slide-prev {
  left: 38px;
}

.slide-next {
  right: 38px;
}

.slide-dots {
  align-items: center;
  bottom: 46px;
  display: flex;
  gap: 10px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.slide-dots button {
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-radius: 999px;
  height: 8px;
  opacity: 0.9;
  padding: 0;
  width: 8px;
}

.slide-dots button.active {
  background: #111;
  opacity: 1;
}

.section-intro {
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
}

.section-intro h1,
.section-intro h2 {
  font-size: 32px;
  line-height: 1.18;
}

.section-kicker {
  color: #82762a;
  font-size: 16px;
  line-height: 1.55;
  margin-top: 12px;
}

.section-body {
  color: #5f6671;
  font-size: 15px;
  line-height: 1.75;
  margin-top: 12px;
}

.product-list {
  border-bottom: 1px solid rgba(130, 118, 42, 0.18);
  border-top: 1px solid rgba(130, 118, 42, 0.18);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.product-list a {
  align-items: center;
  border-bottom: 1px solid rgba(130, 118, 42, 0.14);
  color: #2f2b1f;
  display: flex;
  font-size: 18px;
  justify-content: center;
  min-height: 66px;
  padding: 16px;
  text-align: center;
}

.product-list a:hover {
  background: #faf8f1;
  color: #82762a;
}

.timeline-section {
  background: #fff;
}

.home-journey-section {
  margin-top: -10px;
}

.journey-ledger {
  background: #fff;
  border: 1px solid rgba(130, 118, 42, 0.16);
  margin: 38px auto 0;
  max-width: 880px;
}

.journey-row {
  display: grid;
  gap: 26px;
  grid-template-columns: 120px 1fr;
  padding: 28px 34px;
}

.journey-row + .journey-row {
  border-top: 1px solid rgba(130, 118, 42, 0.14);
}

.journey-row span {
  color: #82762a;
  font-size: 24px;
  line-height: 1;
}

.journey-row h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.journey-row p {
  color: #5f6671;
  font-size: 15px;
  line-height: 1.65;
}

.editorial-main {
  background: #fff;
}

.editorial-main.soft {
  background: #fbfaf5;
}

.editorial-wrap {
  margin: 0 auto;
  max-width: 1120px;
  padding: 48px 24px 56px;
}

.editorial-grid {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.editorial-title {
  font-size: 32px;
  line-height: 1.18;
}

.editorial-subheading {
  color: #82762a;
  font-size: 16px;
  line-height: 1.55;
  margin-top: 12px;
}

.editorial-body {
  color: #5f6671;
  font-size: 15px;
  line-height: 1.75;
  margin-top: 12px;
}

.editorial-panel {
  background: #fff;
  border: 1px solid rgba(130, 118, 42, 0.16);
  border-radius: 8px;
  padding: 28px;
}

.editorial-panel h2,
.editorial-panel h3 {
  font-size: 22px;
  line-height: 1.25;
}

.editorial-stack {
  display: grid;
  gap: 22px;
}

.editorial-media {
  border-radius: 8px;
  overflow: hidden;
}

.editorial-link {
  border-bottom: 1px solid rgba(130, 118, 42, 0.35);
  color: #82762a;
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 4px;
}

.blog-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.blog-card {
  border: 1px solid rgba(130, 118, 42, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.blog-card a {
  background: #fff;
  display: block;
  height: 100%;
}

.blog-card img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.blog-card span {
  color: #82762a;
  display: inline-block;
  font-size: 13px;
  margin: 20px 22px 0;
}

.blog-card h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 8px 22px 10px;
}

.blog-card p {
  color: #5f6671;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 22px 24px;
}

.blog-article {
  margin: 0 auto;
  max-width: 820px;
  padding: 48px 24px 64px;
}

.blog-back {
  border-bottom: 1px solid rgba(130, 118, 42, 0.35);
  color: #82762a;
  display: inline-block;
  font-size: 14px;
  margin-bottom: 28px;
  padding-bottom: 4px;
}

.blog-article h1 {
  font-size: 34px;
  line-height: 1.18;
}

.blog-dek {
  color: #82762a;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 14px;
}

.blog-cover {
  margin: 34px 0;
}

.blog-cover img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.blog-article h2 {
  font-size: 24px;
  line-height: 1.25;
  margin-top: 34px;
}

.blog-article p {
  color: #333a45;
  font-size: 17px;
  line-height: 1.85;
  margin-top: 18px;
}

.blog-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0;
}

.blog-gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

main > section {
  animation: fade-up 700ms ease both;
}

main > section:nth-child(2) {
  animation-delay: 90ms;
}

main > section:nth-child(3) {
  animation-delay: 160ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 767px) {
  .home-slideshow {
    padding: 0 12px 22px;
  }

  .slides {
    height: 100%;
  }

  .slides-viewport {
    aspect-ratio: 768 / 1152;
    border-radius: 14px;
  }

  .slide-arrow {
    font-size: 36px;
    top: calc(50% - 11px);
    width: 34px;
  }

  .slide-prev {
    left: 18px;
  }

  .slide-next {
    right: 18px;
  }

  .slide-dots {
    bottom: 34px;
    gap: 8px;
  }

  .slide-dots button {
    height: 7px;
    width: 7px;
  }

  .section-intro {
    text-align: left;
  }

  .section-intro h1,
  .section-intro h2 {
    font-size: 28px;
  }

  .product-list {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .product-list a {
    justify-content: flex-start;
    min-height: 54px;
    padding: 14px 0;
    text-align: left;
  }

  .journey-ledger {
    margin-top: 30px;
  }

  .journey-row {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .journey-row span {
    font-size: 22px;
  }

  .editorial-wrap {
    padding: 40px 24px 48px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-title {
    font-size: 28px;
  }

  .editorial-panel {
    padding: 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article h1 {
    font-size: 28px;
  }

  .blog-article p {
    font-size: 16px;
  }

  .blog-gallery {
    grid-template-columns: 1fr;
  }
}
