/* Homepage redesign: compact editorial commerce layout. Product pages keep using styles.css. */
.home-page {
  --max: 1500px;
  --gutter: clamp(22px, 2.7vw, 42px);
  --home-soft: #f3f3f1;
  --home-line: #d8d8d4;
  --home-orange: #f55b22;
  --home-ink: #171717;
}

.home-page svg {
  display: block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-header {
  height: 86px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}
.home-header.is-scrolled { height: 72px; }
.home-header .header-inner { grid-template-columns: 1fr auto 1fr; }
.home-wordmark {
  font: 600 clamp(28px, 2.4vw, 38px)/1 var(--sans);
  letter-spacing: -.06em;
}
.home-header .site-nav { gap: clamp(26px, 3vw, 50px); }
.home-header .site-nav a { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.home-header .header-cta {
  min-height: 48px;
  gap: 24px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 14px;
}
.home-header .header-cta svg { width: 17px; height: 17px; }

.home-hero {
  min-height: max(610px, calc(100svh - 112px));
  display: grid;
  align-items: center;
  padding-top: 86px;
  overflow: hidden;
  background: #fff;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(600px, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 5vw, 92px);
  padding-top: clamp(40px, 5vw, 76px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.home-hero-copy { position: relative; z-index: 2; }
.home-hero-copy h1 {
  max-width: 700px;
  margin: 0;
  font: 600 clamp(54px, 4.45vw, 72px)/1.2 var(--jp);
  letter-spacing: -.065em;
}
.home-hero-copy h1 span { white-space: nowrap; }
.home-hero-copy p {
  max-width: 570px;
  margin: 30px 0 0;
  color: #3f3f3b;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.9;
}
.home-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  min-width: 255px;
  min-height: 64px;
  margin-top: 36px;
  padding: 0 28px;
  color: #fff;
  background: var(--home-orange);
  border: 1px solid var(--home-orange);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.home-primary-button:hover,
.home-primary-button:focus-visible {
  color: var(--home-orange);
  background: #fff;
  transform: translateY(-2px);
}
.home-primary-button svg { width: 19px; height: 19px; }

.home-hero-visual {
  position: relative;
  min-width: 0;
  height: clamp(470px, 40vw, 640px);
  isolation: isolate;
}
.home-hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14% 2% 4% 17%;
  background: #f7f7f5;
  border-radius: 48% 52% 47% 53% / 54% 45% 55% 46%;
}
.hero-product {
  position: absolute;
  margin: 0;
}
.hero-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.hero-product:hover img { transform: translateY(-7px) scale(1.02); }
.hero-product-main { z-index: 2; width: 48%; height: 72%; right: 1%; top: 11%; }
.hero-product-top { z-index: 1; width: 33%; height: 30%; left: 9%; top: 7%; transform: rotate(-4deg); }
.hero-product-bottom { z-index: 1; width: 50%; height: 46%; left: 1%; bottom: 0; transform: rotate(2deg); }

.category-rail {
  scroll-margin-top: 80px;
  background: #fff;
  border-block: 1px solid var(--home-line);
}
.category-rail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.category-rail a {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 28px);
  padding: 18px;
  border-right: 1px solid var(--home-line);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease;
}
.category-rail a:first-child { border-left: 1px solid var(--home-line); }
.category-rail a:hover,
.category-rail a:focus-visible { color: var(--home-orange); background: #fcfcfb; }
.category-rail svg { width: 30px; height: 30px; stroke-width: 1.4; }

.featured-section {
  scroll-margin-top: 72px;
  padding: clamp(84px, 7vw, 116px) 0 clamp(100px, 8vw, 138px);
}
.home-section-heading,
.collection-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}
.home-section-heading h2,
.collection-heading h2,
.home-faq-heading h2 {
  margin: 0;
  font: 600 clamp(32px, 3vw, 46px)/1.2 var(--jp);
  letter-spacing: -.055em;
}
.home-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--home-ink);
  font-size: 13px;
  font-weight: 600;
}
.home-section-heading > a:hover { color: var(--home-orange); border-color: var(--home-orange); }
.home-section-heading > a svg { width: 16px; height: 16px; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
}
.featured-card { min-width: 0; }
.featured-card > a { display: block; }
.featured-media {
  aspect-ratio: 1.18 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(24px, 3vw, 46px);
  background: var(--home-soft);
}
.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.featured-card a:hover .featured-media img { transform: scale(1.045); }
.featured-copy { padding-top: 20px; }
.featured-copy > p {
  margin: 0 0 9px;
  color: #5c5c57;
  font: 500 11px/1 var(--sans);
  letter-spacing: .08em;
}
.featured-copy h3 {
  min-height: 3.05em;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font: 600 clamp(15px, 1.15vw, 18px)/1.52 var(--jp);
  letter-spacing: -.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.featured-copy > span,
.collection-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  color: var(--home-orange);
  font-size: 12px;
  font-weight: 600;
}
.featured-copy > span svg,
.collection-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.featured-card a:hover .featured-copy > span svg,
.collection-card a:hover .collection-link svg { transform: translateX(4px); }

.collection-section {
  scroll-margin-top: 72px;
  padding: clamp(84px, 7vw, 112px) 0 clamp(96px, 8vw, 132px);
  background: var(--home-soft);
}
.collection-heading { align-items: flex-end; margin-bottom: 34px; }
.collection-heading > div:first-child p {
  margin: 12px 0 0;
  color: #676762;
  font-size: 13px;
}
.collection-filters {
  display: flex;
  align-items: center;
  gap: 28px;
}
.collection-filters button {
  position: relative;
  padding: 9px 0;
  border: 0;
  background: transparent;
  color: #575752;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.collection-filters button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: transparent;
}
.collection-filters button:hover,
.collection-filters button.is-active { color: var(--home-orange); }
.collection-filters button.is-active::after { background: var(--home-orange); }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--home-line);
}
.collection-card {
  min-width: 0;
  background: var(--home-soft);
}
.collection-card[hidden] { display: none !important; }
.collection-grid:not(.is-expanded):not(.is-filtering) .collection-card.is-extra { display: none; }
.collection-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.collection-media {
  aspect-ratio: 1.18 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(16px, 1.9vw, 30px);
  background: #fff;
}
.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.collection-card a:hover .collection-media img { transform: scale(1.045); }
.collection-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 18px;
}
.collection-copy > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  color: #686863;
  font: 500 10px/1 var(--sans);
  letter-spacing: .04em;
}
.collection-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font: 600 14px/1.55 var(--jp);
  letter-spacing: -.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.collection-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 10px;
}
.collection-actions { display: flex; justify-content: center; margin-top: 34px; }
.collection-toggle {
  min-width: 260px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  border: 1px solid var(--home-orange);
  border-radius: 0;
  color: var(--home-orange);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.collection-toggle:hover { color: #fff; background: var(--home-orange); }
.collection-toggle svg { width: 17px; height: 17px; transition: transform .25s ease; }
.collection-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.collection-grid.is-filtering + .collection-actions { display: none; }

.brand-band {
  scroll-margin-top: 72px;
  padding: clamp(108px, 9vw, 150px) 0;
  color: #fff;
  background: var(--home-ink);
}
.brand-band-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: clamp(70px, 9vw, 150px);
}
.brand-band h2 {
  margin: 0;
  font: 500 clamp(50px, 5.5vw, 82px)/1.22 var(--jp);
  letter-spacing: -.065em;
}
.brand-values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
}
.brand-values li {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 30px 8px;
  border-left: 1px solid #696963;
}
.brand-values span {
  color: var(--home-orange);
  font: 600 10px/1 var(--sans);
  letter-spacing: .1em;
}
.brand-values p {
  margin: 0;
  color: #d2d2cd;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.6;
}

.home-faq { scroll-margin-top: 72px; padding: clamp(92px, 8vw, 126px) 0; }
.home-faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(70px, 10vw, 160px);
}
.home-faq-heading p {
  max-width: 390px;
  margin: 24px 0 0;
  color: #777771;
  font-size: 13px;
  line-height: 1.9;
}
.home-page .home-faq .faq-list { border-top-color: var(--home-line); }
.home-page .home-faq .faq-question { padding: 27px 4px; font-size: 15px; }
.home-page .home-faq .faq-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border: 0;
  border-radius: 0;
}
.home-page .home-faq .faq-icon::before,
.home-page .home-faq .faq-icon::after {
  top: 12px;
  width: 9px;
  height: 1px;
  background: var(--home-ink);
}
.home-page .home-faq .faq-icon::before { left: 4px; right: auto; transform: rotate(40deg); }
.home-page .home-faq .faq-icon::after { left: 11px; right: auto; transform: rotate(-40deg); }
.home-page .home-faq .faq-item.is-open .faq-icon::before { transform: rotate(-40deg); }
.home-page .home-faq .faq-item.is-open .faq-icon::after { transform: rotate(40deg); }

.home-footer { background: var(--home-ink); }
.home-footer-main {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.home-footer-brand {
  width: fit-content;
  color: #fff;
  font: 600 32px/1 var(--sans);
  letter-spacing: -.06em;
}
.home-footer nav { display: flex; align-items: center; gap: 48px; }
.home-footer nav a { color: #deded8; font-size: 13px; }
.home-footer nav a:hover { color: var(--home-orange); }
.home-footer p {
  justify-self: end;
  margin: 0;
  color: #a3a39d;
  font: 400 11px/1 var(--sans);
  letter-spacing: .04em;
}

@media (max-width: 1180px) {
  .home-hero-grid { grid-template-columns: minmax(540px, .95fr) minmax(0, 1.05fr); gap: 30px; }
  .home-hero-copy h1 { font-size: clamp(50px, 5.2vw, 62px); }
  .featured-grid { gap: 20px; }
  .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .collection-grid:not(.is-expanded):not(.is-filtering) .collection-card[data-index="9"],
  .collection-grid:not(.is-expanded):not(.is-filtering) .collection-card[data-index="10"] { display: none; }
  .brand-band-grid { gap: 60px; }
}

@media (max-width: 900px) {
  .home-header .site-nav { gap: 22px; }
  .home-hero { min-height: auto; }
  .home-hero-grid { grid-template-columns: 1fr; padding-top: 118px; }
  .home-hero-copy { max-width: 680px; }
  .home-hero-visual { height: 520px; }
  .category-rail-grid { grid-template-columns: repeat(2, 1fr); }
  .category-rail a { min-height: 92px; border-bottom: 1px solid var(--home-line); }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 52px; }
  .collection-heading { align-items: flex-start; flex-direction: column; }
  .collection-filters { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-band-grid { grid-template-columns: 1fr; }
  .home-faq-grid { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 780px) {
  .home-header,
  .home-header.is-scrolled { height: 66px; }
  .home-header .header-inner { grid-template-columns: 1fr auto; }
  .home-wordmark { font-size: 29px; }
  .home-header .site-nav { gap: 26px; }
  .home-header .site-nav a { font-size: 27px; }
  .home-hero { padding-top: 0; }
  .home-hero-grid { padding-top: 112px; padding-bottom: 48px; }
  .home-hero-copy h1 { font-size: clamp(40px, 11.5vw, 58px); line-height: 1.22; }
  .home-hero-copy p { margin-top: 22px; font-size: 15px; }
  .home-primary-button { min-width: 220px; min-height: 58px; margin-top: 28px; }
  .home-hero-visual { height: 430px; margin-top: 10px; }
  .hero-product-main { width: 50%; right: 0; }
  .hero-product-top { width: 34%; left: 8%; }
  .hero-product-bottom { width: 53%; }
  .home-section-heading h2,
  .collection-heading h2,
  .home-faq-heading h2 { font-size: 32px; }
  .featured-section { padding-block: 75px 92px; overflow: hidden; }
  .featured-grid {
    width: calc(100% + var(--gutter));
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 0 var(--gutter) 14px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .featured-grid::-webkit-scrollbar { display: none; }
  .featured-card { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }
  .collection-section { padding-block: 78px 90px; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid:not(.is-expanded):not(.is-filtering) .collection-card.is-condensed-extra,
  .collection-grid:not(.is-expanded):not(.is-filtering) .collection-card.is-extra { display: none; }
  .collection-media { aspect-ratio: 1 / 1; padding: 14px; }
  .collection-copy { min-height: 158px; padding: 14px; }
  .collection-copy h3 { font-size: 12px; line-height: 1.55; }
  .collection-link { gap: 8px; font-size: 9px; }
  .brand-band { padding-block: 88px; }
  .brand-band h2 { font-size: 47px; }
  .brand-values { grid-template-columns: 1fr; }
  .brand-values li {
    min-height: 0;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid #555550;
  }
  .brand-values p { font-size: 15px; }
  .home-faq { padding-block: 78px; }
  .home-footer-main {
    min-height: 190px;
    grid-template-columns: 1fr auto;
    align-content: center;
  }
  .home-footer nav { grid-column: 1 / -1; grid-row: 2; gap: 28px; }
  .home-footer p { grid-column: 2; grid-row: 1; }
}

@media (max-width: 520px) {
  .home-hero-copy h1 span { white-space: normal; }
  .home-hero-visual { height: 350px; }
  .category-rail-grid { padding-inline: 0; }
  .category-rail a {
    justify-content: flex-start;
    min-height: 86px;
    gap: 13px;
    padding: 18px 15px;
    font-size: 11px;
  }
  .category-rail svg { width: 25px; height: 25px; }
  .home-section-heading { align-items: flex-start; }
  .home-section-heading > a { font-size: 11px; }
  .collection-heading { margin-bottom: 26px; }
  .collection-filters { gap: 22px; }
  .collection-toggle { width: 100%; min-width: 0; }
  .brand-band h2 { font-size: 42px; }
  .home-page .home-faq .faq-question { font-size: 13px; }
  .home-footer-main { gap: 26px; }
  .home-footer-brand { font-size: 28px; }
}
