/* ==========================================================================
   SIAH Creative Club — Mémoire-style build
   Instrument Serif display · DM Sans body · DM Mono labels
   ========================================================================== */

/* ---------- Fonts ---------- */





/* ---------- Tokens ---------- */
:root {
  --header-height: calc(42 / 16 * 1rem);
  --space-5: calc(5 / 16 * 1rem);
  --space-10: calc(10 / 16 * 1rem);
  --space-20: calc(20 / 16 * 1rem);
  --space-40: calc(40 / 16 * 1rem);
  --space-80: calc(80 / 16 * 1rem);
  --space-120: calc(120 / 16 * 1rem);
  --space-micro: var(--space-5);
  --space-thin: var(--space-10);
  --space-extra-small: var(--space-20);
  --space-small: var(--space-40);
  --space-medium: var(--space-80);
  --space-large: var(--space-120);
  --page-margin: max(var(--space-thin), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --chrome-gutter: max(calc(14 / 16 * 1rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --section-margin: var(--space-large);
  --grid-template: repeat(12, minmax(0, 1fr));
  --grid-gap: var(--space-micro);

  --black-100: #511715;
  --white-100: #f1eee5;
  --black-50: #8f8177;
  --black-10: rgba(81, 23, 21, 0.16);
  --white-10: rgba(241, 238, 229, 0.1);
  --red-100: #cf0000;

  --background-color: var(--white-100);
  --text-primary: var(--black-100);
  --text-secondary: color-mix(in srgb, var(--black-100) 50%, transparent);
  --text-hover: #9b8d58;
  --text-error: var(--red-100);
  --border-primary: var(--black-100);
  --border-secondary: var(--black-10);
  --button-primary-fill: var(--black-100);
  --button-primary-color: var(--white-100);
  --backdrop-color: rgba(70, 21, 20, 0.3);

  --hover-duration: 50ms;
  --hover-easing: linear;
  --slide-duration: 300ms;
  --slide-easing: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 768px) {
  :root { --grid-template: repeat(24, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  :root { --slide-duration: 0.01s; }
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
/* the reset sets display on several elements (flex, inline-block), which
   would otherwise beat the [hidden] attribute and keep elements visible */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html[data-scroll-locked] { overflow: hidden; overflow-anchor: none; }
html[data-popup-open] body { overflow: hidden; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; border-radius: 0; }
button { display: inline-block; color: inherit; background: transparent; border: none; padding: 0; cursor: pointer; text-align: unset; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
p:empty { display: none; }
:is(p, h1, h2, h3, h4):first-child,
:empty:first-child + :where(p, h1, h2, h3, h4) { margin-block-start: 0; }

/* ---------- Base type ---------- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 17px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background-color);
  color: var(--text-primary);
}
h1, .h1 {
  font-weight: 400;
  font-size: 48px;
  line-height: 54px;
  text-wrap: pretty;
}
h2, .h2 { font-weight: 400; font-size: 24px; line-height: 32px; text-wrap: pretty; }
h3, .h3 { font-weight: 400; font-size: 16px; line-height: 21px; letter-spacing: -0.01em; text-wrap: pretty; }
h4, .h4, .mono {
  font-family: "DM Mono", "Courier New", monospace;
  font-weight: 400;
  font-size: 9.5px;
  line-height: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f8177;
  text-wrap: pretty;
}
.lead { font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 21px; letter-spacing: -0.01em; text-wrap: pretty; }

.text-link { transition: color var(--hover-duration) var(--hover-easing); }
@media (hover: hover) { .text-link:hover:not(:disabled) { color: var(--text-hover); } }
.text-link:active:not(:disabled) { color: var(--text-hover); }
.tap-target { padding-block: var(--space-micro); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--page-margin);
  z-index: 9999;
  padding: var(--space-thin) var(--space-extra-small);
  background-color: var(--background-color);
  color: var(--text-primary);
  text-decoration: underline;
}
.skip-to-content:focus { top: var(--space-thin); outline: auto; }

main { flex: 1; padding-block-start: 0; }
main > section:last-child { margin-block-end: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding-block-start: max(calc(11 / 16 * 1rem), env(safe-area-inset-top, 0px));
  padding-block-end: calc(11 / 16 * 1rem);
  padding-inline: var(--chrome-gutter);
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 150ms linear, color 150ms linear;
}
@media (prefers-reduced-motion: reduce) { .header { transition: none; } }
.header--light {
  --text-hover: color-mix(in srgb, var(--white-100) 50%, transparent);
  color: var(--white-100);
}
.header--opaque {
  --text-hover: #9b8d58;
  background-color: var(--white-100);
  color: var(--text-primary);
}
.header__menu {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  gap: var(--space-thin);
}
.header__logotype { grid-column: 2; grid-row: 1; }
.header__logotype svg { width: calc(101 / 16 * 1rem); height: calc(20 / 16 * 1rem); }
.header__menu--secondary { grid-column: 3; grid-row: 1; justify-self: end; }
.header a,
.header__cart,
.header__trigger,
.header__toggle {
  position: relative;
  text-decoration: none;
  color: currentColor;
  transition: color var(--hover-duration) var(--hover-easing);
}
@media (hover: hover) {
  .header a:not(.header__logotype):hover,
  .header__cart:hover,
  .header__trigger:hover,
  .header__toggle:hover { color: var(--text-hover); }
}
.header__toggle,
.header__trigger { touch-action: manipulation; }
.header__toggle[aria-expanded="false"] [data-close],
.header__toggle[aria-expanded="true"] [data-open] { display: none; }
@media (max-width: 767px) {
  .header__trigger, .header__link, .header__account { display: none; }
}
@media (min-width: 768px) {
  .header__toggle { display: none; }
}
.header__cart [data-cart-count] { margin-inline-start: 0.35em; }

/* ==========================================================================
   Modal panels (flyout / cart / newsletter)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  pointer-events: none;
}
.modal[open] { display: block; pointer-events: auto; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--backdrop-color);
  opacity: 0;
  transition: opacity var(--slide-duration) var(--slide-easing);
}
.modal[open] .modal__backdrop { opacity: 1; }
.modal__content {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: var(--background-color);
  color: var(--text-primary);
  transition: transform var(--slide-duration) var(--slide-easing);
  overflow-y: auto;
  overscroll-behavior: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* the panel starts below the fixed header on every breakpoint, otherwise the
   first flyout group is hidden behind the header on mobile */
.modal--top .modal__content {
  top: var(--header-height); left: 0; right: 0; bottom: 0;
  transform: translateY(-100%);
  max-height: calc(100dvh - var(--header-height));
}
/* the real flyout backdrop sits below the fixed header */
.modal--top { z-index: 9; }
.modal--top[open] .modal__content { transform: translateY(0); }
@media (min-width: 768px) {
  .modal--top .modal__content { bottom: auto; }
}
.modal--right { --panel-width: 475px; }
.modal--right .modal__content {
  top: 0; right: 0; bottom: 0;
  width: var(--panel-width);
  transform: translateX(100%);
}
.modal--right[open] .modal__content { transform: translateX(0); }
.modal--bottom .modal__content {
  bottom: 0; left: 0; right: 0;
  max-height: 85vh;
  transform: translateY(100%);
}
.modal--bottom[open] .modal__content { transform: translateY(0); }
@media (max-width: 939px) {
  .modal:not([class*="modal--"]) .modal__content { height: 85vh; }
  .modal--right .modal__content { width: 100vw; }
  .modal--right .modal__backdrop { display: none; }
}

.modal-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-thin);
  padding-inline: var(--page-margin);
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--background-color);
}
.modal-panel-header__close { text-decoration: underline; outline: none; }
.modal-panel-header__title { display: flex; flex-wrap: wrap; }

/* ==========================================================================
   Flyout menu
   ========================================================================== */
.flyout { position: relative; }
@media (max-width: 767px) {
  .flyout {
    display: flex;
    flex-direction: column;
    row-gap: var(--space-extra-small);
    min-height: 100%;
    padding-block-start: var(--space-extra-small);
    padding-inline: var(--page-margin);
  }
}
@media (min-width: 768px) {
  .flyout {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    column-gap: 3.75rem;
    min-height: 25rem;
    padding-block: 1.625rem 0.875rem;
    padding-inline: var(--chrome-gutter);
  }
}
.flyout__group { display: flex; flex-direction: column; align-items: flex-start; }
.flyout__menu { display: flex; flex-direction: column; align-items: flex-start; }
.flyout__menu-title { margin-block-end: 0.5rem; }
@media (min-width: 768px) { .flyout__menu { row-gap: 0.5rem; } }
.flyout__link {
  font-size: 24px;
  line-height: 32px;
  transition: color var(--hover-duration) var(--hover-easing);
}
@media (max-width: 767px) { .flyout__link { padding-block: 0.55rem; } }
@media (hover: hover) { .flyout__link:hover { color: var(--text-hover); } }
.flyout__footer { width: 100%; }
.flyout__view-all { display: inline-block; font-size: 13px; line-height: 17px; }
.flyout__previews { display: none; }
@media (min-width: 768px) {
  .flyout__previews {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    aspect-ratio: 416 / 520;
    pointer-events: none;
  }
  .flyout__preview {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--slide-duration) var(--slide-easing);
  }
  .flyout__preview--active { opacity: 1; }
}
.flyout__mobile-nav { display: none; }
@media (max-width: 767px) {
  .flyout__mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-block-start: auto;
    padding-block: var(--space-extra-small);
  }
}

/* ==========================================================================
   Hero gallery — pinned full-screen; reserves only one section margin in flow
   ========================================================================== */
.hero-gallery {
  display: block;
  height: var(--section-margin);
  margin-block-end: 0;
}
.hero-gallery__pin { position: fixed; inset: 0; z-index: 3; }
.hero-gallery-slide {
  position: absolute;
  inset: 0;
  background: #000;
  transition: transform 500ms var(--slide-easing);
}
.hero-gallery.is-dismissed .hero-gallery-slide { transform: translateY(-100%); }
/* the dismissed hero must not intercept clicks meant for the page below */
.hero-gallery.is-dismissed .hero-gallery__pin { pointer-events: none; }
.hero-gallery.no-transition .hero-gallery-slide { transition: none; }
.hero-gallery-slide__media { position: absolute; inset: 0; }
.hero-gallery-slide__media picture { display: contents; }
.hero-gallery-slide__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the landscape hero source is a portrait photo — show the full frame with a
   soft blurred fill behind it instead of a tight crop (mobile keeps default) */
@media (min-aspect-ratio: 1/1) {
  .hero-gallery-slide__media { overflow: hidden; background: #1b100e; }
  /* soft blurred copy of the same photo fills the letterbox bands */
  .hero-gallery-slide__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/images/field-front.jpeg") center / cover no-repeat;
    filter: blur(30px) brightness(0.6) saturate(0.85);
    transform: scale(1.12);
    pointer-events: none;
  }
  .hero-gallery-slide__media img {
    object-fit: contain;
    z-index: 1;
  }
}
.hero-gallery-slide__content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-thin);
  padding: var(--page-margin);
  color: var(--white-100);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%);
}
.hero-gallery-slide__title { font: inherit; padding-block: var(--space-micro); }
.hero-gallery-slide__link { padding-block: var(--space-micro); color: inherit; }
.hero-gallery-slide__link > span {
  position: relative;
  z-index: 1;
  text-decoration: underline;
  transition: opacity var(--hover-duration) var(--hover-easing);
}
@media (hover: hover) { .hero-gallery-slide__link > span:hover { opacity: 0.7; } }
@media (max-width: 767px) {
  .hero-gallery-slide__content { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
}

/* ==========================================================================
   Product grid (three-up)
   ========================================================================== */
.product-grid {
  --vertical-gap: calc(var(--space-medium) - var(--space-thin));
  display: grid;
  grid-template-columns: var(--grid-template);
  column-gap: var(--grid-gap);
  row-gap: var(--vertical-gap);
  margin-block-end: var(--section-margin);
}
.product-grid__item { grid-column: span 12; }
@media (min-width: 768px) { .product-grid__item { grid-column: span 8; } }

.product-tile { display: block; cursor: pointer; position: relative; }
.product-tile__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.product-tile__content {
  font-size: 13px;
  line-height: 17px;
  padding-block: 0.5rem 0;
  text-align: center;
  transition: color var(--hover-duration) var(--hover-easing);
}
@media (hover: hover) { .product-tile:hover .product-tile__content { color: var(--text-hover); } }
.product-tile:active .product-tile__content { color: var(--text-hover); }
.product-tile__content p + p { margin-block-start: 0; }

/* ==========================================================================
   Text highlight
   ========================================================================== */
.text-highlight { text-align: center; margin-block-end: var(--section-margin); }
.text-highlight__text {
  font-size: 24px;
  line-height: 32px;
  max-width: 60ch;
  margin-inline: auto;
}
@media (max-width: 767px) { .text-highlight__text { margin-inline: var(--page-margin); } }
@media (min-width: 768px) {
  .text-highlight { display: grid; grid-template-columns: var(--grid-template); column-gap: var(--grid-gap); }
  .text-highlight__text { grid-column: 5 / -5; }
}
@media (min-width: 1100px) { .text-highlight__text { grid-column: 7 / -7; } }

/* ==========================================================================
   Product highlight large (The Archive long-scroll)
   ========================================================================== */
.product-highlight-large {
  display: grid;
  grid-template-columns: var(--grid-template);
  column-gap: var(--grid-gap);
  margin-block-end: var(--section-margin);
}
.product-highlight-large__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 6;
  object-fit: cover;
}
.product-highlight-large__title {
  text-align: center;
  margin-block: var(--space-large);
  font: inherit;
}
.product-highlight-large:has(.product-highlight-large__products > :nth-child(2)) .product-highlight-large__title {
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 9.5px;
  line-height: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f8177;
}
.product-highlight-large__content { margin-block: var(--space-large); }
.product-highlight-large__products { display: flex; flex-direction: column; gap: var(--space-small); }
.product-highlight-large-item__image { width: 100%; aspect-ratio: 4 / 5; }
.product-highlight-large-item__image img { object-fit: cover; width: 100%; height: 100%; }
.product-highlight-large-item__info {
  padding: var(--space-thin);
  text-align: center;
  transition: color var(--hover-duration) var(--hover-easing);
}
@media (hover: hover) {
  .product-highlight-large-item__link:hover .product-highlight-large-item__info { color: var(--text-hover); }
}

@media (max-width: 767px) {
  .product-highlight-large__media { grid-column: 1 / -1; }
  .product-highlight-large__content { grid-column: 4 / -4; }
}
@media (min-width: 768px) {
  .product-highlight-large__media { grid-column: 1 / span 16; }
  .product-highlight-large__media img {
    position: sticky;
    top: 0;
    max-height: 100dvh;
    object-position: 0 calc(var(--scroll-progress, 0) * 100%);
  }
  .product-highlight-large__content { grid-column: 19 / -3; align-self: start; }
}

/* ==========================================================================
   Highlight visual (The thinker)
   ========================================================================== */
.highlight-visual {
  margin-block-end: var(--section-margin);
  display: grid;
  grid-template-columns: var(--grid-template);
  column-gap: var(--grid-gap);
  row-gap: var(--space-large);
}
.highlight-visual__media { position: relative; isolation: isolate; align-self: stretch; width: 100%; }
.highlight-visual__media img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.highlight-visual__small {
  display: grid;
  grid-template-columns: subgrid;
  justify-items: center;
  row-gap: var(--space-thin);
}
.highlight-visual__caption { grid-column: 1 / -1; text-align: center; }
.highlight-visual__cta { grid-column: 1 / -1; text-align: center; text-decoration: underline; }
.highlight-visual__media-link { position: absolute; inset: 0; z-index: 1; }
.highlight-visual__large img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
@media (hover: hover) {
  .highlight-visual__media:has(.highlight-visual__media-link:hover) ~ .highlight-visual__cta { color: var(--text-hover); }
}
@media (max-width: 767px) {
  .highlight-visual__large { grid-column: 1 / -1; }
  .highlight-visual__small { grid-column: 3 / -3; }
  .highlight-visual__media { grid-column: 2 / 8; }
  .highlight-visual--small_left .highlight-visual__small { grid-row: 1; }
  .highlight-visual--small_left .highlight-visual__large { grid-row: 2; }
  .highlight-visual--small_right .highlight-visual__small { grid-row: 2; }
  .highlight-visual--small_right .highlight-visual__large { grid-row: 1; }
}
@media (min-width: 768px) {
  .highlight-visual__small { align-self: center; }
  .highlight-visual--small_left .highlight-visual__small { grid-column: 4 / span 6; }
  .highlight-visual--small_left .highlight-visual__large { grid-column: 13 / -1; }
  .highlight-visual--small_right .highlight-visual__small { grid-row: 1; grid-column: 16 / span 6; }
  .highlight-visual--small_right .highlight-visual__large { grid-row: 1; grid-column: 1 / 13; }
  .highlight-visual__media { grid-column: 2 / 6; }
}

/* ==========================================================================
   Highlight (two-up and world cards)
   ========================================================================== */
.highlight { display: block; margin-block-end: var(--section-margin); }
.highlight__media { display: grid; grid-template-columns: minmax(0, 1fr); }
.highlight__media-item { position: relative; }
.highlight__media-item img { width: 100%; height: 100%; object-fit: cover; }
.highlight__content {
  display: grid;
  grid-template-columns: var(--grid-template);
  gap: var(--grid-gap);
  padding-block-start: var(--space-thin);
  transition: color var(--hover-duration) var(--hover-easing);
}
.highlight__content > * { justify-self: center; }
.highlight__caption { text-align: center; text-wrap: balance; }
.highlight__cta { text-align: center; text-decoration: underline; }
@media (max-width: 767px) {
  .highlight--one .highlight__media-item { aspect-ratio: 2 / 3; }
  .highlight--two .highlight__media-item { aspect-ratio: 4 / 5; }
  .highlight__content > * { grid-column: 3 / -3; }
}
@media (min-width: 768px) {
  .highlight--two .highlight__media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight--one .highlight__media-item { aspect-ratio: 3 / 2; }
  .highlight__content > * { grid-column: 8 / span 10; }
}

/* Group rows (flex). The worlds row is the last block of the page, so
   --section-margin is zeroed inside it (mirrors the theme's rule:
   main > .shopify-section:last-child > :nth-last-child(1 of .shopify-block)). */
.group { display: flex; flex-wrap: nowrap; overflow: hidden; width: 100%; }
.group--horizontal { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: var(--grid-gap); padding: 0 var(--padding); }
/* equal-width cards — otherwise flex sizing follows each image's intrinsic
   width and the captions end up on different baselines */
.group--horizontal > * { flex: 1 1 0; min-width: 0; }
.group--vertical { flex-direction: column; align-items: var(--alignment); padding: var(--padding) 0; }
#worlds { --section-margin: 0px; }

/* ==========================================================================
   Quote
   ========================================================================== */
.quote {
  display: grid;
  grid-template-columns: var(--grid-template);
  column-gap: var(--grid-gap);
  row-gap: var(--space-medium);
  text-align: center;
  margin-block-end: var(--section-margin);
}
.quote__decoration { grid-column: 1 / -1; justify-self: center; }
.quote__portrait .quote__attribution { margin-block-start: var(--space-thin); }
.quote__image { aspect-ratio: 4 / 6; }
.quote__image img { width: 100%; height: 100%; object-fit: cover; }
.quote__attribution { font-style: normal; }
.quote__attribution cite { font-style: normal; }
@media (max-width: 767px) {
  .quote__portrait, .quote__attribution { grid-column: 4 / -4; }
  .quote__text { grid-column: 2 / -2; }
}
@media (min-width: 768px) {
  .quote__portrait { grid-column: 11 / span 4; }
  .quote__text { grid-column: 3 / -3; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  display: grid;
  grid-template-columns: var(--grid-template);
  column-gap: var(--grid-gap);
  row-gap: 4rem;
  text-align: center;
  margin-block-start: var(--section-margin);
  margin-block-end: 0.875rem;
}
.site-footer__ornament { grid-column: 1 / -1; justify-self: center; }
.site-footer__newsletter-preheading { margin-block-end: 1.5rem; }
.site-footer__newsletter-heading { margin-block-end: 1.5rem; }
.site-footer__newsletter-button {
  display: inline-block;
  padding: 0.625rem 2.25rem;
  border: 1px solid #f1eee5;
  background: none;
  color: #f1eee5;
  --text-hover: rgba(241, 238, 229, 0.6);
  font-size: 13px;
  line-height: 17px;
  transition: color var(--hover-duration) var(--hover-easing), border-color var(--hover-duration) var(--hover-easing);
}
@media (hover: hover) { .site-footer__newsletter-button:hover { border-color: rgba(241, 238, 229, 0.5); } }
.site-footer__menu-title { margin-block-end: 1.1875rem; }
.site-footer__menu-list {
  display: flex;
  flex-direction: column;
  row-gap: 0.875rem;
}
.site-footer__menu-list, .site-footer__legal-list { list-style: none; padding: 0; margin: 0; }
.site-footer__menu-list a, .site-footer__legal-list a, .site-footer__cookie-trigger { display: inline-block; }
.site-footer__legal-list a, .site-footer__cookie-trigger { padding-block: var(--space-micro); }
.site-footer__copyright, .site-footer__legal, .site-footer__location { color: var(--text-secondary); }
.site-footer__legal-list, .site-footer__location { --text-hover: var(--text-primary); }
@media (max-width: 767px) {
  .site-footer { row-gap: 3rem; }
  .site-footer__newsletter { grid-column: 1 / -1; margin-inline: var(--page-margin); }
  .site-footer__menus, .site-footer__meta {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: var(--space-small);
  }
}
@media (min-width: 768px) {
  .site-footer__newsletter { grid-column: 8 / -8; }
  .site-footer__menus, .site-footer__meta { display: contents; }
  .site-footer__menu { grid-column-end: span 8; }
  .site-footer__copyright { grid-column: 1 / span 5; margin-inline: var(--chrome-gutter); text-align: left; }
  .site-footer__legal { grid-column: 6 / -6; }
  .site-footer__legal-list { display: flex; flex-wrap: wrap; justify-content: center; column-gap: var(--space-extra-small); }
  .site-footer__location { grid-column: -6 / -1; margin-inline: var(--chrome-gutter); text-align: right; }
  .site-footer__copyright, .site-footer__location { padding-block: var(--space-micro); }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-field { display: flex; flex-direction: column; gap: var(--space-micro); }
.form-error { color: var(--text-error); }
input[aria-invalid="true"] { border-color: var(--text-error); }
input[aria-invalid="true"]::placeholder { color: var(--text-error); }
.checkbox-group { display: flex; gap: var(--space-thin); align-items: flex-start; }
.checkbox-group input[type="checkbox"] {
  flex-shrink: 0;
  appearance: none;
  width: 14px;
  height: 14px;
  margin: 3px 0 0;
  border: 1px solid var(--black-100);
  border-radius: 0;
  background: none;
}
.checkbox-group input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: var(--black-100);
}
.checkbox-group span { text-wrap: pretty; }
.checkbox-group a { text-decoration: underline; }

/* Newsletter panel (bottom sheet) */
.newsletter-panel {
  display: grid;
  grid-template-columns: var(--grid-template);
  column-gap: var(--grid-gap);
  row-gap: var(--space-extra-small);
  padding-block: var(--space-thin);
  padding-block-end: var(--space-small);
  text-align: left;
}
.newsletter-panel__message { margin-block-end: var(--space-extra-small); }
.newsletter-panel__email-field { margin-block-end: var(--space-thin); }
.newsletter-panel__consent { margin-block-end: var(--space-small); }
.newsletter-panel__consent a { text-decoration: underline; }
.newsletter-panel__submit { width: 100%; }
.newsletter-panel input[type="email"] {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--black-100);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 17px;
  letter-spacing: normal;
  background: none;
  color: inherit;
  outline: none;
}
.newsletter-panel input[type="email"]::placeholder { color: rgba(81, 23, 21, 0.5); opacity: 1; }
.newsletter-panel-success { padding-block-end: var(--space-small); }
@media (max-width: 767px) {
  .newsletter-panel__heading, .newsletter-panel__message, .newsletter-panel__body { grid-column: 3 / -3; }
}
@media (max-width: 479px) {
  .newsletter-panel__heading, .newsletter-panel__message, .newsletter-panel__body { grid-column: 1 / -1; margin-inline: var(--page-margin); }
}
@media (min-width: 768px) {
  .newsletter-panel__heading { grid-column: 1 / span 12; margin-inline-start: var(--page-margin); }
  .newsletter-panel__message, .newsletter-panel__body { grid-column: 17 / span 8; margin-inline-end: var(--page-margin); }
}
.primary-button {
  background-color: var(--button-primary-fill);
  color: var(--button-primary-color);
  padding: var(--space-thin);
  transition: color var(--hover-duration) var(--hover-easing), background-color var(--hover-duration) var(--hover-easing);
}
.primary-button:hover:not(:disabled),
.primary-button:active:not(:disabled) { color: color-mix(in srgb, var(--button-primary-color) 50%, transparent); }

/* Cart drawer */
.cart-drawer { flex: 1; display: flex; flex-direction: column; }
.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-thin);
  padding: var(--page-margin);
  text-align: center;
}
.cart-drawer__continue { text-decoration: underline; }

/* ==========================================================================
   Newsletter popup (appears ~1s after load, Klaviyo-style)
   Measured against memoireworld.com at 1280x720:
   dialog 500x636 centered, translucent white, no dim overlay, no shadow;
   close 30x30 at 20/21; heading/input/button in Instrument Serif.
   ========================================================================== */
.popup {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: none;
  justify-content: center;
  padding: var(--space-thin);
  pointer-events: none;
}
.popup[hidden] { display: none; }
.popup:not([hidden]) { display: flex; }
.popup__backdrop { position: fixed; inset: 0; pointer-events: auto; background-color: rgba(81, 23, 21, 0.6); }
.popup__dialog {
  position: relative;
  margin: auto;
  pointer-events: auto;
  width: min(100%, 500px);
  min-height: 636px;
  background-color: rgba(241, 238, 229, 0.75);
  color: var(--black-100);
  font-family: "DM Sans", Arial, sans-serif;
}
.popup__close {
  position: absolute;
  top: 21px;
  left: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--black-100);
  cursor: pointer;
}
.popup__close svg { display: block; }
.popup__close:focus-visible { outline: 2px auto rgb(28, 101, 173); }
.popup__close:hover { opacity: 0.6; }
.popup__content {
  width: 400px;
  max-width: 100%;
  margin-inline: auto;
  padding-block-start: 202px;
}
.popup__heading {
  margin: 0;
  font-family: "Instrument Serif", "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: normal;
  font-weight: 400;
  text-align: center;
  text-wrap: wrap;
}
.popup__form { display: block; margin-block-start: 39px; }
.popup__form input[type="email"] {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(81, 23, 21, 0.443);
  border-radius: 0;
  background-color: var(--white-100);
  color: var(--black-100);
  font-family: "Instrument Serif", "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: normal;
  outline: none;
}
.popup__form input[type="email"]::placeholder { color: var(--black-100); opacity: 1; }
.popup__form button[type="submit"] {
  display: block;
  width: 340px;
  max-width: 100%;
  height: 50px;
  margin: 43px auto 0;
  border: 0;
  border-radius: 0;
  background-color: var(--black-100);
  color: var(--white-100);
  font-family: "Instrument Serif", "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}
@media (hover: hover) { .popup__form button[type="submit"]:hover { color: rgba(241, 238, 229, 0.6); } }
.popup__form .form-error {
  margin-block: var(--space-micro) 0;
  font-family: "Instrument Serif", "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: normal;
}
.popup__success {
  margin: 0;
  font-family: "Instrument Serif", "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: normal;
  text-align: center;
}
.popup__legal {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 21px;
  margin: 0;
  font-family: "Instrument Serif", "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  text-wrap: wrap;
}
.popup__legal a { color: inherit; text-decoration: underline; }
@media (max-width: 539px) {
  .popup__dialog { min-height: 0; }
  .popup__content { padding-block-start: 120px; padding-inline: 20px; }
  .popup__form button[type="submit"] { width: 100%; }
  .popup__legal { position: static; margin-block-start: var(--space-large); padding-block-end: 20px; }
}


/* ---------- SIAH fonts (Instrument Serif / DM Sans / DM Mono) ---------- */
﻿/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/aFTU7PB1QTsUX8KYthSQBLyM.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/aFTU7PB1QTsUX8KYthqQBA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/aFTR7PB1QTsUX8KYvumzEY2tbZX9.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/aFTR7PB1QTsUX8KYvumzEYOtbQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjgn7MsNo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjjH7M.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jizBRFtNs2ka5fXjeivQ4LroWlx-6zsTjmbI.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jizBRFtNs2ka5fXjeivQ4LroWlx-6zUTjg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   SIAH Creative Club — theme layer
   Display: Instrument Serif · Body: DM Sans · Labels: DM Mono
   ========================================================================== */
h1, .h1, h2, .h2, h3, .h3,
.hero-gallery-slide__title,
.text-highlight__text,
.flyout__link,
.product-tile__content,
.product-highlight-large-item__info,
.highlight__caption,
.highlight__cta,
.quote__text { font-family: "Instrument Serif", "Times New Roman", Times, serif; }

.site-footer {
  background: #461514;
  color: #f1eee5;
  margin-block-end: 0;
  padding-block-end: 0.875rem;
}
.site-footer .h4, .site-footer .mono { color: rgba(241, 238, 229, 0.66); }
.site-footer__copyright, .site-footer__legal, .site-footer__location { color: rgba(241, 238, 229, 0.62); }
.site-footer__legal-list, .site-footer__location { --text-hover: #f1eee5; }
