/* Mesete homepage: product discovery, customer evidence and a useful enquiry. */
.mse-home {
  --msh-ink: var(--ms-colour-ink, #242824);
  --msh-paper: var(--ms-colour-paper, #fcfbf8);
  --msh-soft: var(--ms-colour-soft, #f3eee6);
  --msh-orange: var(--ms-colour-orange, #db6a2c);
  --msh-rust: var(--ms-colour-rust, #9c4428);
  --mse-green: var(--msh-ink);
  --mse-muted: var(--ms-colour-muted, #635f59);
  --mse-line: var(--ms-colour-line, #ded8ce);
  color: var(--msh-ink);
  background: var(--msh-paper);
}
.mse-home [hidden] { display: none !important; }
.mse-home :is(h1, h2, h3, h4, a, button) { overflow-wrap: break-word; }
.mse-home :is(a, button, summary):focus-visible { outline: 2px solid var(--msh-rust); outline-offset: 4px; }
.mse-home .mse-kicker { color: var(--msh-rust); margin-bottom: 16px !important; }
.mse-home .mse-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--msh-ink);
  text-decoration-color: #a49c91;
}
.mse-home .mse-text-link:is(:hover, :focus-visible) { color: var(--msh-rust); text-decoration-color: currentColor; }
.mse-home .mse-button {
  border-radius: 4px;
  transition: background-color .18s, border-color .18s, color .18s;
}
.mse-home .mse-button:hover { transform: none; }
.mse-home .mse-button--primary {
  border-color: var(--msh-orange);
  background: var(--msh-orange);
  color: #1e221e;
}
.mse-home .mse-button--primary:is(:hover, :focus-visible) {
  border-color: #ec7c3b;
  background: #ec7c3b;
  color: #1e221e;
}
.msh-photo { display: block; width: 100%; }

.home .ms-fab { pointer-events: none; }
.home .ms-fab__toggle,
.home .ms-fab.is-open .ms-fab__menu { pointer-events: auto; }
.home .ms-fab.ms-fab--cta-overlap:not(.is-open):not(:focus-within) { visibility: hidden; }
.home .ms-fab.ms-fab--cta-overlap:not(.is-open):not(:focus-within) .ms-fab__toggle { pointer-events: none; }

/* Reserve the left side of the desktop cover for the brief. */
.msh-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 42vw, 660px);
  background: var(--msh-ink);
  color: var(--msh-paper);
}
.msh-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, #171b17df 0%, #171b17af 28%, #171b1747 56%, transparent 82%);
  pointer-events: none;
}
.msh-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-block: 56px;
}
.msh-hero-copy { width: min(53%, 550px); }
.mse-home .msh-hero .mse-kicker { color: #ffb57e; }
.mse-home .msh-hero h1 {
  font-size: var(--ms-type-display, clamp(44px, 4.45vw, 64px));
  line-height: 1.04;
  letter-spacing: -.04em;
  max-width: 12ch;
  text-wrap: initial;
}
.msh-hero h1 span { display: block; color: #ffb57e; }
.mse-home .msh-hero-lead {
  max-width: 43ch;
  margin-top: 22px;
  color: #f6f0e7;
  font-size: 18px;
  line-height: 1.65;
}
.msh-hero .mse-actions { margin-top: 25px; }
.mse-home .msh-hero .msh-button-secondary {
  border-color: #f6f0e7a6;
  background: #24282426;
  color: var(--msh-paper);
}
.mse-home .msh-hero .msh-button-secondary:is(:hover, :focus-visible) {
  border-color: var(--msh-paper);
  background: var(--msh-paper);
  color: var(--msh-ink);
}
.mse-home .msh-hero :is(a, button):focus-visible { outline-color: #ffb57e; }
.msh-hero-visual { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.msh-hero-visual .msh-photo { height: 100%; }
.mse-home .msh-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 66%;
}

@media (min-width: 1800px) {
  .mse-home .msh-hero-visual img { object-position: 100% 72%; }
}

/* The two families use the same card proportions and show every featured model. */
.mse-home .msh-products { padding-block: clamp(42px, 5.3vw, 76px); }
.msh-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.msh-section-head > div > p { margin-top: 10px; max-width: 59ch; }
.msh-section-head > a { flex-shrink: 0; }
.msh-home :is(#product-gallery, #sourcing-list) { scroll-margin-top: 96px; }
.msh-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(26px, 3.2vw, 44px);
}
.msh-family { min-width: 0; }
.msh-family-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  min-height: 52px;
  border-top: 1px solid var(--mse-line);
  margin-bottom: 6px;
}
.msh-family-head h3 { padding-block: 8px; }
.msh-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 1.5vw, 18px);
}
.msh-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mse-line);
  border-radius: 6px;
  background: #fff;
}
.msh-card-photo {
  position: relative;
  aspect-ratio: 1.28;
  overflow: hidden;
  border-bottom: 1px solid var(--mse-line);
  background: #f1eae1;
}
.msh-card-photo .msh-photo { position: absolute; inset: 0; height: 100%; }
.mse-home .msh-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.msh-card-photo[data-product-family="bags"],
.msh-card-photo[data-product-family="bowls"] { aspect-ratio: 1; }
.mse-home .msh-card-photo[data-product-family="bags"] img,
.mse-home .msh-card-photo[data-product-family="bowls"] img { object-fit: contain; }
.mse-home .msh-card-photo[data-product-family="bowls"] img { mix-blend-mode: multiply; }
.msh-card-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: clamp(12px, 1.35vw, 20px);
}
.mse-home .msh-card .msh-card-model {
  color: var(--msh-rust);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .055em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.mse-home .msh-card h4 {
  min-height: 2.36em;
  font-size: clamp(19px, 1.58vw, 24px);
  font-weight: 550;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.msh-card-facts { margin-top: 12px !important; }
.msh-card-facts > div {
  padding-block: 8px;
  border-top: 1px solid var(--mse-line);
}
.msh-card-facts dt { color: var(--mse-muted); font-size: 13px; line-height: 1.45; }
.msh-card-facts dd {
  margin: 2px 0 0;
  color: var(--msh-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.msh-card-actions { margin-top: auto; padding-top: 10px; }
.msh-card-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 8px;
}
.mse-home .msh-card .msh-list-add {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border-color: #8e867b;
  background: transparent;
  color: var(--msh-ink);
}
.mse-home .msh-card .msh-list-add:is(:hover, :focus-visible) {
  border-color: var(--msh-rust);
  background: var(--msh-soft);
}
.mse-home .msh-card .msh-list-add.is-added {
  border-color: #bcae9d;
  background: #efe3d6;
  cursor: default;
}
.mse-home .msh-family .msh-product-note { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.msh-other-ranges { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 10px; }
.msh-empty {
  padding-block: 22px;
  border-block: 1px solid var(--mse-line);
}
.msh-empty .mse-button { margin-top: 14px; }

.msh-shortlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  margin-top: 24px;
  padding: 18px clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--mse-line);
  border-radius: 6px;
  background: var(--msh-soft);
}
.mse-home .msh-shortlist h3 { font-size: 21px; line-height: 1.4; }
.msh-shortlist h3 span {
  margin-left: 5px;
  color: var(--mse-muted);
  font: 500 13px/1.5 var(--ms-sans);
  font-variant-numeric: tabular-nums;
}
.mse-home .msh-shortlist [data-sourcing-empty] { font-size: 14px; }
.msh-shortlist ul {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.msh-shortlist ul:empty { display: none; }
.msh-shortlist li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 10px;
  border: 1px solid var(--mse-line);
  background: var(--msh-paper);
  color: var(--msh-ink);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.msh-list-actions { display: flex; align-items: center; gap: 12px; grid-column: 2; grid-row: 1; }
.mse-home :is(.msh-shortlist li, .msh-list-actions) button {
  flex-shrink: 0;
  min-height: 44px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--msh-ink);
  font: 500 14px/1.45 var(--ms-sans);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mse-home :is(.msh-shortlist li, .msh-list-actions) button:hover { color: var(--msh-rust); }

/* Preserve the full customer photo and keep its explanation next to it. */
.msh-case { background: var(--msh-soft); }
.msh-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
}
.msh-case-photo { overflow: hidden; border-radius: 6px; background: #e8e0d5; }
.mse-home .msh-case-photo img { width: 100%; height: auto; }
.msh-case-copy h2 { max-width: 19ch; }
.msh-case-copy > p:not(.mse-kicker) { margin-top: 16px; max-width: 46ch; }
.msh-case-copy > .mse-button { margin-top: 22px; }

.mse-home .msh-branding { padding-block: clamp(54px, 5.8vw, 84px); }
.msh-brand-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 74px);
}
.msh-brand-copy h2 { max-width: 19ch; }
.msh-brand-copy > p:not(.mse-kicker) { margin-top: 16px; max-width: 44ch; }
.msh-brand-copy > a { margin-top: 10px; }
.msh-finish-picker {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--mse-line);
  border-radius: 6px;
  background: var(--msh-soft);
}
.msh-finish-visual { padding: 10px; }
.mse-home .msh-finish-visual img { max-height: 300px; object-fit: contain; mix-blend-mode: multiply; }
.msh-finish-controls { min-width: 0; padding: clamp(12px, 1.8vw, 26px); }
.mse-home .msh-finish-label { color: var(--mse-muted); font-size: 14px; line-height: 1.5; }
.msh-finish-label strong { display: block; color: var(--msh-ink); font-size: 23px; font-weight: 550; }
.msh-colour-options {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
  margin: 8px 0;
  padding: 0;
  border: 0;
}
.mse-home .msh-colour-options button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.msh-colour-options button span {
  width: 24px;
  height: 24px;
  border: 1px solid #24282455;
  border-radius: 50%;
  background: var(--finish);
}
.mse-home .msh-colour-options button:is([aria-pressed="true"], :hover) {
  border-color: var(--msh-rust);
  background: var(--msh-paper);
}
.mse-home .msh-finish-action p { font-size: 14px; line-height: 1.5; }

.mse-home .msh-buying { padding-block: clamp(40px, 5vw, 72px); background: #f6f2ec; }
.msh-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 26px;
}
.msh-resource-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--mse-line);
}
.msh-resource-grid article p { margin: 10px 0; max-width: 37ch; }
.msh-resource-grid article a { align-self: flex-start; margin-top: auto; }
.mse-home .msh-questions { padding-block: clamp(42px, 5vw, 72px); }
.msh-questions .mse-text-link { margin-top: 8px; }

.mse-home .msh-brief { background: var(--msh-ink); color: var(--msh-paper); }
.msh-brief-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 36px;
}
.msh-brief-inner h2 { max-width: 20ch; }
.mse-home .msh-brief p { color: #e6dcd0; margin-top: 14px; max-width: 50ch; }
.msh-brief .mse-actions { margin: 0; }
.mse-home .msh-brief .mse-text-link { color: var(--msh-paper); }
.mse-home .msh-brief :is(a, button):focus-visible { outline-color: #ffb57e; }

@media (min-width: 1160px) {
  .mse-home .msh-card h4 { min-height: 1.18em; }
}
@media (max-width: 900px) {
  .msh-finish-picker { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .msh-brief-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .msh-hero { min-height: 0; background: var(--msh-paper); color: var(--msh-ink); }
  .msh-hero::before { display: none; }
  .msh-hero-inner { padding-block: 28px; }
  .msh-hero-copy { width: 100%; }
  .mse-home .msh-hero .mse-kicker,
  .msh-hero h1 span { color: var(--msh-rust); }
  .mse-home .msh-hero-lead { color: var(--mse-muted); margin-top: 15px; }
  .msh-hero .mse-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 405px;
    margin-top: 17px;
  }
  .mse-home .msh-hero .mse-button { padding-inline: 8px; }
  .mse-home .msh-hero .msh-button-secondary {
    border-color: #8e867b;
    background: transparent;
    color: var(--msh-ink);
  }
  .mse-home .msh-hero .msh-button-secondary:is(:hover, :focus-visible) {
    border-color: var(--msh-rust);
    background: var(--msh-soft);
  }
  .ms-design-system .mse-home .msh-hero :is(a, button):focus-visible { outline-color: var(--msh-rust); }
  .msh-hero-visual { position: relative; width: 100%; aspect-ratio: 1.48; }
  .mse-home .msh-hero-visual img { object-position: 52% 66%; }
  .msh-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 14px; }
  .msh-family-grid { gap: 24px; }
  .msh-case-grid, .msh-brand-grid { grid-template-columns: minmax(0, 1fr); }
  .msh-resource-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .msh-questions .mse-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .msh-card-links { gap: 0 5px; }
  .mse-home .msh-card-links .mse-text-link { font-size: 13px; }
  .msh-shortlist { grid-template-columns: minmax(0, 1fr); }
  .msh-list-actions { grid-column: auto; grid-row: auto; justify-content: space-between; }
  .mse-home .msh-finish-visual img { max-height: 180px; }
  .msh-finish-action .mse-text-link { font-size: 13px; }
}
@media (max-width: 360px) {
  .msh-hero-inner { padding-block: 22px; }
  .msh-card-info { padding-inline: 9px; }
  .msh-card-actions a { letter-spacing: -.015em; }
  .mse-home .msh-card .msh-list-add { font-size: 13px; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .mse-home :is(a, button), .mse-home img { animation: none !important; transition: none !important; }
}
