#collections .hc-categories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 26px);
}
#collections .hc-category-entry {
  border: 1px solid #d8cbbf;
  background: #ece4da;
}
#collections .hc-category {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 10px 7px;
  padding: 0;
}
#collections .hc-category-image {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
#collections .hc-category-copy {
  padding: 0 0 13px clamp(10px, 1.5vw, 18px);
}
#collections .hc-category-arrow {
  display: block;
  width: 16px;
  margin: 1px clamp(8px, 1.2vw, 16px) 0 0;
  color: #9c4824;
}
#collections .hc-category-name {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  overflow-wrap: anywhere;
}
#collections .hc-category-note > span + span { display: none; }
#home-reviews-title > a { color: inherit; text-decoration: none; }
#home-reviews-title > a:is(:hover, :focus-visible) { color: #a7451b; text-decoration: underline; text-underline-offset: .12em; }

footer.home-compact-footer .inside-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 32px;
  padding-bottom: 22px;
}
footer.home-compact-footer .inside-footer-brand { grid-column: auto; }
footer.home-compact-footer nav.home-purchase-links {
  display: flex;
  flex-flow: row wrap;
  gap: 6px 24px;
}
footer.home-compact-footer .home-purchase-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

@media (max-width: 640px) {
  #collections .hc-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #collections .hc-category-image { aspect-ratio: 4 / 3; }
  #collections .hc-category-copy { padding-inline-end: 3px; }
  footer.home-compact-footer .inside-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  #collections .hc-category-arrow { width: 13px; margin-inline-end: 6px; }
}

/* The deployed homepage can still load an earlier editor bundle on interaction. */
.brand-view-home .brand-hero :is(.brand-quiet-link, .brand-materials-label),
.brand-view-home .brand-hero-image figcaption > span,
#collections .hc-overview-actions a[href="/catalog/leather"],
#collections .hc-curated-heading,
#collections .brand-catalog-note,
#collections .hc-curated-heading + .catalog-product-grid,
#reviews .home-reviews-all,
footer.home-compact-footer .inside-footer-grid > :is(nav, details):not(.home-purchase-links),
footer.home-compact-footer > :is(.seo-footer-links, .audit-footer-group) {
  display: none !important;
}

#collections .home-workshop-selection {
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin-block: clamp(18px, 4vw, 48px) 20px;
  padding: clamp(15px, 3.4vw, 42px);
  color: #f4efe9;
  border: 1px solid #4f443b;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, #d8cabe0e 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, #d8cabe0e 23px 24px),
    #241e1a;
}
.home-workshop-selection-intro {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(58px, 7vw, 106px);
  margin-bottom: clamp(14px, 2.2vw, 28px);
  border-bottom: 1px solid #827061;
}
.home-workshop-selection-intro h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font: 500 clamp(1.65rem, 3.7vw, 3.2rem)/1.1 var(--graphite-display, Jost, sans-serif);
}
.home-workshop-drawing {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(29%, 234px);
  background:
    linear-gradient(#a68268 0 0) 0 71% / 100% 1px,
    repeating-linear-gradient(90deg, #a68268 0 1px, transparent 1px 12px) 0 71% / 100% 5px,
    linear-gradient(90deg, #a68268 0 0) 72% 35% / 1px 62%,
    radial-gradient(circle, transparent 0 28%, #a68268 29% 30%, transparent 31% 48%, #a68268 49% 50%, transparent 51%) 72% 34% / 52px 52px;
  background-repeat: no-repeat;
  opacity: .62;
  pointer-events: none;
}
.home-workshop-selection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
  position: relative;
}
.home-workshop-selection-piece {
  display: grid;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.home-workshop-selection-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: #40362e;
}
.home-workshop-selection-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.84) sepia(.12);
}
.home-workshop-selection-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 44px;
  padding: 7px 2px;
  border-bottom: 1px solid #827061;
  font-size: clamp(.84rem, 1.35vw, 1rem);
  font-weight: 650;
}
.home-workshop-selection-piece:is(:hover, :focus-visible) .home-workshop-selection-label {
  color: #f3b68f;
  border-color: currentColor;
}
.home-workshop-selection-piece:focus-visible { outline: 2px solid #f3b68f; outline-offset: 3px; }
.home-workshop-selection-label > span { color: #e7a783; }
#about .home-about-history { margin-block: 0 8px; }
@media (max-width: 640px) {
  .home-workshop-selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-workshop-drawing { opacity: .36; }
}
.home-workshop-selection-gears {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  color: #a58368;
  opacity: .38;
}
.home-workshop-selection-gears > span {
  position: absolute;
  width: clamp(92px, 13vw, 182px);
  aspect-ratio: 1;
  top: 48%;
  right: -4%;
  background:
    radial-gradient(circle, transparent 0 10%, currentColor 10.5% 11%, transparent 11.5% 22%, currentColor 22.5% 23%, transparent 23.5% 38%, currentColor 38.5% 39%, transparent 39.5%),
    linear-gradient(currentColor 0 0) center / 74% 1px no-repeat,
    linear-gradient(currentColor 0 0) center / 1px 74% no-repeat;
}
.home-workshop-selection-gears > span:nth-child(2) {
  width: clamp(74px, 10vw, 136px);
  top: 69%;
  left: -3%;
  right: auto;
}
.home-workshop-selection-gears > span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(transparent 0 9deg, currentColor 9deg 10deg, transparent 10deg 20deg, currentColor 20deg 21deg, transparent 21deg 30deg);
  mask: radial-gradient(transparent 0 39%, #000 39.5% 46%, transparent 46.5%);
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-site-motion="reduce"]) .home-workshop-selection-label {
    transition: color .18s ease-out, border-color .18s ease-out;
  }
  :root:not([data-site-motion="reduce"]) .home-workshop-selection-photo img {
    transition: transform .42s cubic-bezier(.22, .61, .36, 1);
  }
  :root:not([data-site-motion="reduce"]) .home-workshop-selection-piece:focus-visible img {
    transform: scale(1.07);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root:not([data-site-motion="reduce"]) .home-workshop-selection-piece:hover img {
    transform: scale(1.07);
  }
  :root:not([data-site-motion="reduce"]) .home-workshop-selection:is(:hover, :focus-within) .home-workshop-selection-gears > span {
    animation: home-workshop-drawing-turn 4.5s ease-out both;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    :root:not([data-site-motion="reduce"]) .home-workshop-selection .home-workshop-selection-gears > span {
      animation: home-workshop-drawing-turn linear both;
      animation-timeline: view();
    }
  }
}
.home-workshop-selection-gears > span:nth-child(2) { --drawing-turn: -42deg; }
@keyframes home-workshop-drawing-turn {
  to { rotate: var(--drawing-turn, 34deg); }
}

/* The first-screen actions align across the current and previously cached home templates. */
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, min(12rem, 50%))) minmax(0, 1fr);
  align-content: center;
  justify-items: start;
}
.brand-view-home .brand-hero-copy > :not(.home-winter-entry, .home-telegram) { grid-column: 1 / -1; }
.brand-view-home .brand-hero-copy .brand-materials { display: none; }
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy .brand-hero-actions {
  grid-column: 1 / 3;
  width: 100%;
  margin: 0 0 10px;
}
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy .brand-hero-actions .brand-button-light {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  justify-content: space-between;
  background: #e2703a;
  border: 1px solid #e2703a;
  color: #201611;
}
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy .brand-hero-actions .brand-button-light:hover {
  background: #ed8d58;
  border-color: #ed8d58;
}
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy > :is(.home-winter-entry, .home-telegram) {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-self: stretch;
  gap: 6px;
  width: auto;
  max-width: none;
  min-height: 48px;
  margin: 0;
  padding: 9px clamp(8px, 2.5vw, 14px);
  border: 1px solid #897668;
  border-radius: 3px;
  background: #2c211b;
  color: #f4efe9;
  font-family: var(--graphite-body, Manrope, sans-serif);
  font-size: clamp(.75rem, 2.95vw, .875rem);
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy > .home-winter-entry {
  grid-column: 1;
  margin-right: 5px;
}
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy > .home-telegram {
  grid-column: 2;
  margin-left: 5px;
}
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy > :is(.home-winter-entry, .home-telegram):hover {
  background: #38291f;
  border-color: #e2a986;
  color: #f7d3be;
}
html[data-brandbook-variant="graphite"] .brand-view-home .brand-hero-copy :is(.home-winter-entry, .home-telegram, .brand-button-light):focus-visible {
  outline: 2px solid #ed9a6e;
  outline-offset: 3px;
}
.brand-view-home .brand-hero-copy > :is(.home-winter-entry, .home-telegram) > :is(svg, span) { flex: 0 0 auto; }
