/* Quicksand — self-hosted (T-039). Was three requests across two extra origins
   (fonts.googleapis.com for a render-blocking stylesheet, fonts.gstatic.com for
   the files) on eight pages. Measured: on desktop the font renders nothing at
   all and the files are never fetched — the stylesheet is pure round-trip cost.
   On mobile it renders the words "Petit Lu" in the four hero eyebrows.

   Both files are the variable font (fvar/gvar present), so one file per subset
   covers 300-700 — the same two files Google serves, declared once instead of
   four times. Ranges are copied from Google's stylesheet so the browser picks
   the same subset it does today; the vietnamese subset is not shipped, since
   nothing on this site will ever need it.

   Deliberately NOT preloaded. On desktop no Quicksand text is rendered, so a
   preload would turn a download that never happens into one that always does —
   the same mistake the SS GEO CHALK preload made before it was deleted.

   Quicksand is licensed under the SIL Open Font License 1.1; the license ships
   alongside the files in assets/fonts/Quicksand-OFL.txt. */
@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/quicksand-latin-ext.b5a37861.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/quicksand-latin.2add7d60.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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;
}

/* SS GEO CHALK — locally hosted Georgian display font */
@font-face {
  font-family: 'SS GEO CHALK';
  src: url('/assets/fonts/SS GEO CHALK (AllCaps)-25543181111.0d442329.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'SS GEO CHALK', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #4A4A4A;
}

@media (max-width: 767px) {
  .hero-slider-cover {
    height: clamp(29rem, 128vw, 34rem);
  }

  .hero-mobile-copy {
    position: absolute;
    z-index: 10;
    top: 1.5rem;
    left: 1.25rem;
    right: 1.25rem;
    max-width: 19rem;
  }

  .hero-mobile-copy--right {
    left: auto;
    text-align: right;
  }

  .hero-mobile-copy__eyebrow {
    margin: 0 0 0.35rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero-mobile-copy__title {
    margin: 0;
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .hero-mobile-copy__body {
    margin: 0.65rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-mobile-copy--dark {
    color: #5c3d29;
    text-shadow: 0 1px 14px rgba(255, 250, 240, 0.7);
  }

  .hero-mobile-copy--light,
  .hero-mobile-copy--cream {
    color: #fff8ed;
    text-shadow: 0 2px 12px rgba(55, 35, 20, 0.55);
  }
}

@media (min-width: 1024px) {
  .hero-slider-cover {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  body.site-compact {
    --content-max: 66rem;
    --compact-section-y: 2rem;
    --compact-section-y-tight: 1.35rem;
    --compact-page-hero-y: 3rem;
    --compact-card-media: 14rem;
    --compact-feature-media: 16rem;
  }

  body.site-compact .site-desktop-menu > :not([hidden]) ~ :not([hidden]) {
    margin-left: 1.15rem;
    margin-right: 0;
  }

  body.site-compact .site-desktop-menu a {
    font-size: 0.8125rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  body.site-compact .site-content .max-w-7xl {
    max-width: var(--content-max);
  }

  body.site-compact .site-content .compact-section {
    padding-top: var(--compact-section-y);
    padding-bottom: var(--compact-section-y);
  }

  body.site-compact .site-content .compact-section-tight {
    padding-top: var(--compact-section-y-tight);
    padding-bottom: var(--compact-section-y-tight);
  }

  body.site-compact .site-content .compact-page-hero {
    padding-top: var(--compact-page-hero-y);
    padding-bottom: var(--compact-page-hero-y);
  }

  body.site-compact .site-content #product-grid {
    gap: 1.35rem;
  }

  body.site-compact .site-content #product-grid .h-64 {
    height: var(--compact-card-media);
  }

  body.site-compact .site-content .h-72,
  body.site-compact .site-content .md\:h-80 {
    height: var(--compact-feature-media);
  }

  body.site-compact .site-content .p-6 {
    padding: 1.2rem;
  }

  body.site-compact .site-content .p-8 {
    padding: 1.75rem;
  }

  body.site-compact .site-content .text-3xl {
    font-size: 1.65rem;
    line-height: 2.05rem;
  }

  body.site-compact .site-content .text-4xl,
  body.site-compact .site-content .md\:text-5xl {
    font-size: 2.15rem;
    line-height: 2.55rem;
  }

  body.site-compact .site-content .text-xl,
  body.site-compact .site-content .md\:text-xl {
    font-size: 1.05rem;
    line-height: 1.55rem;
  }

  body.site-compact .site-content .text-lg {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* Mobile-first hero CTA reorder (extracted from index.html) */
@media (max-width: 1023px) {
  .hero-content-order {
    display: flex;
    flex-direction: column;
  }
  .hero-text { order: 1; }
  .hero-image { order: 2; }
  .hero-cta { order: 3; margin-top: 2rem; }
}

/* Hide horizontal scrollbar on thumbnail strips (still scrollable via touch/swipe) */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
