/* Static-site overrides — added when this Squarespace site was exported to a
   self-contained static folder. Squarespace reveals content and images at
   runtime with JavaScript (load-fade animations, the lazy image loader, and
   commerce hydration). That JS has been removed, so without these rules some
   elements would stay invisible (stuck at opacity:0) on the static site. */

/* 0. Fonts. The original headings/buttons used "adonis-web" (a proprietary
   Adobe Typekit font loaded by Squarespace's JS, which is gone). Headings now use
   Noto Serif (self-hosted, see noto-serif.css) at weight 600. Body stays Pontano
   Sans (a Google font, already self-hosted). Both are driven by these Squarespace
   CSS variables, so overriding them cascades site-wide. */
:root {
  --heading-font-font-family: "Noto Serif", Georgia, "Times New Roman", serif !important;
  --primary-button-font-font-family: "Noto Serif", Georgia, serif !important;
  --body-font-font-family: "Pontano Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  --heading-font-font-weight: 600 !important;
}
/* belt-and-braces: catch any rule that hard-codes the old font name */
h1, h2, h3, h4, h5, h6,
.product-title, .product-list-item-title,
.sqs-block-button-element, .sqs-add-to-cart-button {
  font-family: "Noto Serif", Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
}
/* Big page/section headings were ~68px on desktop; bring them down to ~55px
   (still responsive, scales down on smaller screens). */
h1, h2 {
  font-size: clamp(32px, 4.2vw, 55px) !important;
  line-height: 1.15 !important;
}

/* 0b. Video embeds (YouTube). Squarespace's JS injected the iframe into the empty
   .sqs-video-wrapper; that JS is gone, so we use a click-to-play "facade": a
   poster image + play button that only loads the YouTube iframe on click (see
   assets/js/_yt-facade.js). This keeps the YouTube title/channel bar from
   showing on page load (YouTube removed the showinfo=0 param in 2018) and makes
   the page load faster. The aspect-ratio box is already a static inline
   padding-bottom on the .embed-block-wrapper, and Squarespace's own CSS
   absolutely-positions any child iframe to fill it; we size the facade to match. */

.yt-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-facade__play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.yt-facade__play::before {
  content: "";
  display: block;
  margin-left: 6px;
  border-style: solid;
  border-width: 14px 0 14px 23px;
  border-color: transparent transparent transparent #fff;
}
.yt-facade:hover .yt-facade__play,
.yt-facade:focus-visible .yt-facade__play {
  background: #ed8ca6;
  transform: scale(1.06);
}
.yt-facade:focus-visible {
  outline: 3px solid #ed8ca6;
  outline-offset: -3px;
}

/* 1. Load/fade animations: show every element that waits for the JS engine. */
[data-animation-role],
.sqs-block-content [data-animation-role] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* 2. Lazy image loader: images get .loaded from JS; force them all visible. */
img:not(.loaded) {
  opacity: 1 !important;
}
.sqs-gallery-block-grid img,
.summary-thumbnail-container img,
.product-block .image-container img {
  opacity: 1 !important;
}

/* 3. Commerce (product) page: title, price and details are JS-hydrated. */
.product-detail,
.product-meta,
.product-title,
.product-price,
.product-excerpt,
.ProductItem,
.ProductItem-details {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 3b. Fixed/overlay header: Squarespace reserves space for the absolutely
   positioned header with JS. Without it, page content slides underneath. Put
   the header back into normal flow so content always starts below it. */
#header {
  position: relative !important;
}

/* 4. Product gallery slides also gate on a .loaded class. */
.product-gallery-slides-item:not(.loaded) .product-gallery-slides-item-image,
.product-gallery-thumbnails-item:not(.loaded),
.pdp-gallery-slides:not(.loaded) .pdp-gallery-slides-image {
  opacity: 1 !important;
}

/* 5. Store listing: product cards start at opacity:0 and are faded in by JS. */
.product-list-item,
.product-list .grid-item,
.summary-item {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ---- Site navigation bar (added: sits under the pink header banner) ---- */
.diy-nav {
  background: #ffffff;
  border-bottom: 1px solid #ecdcd3;
  width: 100%;
  z-index: 10;
  position: relative;
}
.diy-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1.6rem;
  list-style: none;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  max-width: 1100px;
}
.diy-nav li { margin: 0; }
.diy-nav a {
  font-family: "Pontano Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #2f2a28;
  text-decoration: none;
  padding: 0.15rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.diy-nav a:hover { color: #cf6f8a; border-bottom-color: #cf6f8a; }
.diy-nav a.is-active { color: #cf6f8a; border-bottom-color: #cf6f8a; }
@media (max-width: 640px) {
  .diy-nav ul { gap: 0.3rem 1rem; padding: 0.7rem 0.75rem; }
  .diy-nav a { font-size: 0.92rem; }
}

/* ---- "Take Part" buttons under each homepage Part video ---- */
.take-part-wrap { text-align: center; margin: 1.4rem 0 0.5rem; }
.take-part-btn {
  display: inline-block;
  background: #ed8ca6;
  color: #ffffff !important;
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 1.15rem 4rem;
  border-radius: 8px;
  transition: background .15s ease;
}
.take-part-btn:hover { background: #de7a96; }

/* ---- FAQ: two columns on desktop (each Q&A kept intact) ---- */
/* the Q&A block sits in a narrow nested column; let it use the full width
   available so the two columns have room to breathe */
.faq-col { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
.faq-twocol { column-count: 2; column-gap: 3.5rem; }
.faq-twocol .faq-item { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 1.6rem; }
.faq-twocol .faq-item > :first-child { margin-top: 0; }
@media (max-width: 767px) { .faq-twocol { column-count: 1; } }

/* ---- Inner content pages: top-align the first section so the heading isn't
   pushed down by Squarespace's 66vh min-height + vertical centering ---- */
.page-section.top-trim { min-height: 0 !important; padding-top: 0 !important; }
.page-section.top-trim.vertical-alignment--middle { align-items: flex-start !important; }
/* ~half the previous top gap (was section 100px + wrapper 50px ≈ 150px) */
.page-section.top-trim > .content-wrapper { padding-top: clamp(28px, 5vmax, 75px) !important; }

/* ---- Mobile header (Squarespace shows it at <=799px): no burger, centered
   ~100px logo. Squarespace pins the logo <a> to ~30px, so the 100px image used
   to overflow and get clipped by the nav. Force the logo's whole container chain
   to 100px and flex-centre it, and give the header room. (#header prefix raises
   specificity above the Squarespace rules.) ---- */
@media (max-width: 799px) {
  .header-burger { display: none !important; }
  #header .header-display-mobile,
  #header .header-display-mobile .header-title-nav-wrapper,
  #header .header-display-mobile .header-title,
  #header .header-display-mobile .header-title-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100px !important;
    min-height: 100px !important;
    max-height: none !important;
  }
  #header .header-display-mobile .header-title-logo a {
    display: flex !important;
    align-items: center !important;
    height: 100px !important;
    min-height: 100px !important;
    width: auto !important;
    line-height: 0 !important;
  }
  #header .header-display-mobile .header-title-logo img {
    width: 100px !important;
    height: 100px !important;
    max-height: 100px !important;
    display: block !important;
  }
  #header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 15px 0 !important;
  }
  /* trim the header band's own padding so there's ~half the space round the logo */
  #header .header-announcement-bar-wrapper { padding-top: 15px !important; padding-bottom: 15px !important; }
}
