@layer templates {
  .hero { position: relative; isolation: isolate; min-height: 560px; height: 100svh; max-height: 1200px; background: var(--dark); color: white; }
  .hero__poster, .hero__video, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }.hero__poster img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal-desktop,center); }.hero__video { object-fit: cover; object-position: var(--focal-desktop,center); opacity: 0; }.hero__video.is-playing { opacity: 1; }.hero__shade { background: linear-gradient(to bottom,rgba(0,0,0,.14),rgba(0,0,0,.32)); }
  .hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 56px; text-align: center; }.hero__copy h1 { font-size: clamp(40px,4vw,64px); letter-spacing: -.035em; line-height: 1; }.hero__copy p { font-size: 14px; margin-top: 16px; }.hero__cta { margin-top: 16px; }.hero__video-control { position: absolute; right: var(--gutter); bottom: 24px; border: 1px solid rgba(255,255,255,.5); color: white; }
  .home-collection { padding-top: 112px; padding-bottom: 144px; }.home-collection .section-heading { max-width: 944px; margin-inline: auto; }.home-collection__grid { display: grid; grid-template-columns: repeat(2,minmax(0,440px)); justify-content: center; gap: 64px; }.home-collection__grid > :only-child { grid-column: 1/-1; width: min(100%,440px); justify-self: center; }
  .reference-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 48px 20px; }.reference-preview .home-collection .section-heading { max-width: none; }.reference-preview .product-card__image img { object-fit: cover; padding: 0; }.reference-preview .hero__poster source + img { width: 100%; height: 100%; object-fit: cover; }
  .reference-catalog .product-card__image img { object-fit: cover; padding: 0; }.reference-product-dialog { width: min(1100px,calc(100vw - 48px)); max-width: 1100px; }.reference-dialog-grid { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 620px; }.reference-dialog-image { background: var(--soft-gray); }.reference-dialog-image img { width: 100%; height: 100%; object-fit: cover; }.reference-dialog-copy { padding: 72px 56px; align-self: center; }.reference-dialog-copy h2 { font-size: 40px; margin: 12px 0; }.reference-dialog-copy .price { margin-top: 24px; }.reference-description { margin: 32px 0; color: var(--muted); }.reference-dialog-close { position: absolute; right: 16px; top: 16px; z-index: 2; background: rgba(255,255,255,.86); }.reference-journal-dialog { width: min(1000px,calc(100vw - 48px)); }.reference-journal-dialog > img { width: 100%; max-height: 65vh; object-fit: cover; }.reference-journal-copy { padding: 40px; }.reference-journal-copy h2 { font-size: 36px; margin: 12px 0 20px; }
  .home-journal { background: var(--warm-paper); padding-block: 80px 96px; }.journal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 56px 24px; }.home-details { padding-block: 112px 144px; }.details-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }.detail-image { aspect-ratio: 1; background: var(--soft-gray); }.detail-image img { width: 100%; height: 100%; object-fit: cover; }.details-grid figcaption { margin-top: 20px; font-size: 14px; }
  .product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 64px 24px; }.selection-grid, .product-grid--four { grid-template-columns: repeat(4,minmax(0,1fr)); }.selection-grid { margin-top: 48px; }
  .page-main { padding-top: 72px; padding-bottom: 112px; }.page-title { margin-bottom: 48px; font-size: clamp(28px,3vw,40px); letter-spacing: -.025em; }.reading-page { max-width: 824px; }.page-content { line-height: 1.65; }.contact-email { font-size: clamp(18px,3vw,28px); margin-top: 32px; }
  .catalog { max-width: 1384px; }.catalog-header { margin-bottom: 40px; }.catalog-header .page-title { margin-bottom: 0; }.catalog-header p { margin-top: 16px; }.catalog-filters { border-block: 1px solid var(--line); margin-bottom: 32px; }.catalog-filters summary { width: 100%; }.catalog-filters form { padding-block: 24px; }.filter-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-bottom: 24px; }.catalog-filters .text-link { margin-left: 24px; }.woocommerce-ordering { display: flex; justify-content: flex-end; margin-bottom: 32px; }.woocommerce-ordering select { width: auto; max-width: 100%; }
  .search-page-grid { margin-top: 56px; }.page-main > .search-form { max-width: 760px; }
  .journal-article { padding-block: 40px 112px; }.article-lead img { width: 100%; max-height: 75svh; object-fit: cover; }.article-header { padding-block: 64px 40px; }.article-header h1 { font-size: clamp(30px,4vw,52px); letter-spacing: -.025em; }.article-header .meta { margin-top: 24px; }.article-body { font-size: 18px; line-height: 1.65; max-width: 720px; }.article-body img { width: 100%; }.article-product { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 40px; }.article-product .text-link { margin-top: 16px; }
  .pdp-main { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header)); }.pdp-gallery { min-width: 0; align-self: start; }.gallery-stage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; background: var(--soft-gray); }.gallery-stage::-webkit-scrollbar { display: none; }.gallery-frame { flex: 0 0 100%; scroll-snap-align: start; width: 100%; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; }.gallery-frame img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; }.gallery-thumbs { display: flex; gap: 12px; overflow-x: auto; padding: 4px; }.gallery-thumbs button { width: 72px; min-width: 72px; height: 80px; padding: 2px; border: 1px solid transparent; }.gallery-thumbs button[aria-pressed=true] { border-color: var(--ink); }.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; background: var(--soft-gray); }.gallery-fraction { flex-shrink: 0; }.image-unavailable { min-height: 400px; display: grid; place-items: center; background: var(--soft-gray); font-size: 14px; color: var(--muted); }
  .entry-summary { padding: 72px 64px; display: flex; align-items: center; justify-content: center; min-width: 0; }.commerce-panel { width: 100%; max-width: 500px; }.commerce-panel .product_title { font: 400 32px/1.15 var(--ui); letter-spacing: -.02em; margin-bottom: 12px; }.product-type { font-size: 14px; color: var(--muted); }.commerce-panel > .price { margin-top: 24px; margin-bottom: 32px; }.product-accordions { margin-top: 40px; }.commerce-panel .cart { margin-top: 32px; }.commerce-panel .single_add_to_cart_button { width: 100%; }.product-error { font-size: 14px; color: var(--error); margin-top: 16px; }.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }.swatch { min-height: 52px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 12px 10px 6px; border: 1px solid transparent; font-size: 13px; }.swatch[aria-pressed=true] { border-color: var(--ink); }.swatch-color { width: 24px; height: 24px; border-radius: 50%; background: var(--swatch,transparent); border: 1px solid var(--line); box-shadow: inset 0 0 0 3px white; }.swatch.is-unavailable { opacity: .42; }.variant-label { font-size: 14px; margin-block: 0 16px; }
  .zoom-panel { width: 100vw; height: 100dvh; margin: 0; max-width: 100vw; max-height: 100dvh; padding: 64px 24px 24px; }.zoom-panel img { height: 100%; width: 100%; object-fit: contain; }.zoom-close { position: absolute; right: 16px; top: 16px; }
  .mobile-cart { display: none; }
  @media(min-width:900px) and (max-width:1100px) { .pdp-main { grid-template-columns: 58fr 42fr; }.entry-summary { padding: 40px; } }
  @media(max-width:1023px) { .home-collection { padding-block: 96px 128px; }.home-collection__grid { gap: 40px; }.reference-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.details-grid { gap: 24px; }.filter-fields { grid-template-columns: repeat(2,minmax(0,1fr)); } }
  @media(max-width:899px) { .pdp-main { display: block; }.entry-summary { padding: 40px var(--gutter) 64px; }.commerce-panel { max-width: 600px; }.gallery-frame { aspect-ratio: 4/5; max-height: 80svh; }.gallery-thumbs button { width: 56px; min-width: 56px; height: 64px; } }
  @media(max-width:767px) {
    .hero { min-height: 500px; max-height: none; height: 100svh; }.hero__poster img, .hero__video { object-position: var(--focal-mobile,center); }.hero__copy { bottom: max(40px, env(safe-area-inset-bottom)); }.hero__copy h1 { font-size: 44px; }.hero__copy p { font-size: 13px; }.hero__video-control { right: 16px; bottom: 16px; }
    .reference-product-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 16px; }.reference-product-grid .product-card { flex: 0 0 82%; scroll-snap-align: start; }
    .reference-product-dialog, .reference-journal-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; }.reference-dialog-grid { display: block; min-height: 0; }.reference-dialog-image { height: 58dvh; }.reference-dialog-copy { padding: 32px 24px 56px; }.reference-dialog-copy h2 { font-size: 30px; }.reference-journal-copy { padding: 28px 24px; }.reference-journal-copy h2 { font-size: 30px; }.reference-journal-dialog > img { height: 58dvh; max-height: none; }
    .home-collection { padding-block: 72px 96px; }.home-collection__grid { display: flex; justify-content: flex-start; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 16px; scroll-padding-left: var(--gutter); }.home-collection__grid > .product-card { flex: 0 0 84%; scroll-snap-align: start; }.home-collection__grid > :only-child { flex-basis: 100%; }.home-journal { padding-block: 64px; }.journal-grid { grid-template-columns: 1fr; gap: 56px; }.home-details { padding-block: 72px 96px; }.details-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-left: var(--gutter); padding-bottom: 16px; }.details-grid figure { flex: 0 0 82vw; scroll-snap-align: start; }.details-grid figcaption { margin-top: 16px; }
    .page-main { padding-top: 48px; padding-bottom: 72px; }.page-title { margin-bottom: 32px; }.catalog-header { margin-bottom: 32px; }.product-grid { gap: 40px 12px; }.product-grid .product-card h3 { font-size: 16px; }.product-grid .product-card__color { font-size: 12px; }.product-grid .price { font-size: 14px; }.product-grid .product-card__image img { padding: 4%; }.selection-grid { margin-top: 32px; }.filter-fields { grid-template-columns: 1fr; }.search-page-grid { grid-template-columns: 1fr 1fr; }
    .article-header { padding-block: 40px 32px; }.journal-article { padding-top: 16px; padding-bottom: 72px; }.article-body { font-size: 18px; }.article-lead { padding-inline: 0; }.article-lead img { min-height: 240px; object-fit: cover; }
    .gallery-controls { padding: 12px 16px; }.gallery-thumbs { display: none; }.gallery-fraction { margin-left: auto; }.gallery-frame { aspect-ratio: 4/5; max-height: 70svh; }.entry-summary { padding-top: 32px; }.commerce-panel .product_title { font-size: 28px; }.commerce-panel > .price { margin-block: 20px 24px; }.swatch-color { width: 28px; height: 28px; }.swatch { font-size: 13px; }.mobile-cart { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: white; border-top: 1px solid var(--line); min-height: 64px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }.mobile-cart > span { font-size: 14px; }.mobile-cart .button { min-height: 48px; min-width: 160px; }.ruan-product-page .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  }
}
