:root {
  --ink: #302016;
  --cream: #eee1ce;
  --paper: #fff6e9;
  --line: #ceb28f;
  --muted: #69513d;
  --leather: #2b170f;
  --gold: #d8ac74;
}

body { font-size: 1rem; }
header {
  background: var(--leather);
  border-bottom: 1px solid #96704b;
}
.brand { letter-spacing: 0; }
.brand span { color: #f2ca92; }
nav button.active, nav button:hover { background: #623b25; }
.cartBtn { margin-left: auto; background: var(--gold); }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(28rem, 42vw, 41rem);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.75rem, 6vw, 6rem);
  background-color: #422415;
  background-image: linear-gradient(90deg, #211109fa 0%, #25130bea 26%, #28140958 62%, #28140917 100%), url("oak-tooled-leather.webp");
  background-size: cover;
  background-position: center, right 48%;
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: .8rem;
  border: 1px dashed #efd09a85;
  border-radius: .65rem;
  content: "";
  pointer-events: none;
}
.heroInner { width: 100%; }
.hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #fff1db;
  font-size: clamp(2.85rem, 6.3vw, 5.5rem);
  line-height: .99;
  text-wrap: balance;
}
.hero p {
  max-width: 31rem;
  margin: 1.35rem 0 1.6rem;
  color: #f7e4cb;
}
.hero .primary, .cartBtn { color: #2a170d; background: var(--gold); }
.hero .primary:hover, .cartBtn:hover { background: #efd0a0; }
.primary { background: #744327; }
.primary:hover { background: #592e18; }
.primary:disabled { opacity: .65; cursor: default; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #a75726;
  outline-offset: 3px;
}
header button:focus-visible, .hero button:focus-visible { outline-color: #ffd5a0; }
.wrap { padding-top: 2.5rem; }
.sectionTitle { font-size: clamp(2rem, 4vw, 2.7rem); }
.notice { background: #f7ecdc; }
.panel, .product { box-shadow: 0 4px 18px #3e210b12; }
.grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.art, .art.wallet, .art.boot, .art.guide {
  background-image: linear-gradient(135deg, #2612098a, #251207ca), url("oak-tooled-leather.webp");
  background-size: cover;
  background-position: center, 85% 35%;
  color: #ffdfac;
  text-shadow: 0 2px 3px #291207;
}
.art.wallet { background-position: center, 65% 70%; }
.art.boot { background-position: center, 100% 45%; }
.art.guide { background-position: center, 78% 86%; }
.art::after { content: none; }
.pill { font-size: .875rem; letter-spacing: 0; text-transform: none; }
.priceRow { flex-wrap: wrap; }

@media (max-width: 680px) {
  .cartBtn { margin-left: auto; }
  .hero {
    align-items: end;
    min-height: 34rem;
    padding-bottom: 2.8rem;
    background-image: linear-gradient(0deg, #211109 0%, #211109e8 32%, #21110933 80%), url("oak-tooled-leather.webp");
    background-position: center, 77% center;
  }
  .hero h1 { font-size: clamp(2.65rem, 8vw, 3.6rem); }
  .hero p { margin: 1rem 0 1.25rem; }
}

/* Dye and stitching colors sampled from the Sage binder reference. */
:root {
  --leather: #201613;
  --copper: #ab6947;
  --teal: #163f45;
  --cream: #f1e5d5;
}
header { border-bottom-color: var(--copper); }
nav button.active, nav button:hover { background: var(--teal); border-color: #7ca0a0; }
.hero::after { border-color: #e6a97bc2; }
.primary { background: var(--teal); }
.primary:hover { background: #102f34; }
.notice { border-left-color: var(--copper); }
.art, .art.wallet, .art.boot, .art.guide {
  background-image: linear-gradient(135deg, #16171465, #10292de8), url("oak-tooled-leather.webp");
}
#shop .sectionTitle {
  display: flex;
  align-items: center;
  gap: .8rem;
}
#shop .sectionTitle::before {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border: 1px solid var(--copper);
  border-radius: .45rem;
  background: var(--teal) url("sage-tooling-detail.webp") center / cover;
  content: "";
}

body {
  background: #ead9ae url("buckskin-suede.webp") repeat;
}
#shop .sectionTitle { display: block; }
#shop .sectionTitle::before { content: none; }
#patterns .sectionTitle {
  display: flex;
  align-items: center;
}
#patterns .sectionTitle::before { content: ""; }
.shop-intro, #leather-goods, #patterns, #tools { scroll-margin-top: 8rem; }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.collection, .shop-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .8rem;
  padding: 1.35rem;
  box-shadow: 0 4px 18px #3e210b12;
}
.collection h3, .shop-feature h3 {
  margin: 0;
  font: 1.55rem Georgia, serif;
}
.collection p { margin: .5rem 0 .8rem; }
.collection a {
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: .2em;
}
.shop-feature {
  display: grid;
  grid-template-columns: 1fr minmax(12rem, 22rem);
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}
.shop-feature h3 { margin-top: .75rem; }
.shop-feature img {
  width: 100%;
  height: auto;
  border-radius: .55rem;
}
.tools-feature { grid-template-columns: 1fr; }
.tools-feature li + li { margin-top: .45rem; }

@media (max-width: 640px) {
  .shop-feature { grid-template-columns: 1fr; }
}

/* The inset thread follows the rounded cut edge on each leather panel. */
.collection, .shop-feature, #patterns, .product, .panel {
  --card-face: #f4dfbf;
  --card-light: #fff1d8;
  --card-edge: #98623e;
  --card-thread: #996641;
  --card-seam: #5b36192b;
  position: relative;
  isolation: isolate;
  border: 1px solid var(--card-edge);
  border-radius: 1rem;
  background-color: var(--card-face);
  background-image: linear-gradient(145deg, var(--card-light), transparent 65%), url("buckskin-suede.webp");
  background-blend-mode: normal, soft-light;
  box-shadow:
    inset 0 2px 2px #ffffff50,
    inset 0 -3px 3px #2c150933,
    0 3px 0 var(--card-edge),
    0 9px 16px #30180130;
}
:is(.collection, .shop-feature, #patterns, .product, .panel)::after {
  position: absolute;
  z-index: 2;
  inset: 7px;
  border: 1px dashed var(--card-thread);
  border-radius: .62rem;
  box-shadow: 0 0 0 2px var(--card-seam);
  content: "";
  pointer-events: none;
}
.collection, .shop-feature {
  --card-face: #422719;
  --card-light: #72442d;
  --card-edge: #321b11;
  --card-thread: #dea77a;
  --card-seam: #1d0d0850;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  color: #fff1db;
}
.collection:nth-child(2), .tools-feature {
  --card-face: #193b3e;
  --card-light: #365b59;
  --card-edge: #15292a;
}
.collection a { color: #ffe0a6; }
.collection a:focus-visible { outline: 2px solid #ffe0a6; outline-offset: 4px; }
.shop-feature .muted { color: #eed2b2; }
.shop-feature img {
  border: 1px solid #bd8760;
  box-shadow: 0 4px 8px #1d0d0850;
}
#patterns {
  padding: clamp(1rem, 3vw, 1.9rem);
}
.product {
  --card-face: #fff4e3;
  --card-light: #fff9ef;
  --card-thread: #a4714a;
  padding: 10px;
}
.product .art { border-radius: .45rem .45rem 0 0; }
.panel { padding: clamp(1.25rem, 3vw, 1.75rem); }

.brand-lockup {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.makers-mark {
  position: relative;
  display: inline-block;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 2.7rem;
  border: 1px solid #bc7953;
  border-radius: .55rem;
  background: #41281c;
  color: #f4c898;
  box-shadow: inset 0 0 0 3px #201613, 0 2px 2px #100a06;
  font: 700 1.9rem/1 Georgia, serif;
}
.makers-mark i, .makers-mark b, .makers-mark small { position: absolute; }
.makers-mark i { left: .38rem; top: .55rem; font-style: normal; }
.makers-mark b { left: .75rem; top: .32rem; }
.makers-mark small { right: .25rem; top: .39rem; font-size: .63rem; }
.heritage-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-inline: 0;
}
.heritage-card img {
  display: block;
  width: min(100%, 48rem);
  height: auto;
  border-radius: .6rem;
}
.heritage-card figcaption { text-align: center; }

.leather-edged-page {
  --leather-strip: clamp(.8rem, 2.75vw, 2.65rem);
  position: relative;
  padding-inline: var(--leather-strip);
}
.leather-edged-page::before,
.leather-edged-page::after {
  position: absolute;
  inset-block: 0;
  width: var(--leather-strip);
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, #e3a66d 0 4px, transparent 4px 9px) center / 1px 100% no-repeat,
    linear-gradient(90deg, #21110c, #643a25 22%, #4d2a1b 76%, #2b180e) center / cover,
    url("buckskin-suede.webp");
  background-blend-mode: normal, multiply, normal;
  box-shadow: inset 1px 0 #e2a46f66, inset -1px 0 #170d0a;
  content: "";
}
.leather-edged-page::before { left: 0; }
.leather-edged-page::after { right: 0; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 5;
}

.site-top header {
  position: relative;
  box-shadow: none;
}

.leather-menu {
  position: relative;
  color: #fff1db;
  background: linear-gradient(#332017ed, #4a2b1de8), url("buckskin-suede.webp") center;
  box-shadow: 0 3px 8px #25130d55;
}

.leather-menu::after {
  position: absolute;
  inset: auto 0 3px;
  border-bottom: 1px dashed #daaa77;
  pointer-events: none;
  content: "";
}

.leather-menu-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 1200px;
  margin-inline: auto;
  padding: .25rem clamp(.65rem, 2vw, 1.25rem) .45rem;
}

.leather-menu nav {
  order: 0;
  width: auto;
  margin: 0;
  overflow: visible;
  gap: .25rem;
}

.leather-menu button {
  min-height: 2.75rem;
  padding: .35rem .65rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  background: transparent;
  color: inherit;
  font-size: .875rem;
}

.leather-menu button:hover,
.leather-menu button.active {
  background: #713f29;
  border-color: #d9a470;
}

.leather-menu button:focus-visible {
  outline: 2px solid #ffdcac;
  outline-offset: 1px;
}

.leather-menu .fullscreen-toggle {
  margin-inline-start: auto;
  border-color: #9f785c;
  white-space: nowrap;
}

.menu-disclosure, .current-section { display: none; }
.fullscreen-status:not([hidden]) {
  position: absolute;
  inset: 100% .75rem auto auto;
  padding: .5rem;
  background: #352016;
}

@media (max-width: 680px) {
  .leather-menu .menu-disclosure { display: inline-block; border-color: #9f785c; }
  .current-section { display: inline; font-size: .875rem; }
  .leather-menu nav {
    display: none;
    position: absolute;
    inset: 100% auto auto clamp(.65rem, 2vw, 1.25rem);
    grid-template-columns: 1fr;
    min-width: 12rem;
    max-height: 55dvh;
    overflow: auto;
    padding: .4rem;
    background: #41271b;
    border: 1px solid #bd8e65;
    border-radius: .55rem;
    box-shadow: 0 6px 15px #24140e77;
  }
  .menu-disclosure[aria-expanded="true"] ~ nav { display: grid; }
  .leather-menu nav button { text-align: start; }
}

.floral-catalog {
  margin-block: 2rem;
}

.floral-products {
  display: grid;
  grid-template-columns: minmax(0, 800fr) minmax(0, 560fr);
  gap: 1rem;
}

.floral-product {
  overflow: hidden;
  border: 2px solid #805035;
  border-radius: .6rem;
  background: #f4dfbf;
  color: #382018;
  text-align: center;
}

.floral-product h3 { margin: .8rem .5rem .25rem; }
.floral-product p { margin: 0 .5rem .8rem; font-weight: 700; }

.floral-art {
  background-image: url("floral-catalog-preview.png");
  background-repeat: no-repeat;
}

.floral-belt {
  aspect-ratio: 790 / 580;
  background-size: 194.43% 176.55%;
  background-position: 8.04% 41.67%;
}

.floral-fob {
  aspect-ratio: 550 / 580;
  background-size: 279.27% 176.55%;
  background-position: 94.12% 41.67%;
}

@media (max-width: 600px) {
  .floral-products { grid-template-columns: minmax(0, 1fr); }
}
