@font-face {
  font-family: "Work Sans";
  src: url("../campagne/work-sans.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../campagne/work-sans-medium.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  font-family: "Work Sans", Arial, sans-serif;
  color: #242424;
  --ink: #242424;
  --cream: #f5f4f2;
  --line: #dedede;
  --promo-height: 36px;
  --masthead-height: 65px;
  --icon-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M3 4H17M3 10H17M3 16H17' stroke='%23212427' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-account: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.75008 10.75H3.34438L3.2608 11.147L1.79175 18.125H2.81367L4.15577 11.75H15.8444L17.1865 18.125H18.2084L16.7394 11.147L16.6558 10.75H16.2501H3.75008Z' fill='%23212427'/%3E%3Ccircle cx='10' cy='5' r='3.875' stroke='%23212427'/%3E%3C/svg%3E");
  --icon-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M2.42488 17.625L3.57964 5.5H16.4204L17.5751 17.625H2.42488Z' stroke='%23212427'/%3E%3Cpath d='M7.5 3.75C7.5 2.36929 8.61929 1.25 10 1.25C11.3807 1.25 12.5 2.36929 12.5 3.75' stroke='%23212427'/%3E%3C/svg%3E");
  --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M13.125 13.125L18.125 18.125M15 8.125C15 11.922 11.922 15 8.125 15C4.32804 15 1.25 11.922 1.25 8.125C1.25 4.32804 4.32804 1.25 8.125 1.25C11.922 1.25 15 4.32804 15 8.125Z' stroke='%23212427'/%3E%3C/svg%3E");
}

h1, h2 {
  font-family: inherit;
  letter-spacing: .015em;
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: calc(0px - var(--promo-height));
  z-index: 10;
  background: white;
}

.site-header-no-promo { --promo-height: 0px; top: 0; }
.search input:focus, .search input:focus-visible,
.home-search input:focus, .home-search input:focus-visible { outline: 0; box-shadow: none; }
.search:focus-within, .home-search:focus-within { outline: 0; box-shadow: none; }

.topline {
  display: grid;
  place-items: center;
  height: var(--promo-height);
  padding: 0 .75rem;
  background: #ededed;
  color: #383838;
  font-size: .75rem;
}

.topline .top-separator {
  position: static;
  font: inherit;
}

.masthead {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 270px) minmax(0, 1fr);
  min-height: var(--masthead-height);
  gap: 1.2rem;
  padding: 0 2.5vw;
  border-bottom: 1px solid #ebebeb;
}

.identity, .utility, .utility a {
  display: flex;
  align-items: center;
}

.identity { gap: 1.25rem; }
.utility { gap: clamp(1rem, 3.2vw, 3rem); }
.utility a { gap: .45rem; }
.account-menu { position: relative; border: 0; padding: .4rem 0; }
.account-menu summary { display: flex; align-items: center; gap: .45rem; font: inherit; list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu-panel {
  position: absolute;
  z-index: 5;
  top: 100%;
  right: 0;
  width: min(23rem, calc(100vw - 2rem));
  padding: 1.2rem 1.25rem 0;
  box-shadow: 0 4px 18px #0003;
  background: #fff;
  color: #222;
  white-space: normal;
}
.account-menu-panel .account-menu-main { justify-content: center; min-height: 2.65rem; background: #222; color: #fff; }
.account-menu-panel p { margin: .65rem 0 1rem; text-align: center; }
.account-menu-panel p a { display: inline; text-decoration: underline; text-underline-offset: .2em; }
.account-menu-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .2rem 1rem;
  margin: 1rem -1.25rem 0;
  padding: .65rem 1.25rem;
  border-top: 1px solid #e2e2e2;
}
.account-menu-shortcuts a { min-height: 2.6rem; }
.account-menu-shortcuts span { font-size: 1.25rem; }

.wordmark {
  display: inline-flex;
  flex: 0 1 auto;
}

.wordmark img {
  width: clamp(118px, 16vw, 220px);
  height: auto;
}

.menu-button, .menu-close {
  border: 0;
  background: transparent;
  color: inherit;
  padding: .45rem;
}

.menu-button i {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
  border-block: 1px solid currentColor;
}

.menu-button i::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid currentColor;
}

.person-icon, .bag-icon {
  position: relative;
  width: 15px;
  height: 12px;
  border: 1px solid currentColor;
}

.person-icon {
  border-radius: 7px 7px 0 0;
  border-bottom: 0;
  height: 8px;
  margin-top: 8px;
}

.person-icon::after, .bag-icon::after {
  content: "";
  position: absolute;
  border: 1px solid currentColor;
  left: 3px;
  top: -7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.bag-icon::after {
  border-radius: 5px 5px 0 0;
  border-bottom: 0;
  top: -5px;
  height: 4px;
}

.site-header .person-icon, .site-header .bag-icon, .site-header .menu-button i,
.home-search-toggle .search-icon, .home-search .search-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: currentColor;
  mask: var(--header-icon) center / contain no-repeat;
}
.site-header .person-icon { --header-icon: var(--icon-account); }
.site-header .bag-icon { --header-icon: var(--icon-cart); }
.site-header .menu-button i { --header-icon: var(--icon-menu); }
.home-search-toggle .search-icon, .home-search .search-icon { --header-icon: var(--icon-search); }
.site-header .person-icon::after, .site-header .bag-icon::after,
.site-header .menu-button i::after { content: none; }
.home-search, .home-search-toggle { display: none; }
.utility-cart #basket-count::before { content: "("; }
.utility-cart #basket-count::after { content: ")"; }

.search {
  width: 100%;
  border-color: currentColor;
}

.search input {
  background: transparent;
  color: inherit;
  font-size: .82rem;
  font-weight: 500;
  padding: .65rem .4rem;
}

.search input::placeholder {
  color: inherit;
  opacity: 1;
}

.campaign-page .site-header {
  margin-bottom: calc(0px - var(--masthead-height));
  background: transparent;
}

.campaign-page .masthead {
  border-bottom: 0;
  background: transparent;
  color: white;
  transition: background-color .3s ease, color .3s ease;
}

.campaign-page .masthead .wordmark img {
  filter: brightness(0) invert(1);
  transition: filter .3s ease;
}

.campaign-scrolled .masthead {
  background-color: white;
  color: var(--ink);
}

.campaign-scrolled .masthead .wordmark img {
  filter: none;
}

.site-menu {
  inset: 0;
  height: 100%;
  max-height: 100%;
  width: min(400px, 100%);
  max-width: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  color: #242424;
}

.site-menu::backdrop { background: rgb(0 0 0 / 25%); animation: menu-backdrop-in .35s ease; }
.site-menu.is-closing::backdrop { animation: menu-backdrop-out .35s ease forwards; }
@keyframes menu-backdrop-in { from { background: transparent; } to { background: rgb(0 0 0 / 25%); } }
@keyframes menu-backdrop-out { from { background: rgb(0 0 0 / 25%); } to { background: transparent; } }
html:has(.site-menu[open]) { scrollbar-gutter: stable; }
@media (min-width:851px) and (hover:hover) and (pointer:fine) {
  .site-menu::backdrop { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23212427'/%3E%3Cpath d='M13 13L27 27M13 27L27 13' stroke='white' stroke-linecap='round'/%3E%3C/svg%3E") 20 20, pointer; }
}
@media (prefers-reduced-motion:reduce) { .site-menu::backdrop,.site-menu.is-closing::backdrop { animation:none; } }
.site-menu { overscroll-behavior: contain; }
body:has(.site-menu[open]) { overflow: hidden; }
.menu-panel { display: flex; flex-direction: column; min-height: 100%; }
.menu-head, .menu-bottom {
  position: sticky;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem clamp(.9rem, 3vw, 1.65rem);
  background: #fff;
}
.menu-head { top: 0; }
.menu-cart { display: inline-flex; align-items: center; padding: .7rem; }
.menu-close { font-size: 1.8rem; line-height: 1; }
.menu-panel nav, .menu-services { display: grid; gap: .3rem; padding: .5rem clamp(1rem, 3vw, 1.65rem); }
.menu-panel nav { margin: .35rem 0 auto; font-size: 1.04rem; }
.menu-panel nav a, .menu-department summary { padding: .6rem 0; }
.menu-department { padding: 0; border: 0; }
.menu-department summary { cursor: pointer; list-style: none; }
.menu-department summary::-webkit-details-marker { display: none; }
.menu-department[open] > summary, .menu-department a[aria-current] { text-decoration: underline; text-underline-offset: .32em; }
.menu-department > div { display: grid; margin: .25rem 0 .65rem; padding-left: 1rem; font-size: .89rem; }
.menu-department > div a { padding-block: .32rem; }
.menu-services { padding-block: 1rem; font-size: .85rem; }
.menu-bottom { bottom: 0; border-top: 1px solid var(--line); min-height: 3rem; font-size: .86rem; }
.menu-bottom span { color: var(--muted); }
@media (max-width: 850px) { .site-menu { width: 100%; } }

.campaign-hero, .campaign-categories, .campaign-panel {
  position: relative;
}

.campaign-sequence { isolation: isolate; }
.campaign-categories { background: white; }

@media (prefers-reduced-motion: no-preference) {
  .campaign-sequence > .campaign-hero {
    position: sticky;
    top: 0;
  }
  /* Keep the first image at its original offset while the other layers pass over it. */
  .campaign-sequence > .campaign-hero:first-child {
    top: var(--promo-height);
  }
}

.campaign-hero a, .campaign-hero picture {
  display: block;
}

.campaign-hero:first-child > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, transparent 85%, rgba(0, 0, 0, .2) 100%);
  pointer-events: none;
}

.campaign-hero img {
  width: 100%;
  height: calc(100svh - var(--promo-height));
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 0;
}

.campaign-caption {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .75rem;
  color: white;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 1px 12px #0004;
}

.campaign-caption h1, .campaign-caption h2 {
  font-size: clamp(1.85rem, 3.15vw, 3.75rem);
  letter-spacing: .07em;
}

.campaign-caption span, .campaign-panel span {
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
}

.campaign-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.campaign-categories a {
  position: relative;
  display: block;
}

.campaign-categories img {
  height: auto;
}

.campaign-categories span {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  text-shadow: 0 1px 12px #0007;
  text-transform: uppercase;
}

.campaign-panel a {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #f3f2ef;
}

.campaign-panel img {
  height: 100%;
  object-fit: cover;
}

.campaign-panel a > div {
  align-self: center;
  text-align: center;
  padding: 3rem 1rem;
}

.campaign-panel h2 {
  font-size: clamp(1.6rem, 3.3vw, 3rem);
}

.leather a > img { grid-column: 2; grid-row: 1; }
.leather a > div { grid-column: 1; grid-row: 1; }
.homepage-selection h2 { font-size: 1.45rem; }

.site-footer {
  padding: 2.3rem max(4vw, 1rem) 1.8rem;
  display: grid;
  gap: 2.75rem;
  background: #fafafa;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.footer-columns nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: .4rem;
}

.footer-columns h2 {
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: .35rem;
}

.footer-columns a, .footer-columns span { font-size: .8rem; }
.site-footer > .wordmark { justify-self: center; }

.results > .section-heading h1 { font-size: clamp(1.55rem, 3vw, 2.4rem); }
.product-gallery a:first-child { grid-column: auto; }
.product-info h1 { font-size: clamp(1.55rem, 2.4vw, 2.6rem); text-transform: uppercase; }

@media (max-width: 850px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 1fr) auto;
    gap: .7rem;
  }

  .masthead .search { grid-column: auto; grid-row: auto; }
}

@media (max-width: 543px) {
  :root { --masthead-height: 76px; }
  .campaign-page { --masthead-height: 52px; }

  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 .6rem;
  }

  .identity { gap: .65rem; }
  .wordmark img { width: clamp(128px, 36vw, 190px); }
  .masthead .search { grid-column: 1 / -1; grid-row: 2; }
  .utility { grid-column: 2; grid-row: 1; gap: .7rem; }
  .utility .utility-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .account-menu { padding: 0; }
  .account-menu summary { width: 26px; height: 36px; justify-content: center; gap: 0; }
  .utility-cart { position: relative; width: 26px; height: 36px; justify-content: center; }
  .utility-cart #basket-count {
    position: absolute;
    top: 15px;
    inset-inline: 0;
    text-align: center;
    font-size: 9px;
    line-height: 10px;
    letter-spacing: -.04em;
  }
  .utility-cart #basket-count::before, .utility-cart #basket-count::after { content: none; }
  .account-menu-panel { position: fixed; top: var(--masthead-height); right: 1rem; }
  .campaign-page .site-header { height: calc(var(--promo-height) + var(--masthead-height)); }
  .campaign-page .masthead { height: var(--masthead-height); }
  .campaign-page .masthead .search { display: none; }
  .campaign-page:not(.campaign-scrolled) .account-menu-panel {
    top: calc(var(--promo-height) + var(--masthead-height));
  }
  .home-search {
    display: flex;
    align-items: center;
    position: absolute;
    top: 100%;
    inset-inline: 1rem;
    height: 42px;
    z-index: 4;
    color: white;
    border-bottom: 1px solid currentColor;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .home-search input { flex: 1; width: 0; min-width: 0; border: 0; padding: .5rem; background: transparent; color: inherit; font-size: .9rem; }
  .home-search input::placeholder { color: inherit; opacity: 1; }
  .home-search button, .home-search-toggle {
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
  }
  .home-search button { display: flex; }
  .home-search-toggle {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .campaign-scrolled .home-search-toggle { opacity: 1; visibility: visible; transform: translateY(0); }
  .campaign-scrolled:not(.home-search-open) .home-search {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
  }
  .campaign-scrolled.home-search-open .home-search { background: white; color: var(--ink); }
  .campaign-hero img { object-position: 50% 0; }
  .campaign-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-panel a { grid-template-columns: 1fr; }
  .leather a > img, .leather a > div { grid-column: auto; grid-row: auto; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-gallery a:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-page .masthead, .campaign-page .masthead .wordmark img,
  .campaign-page .home-search, .campaign-page .home-search-toggle { transition: none; }
}
