:root {
  color-scheme: light;
  --ink: #172317;
  --muted: #526052;
  --green: #c3ef80;
  --dark-green: #152218;
  --line: #dce2d8;
  --paper: #f5f7f3;
  --content: 1280px;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #46811d; outline-offset: 5px; }
.wrap { width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 20; left: 12px; top: 12px; padding: 12px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }

.announcement { display: block; padding: 8px 12px; text-align: center; background: var(--green); font-weight: 650; font-size: .86rem; }
.announcement:hover { text-decoration: underline; }
.site-header { position: sticky; z-index: 5; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 44px; }
.brand-logo { display: block; position: relative; overflow: hidden; width: 156px; aspect-ratio: 156 / 34; }
.brand-logo img { position: absolute; top: 49.5%; left: -9%; width: 112%; max-width: none; transform: translateY(-50%); filter: grayscale(1) contrast(1.75); }
.main-nav, .header-actions { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.main-nav > a { font-size: .94rem; font-weight: 650; text-wrap: nowrap; }
.main-nav > a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { gap: 13px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; padding: 0; }
.icon-button:hover { background: var(--paper); }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle, .main-nav .mobile-shop { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 0 22px; border: 1px solid transparent; border-radius: 5px; font-weight: 750; font-size: .94rem; white-space: nowrap; }
.button:hover { filter: brightness(.93); }
.button-dark { background: var(--dark-green); color: #fff; }
.button-lime { background: var(--green); color: var(--ink); }
.header-shop { min-height: 40px; padding-inline: 15px; font-size: .88rem; }

.hero { position: relative; }
.hero-slide { position: relative; isolation: isolate; overflow: hidden; }
.hero-silk { background: #f3e7dc; }
.hero-petg { background: #e6e8e2; }
.hero-inner { display: flex; align-items: center; min-height: clamp(435px, 36vw, 640px); padding-block: 58px 87px; }
.hero-copy { position: relative; z-index: 1; max-width: 48%; }
.hero-copy h1, .hero-copy h2 { margin-block: 15px 18px; font-size: clamp(3rem, 5.15vw, 6rem); font-weight: 790; letter-spacing: -.062em; line-height: .98; }
.hero-copy p:not(.eyebrow) { max-width: 33ch; margin-bottom: 25px; color: #364135; line-height: 1.55; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; letter-spacing: .13em; }
.eyebrow span { flex: 0 0 8px; height: 8px; background: #498323; }
.hero-art { position: absolute; inset: 0 0 0 45%; background-repeat: no-repeat; }
.hero-silk .hero-art { container-type: size; }
.hero-silk .hero-art::before, .application-vase .application-art::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 146.2cqh);
  aspect-ratio: 1123 / 768;
  transform: translate(-50%, -50%);
  background: url('./silk-rainbow-banner.webp') right center / 182.37% auto no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 96%, transparent);
}
.hero-petg .hero-art { background-image: url('./petg-silver.webp'); background-size: cover; background-position: center 79%; mask-image: linear-gradient(90deg, transparent, #000 11%); }
.hero-controls { position: absolute; inset: auto 0 25px; display: flex; gap: 9px; }
.hero-dot { display: grid; align-items: center; position: relative; width: 30px; height: 25px; padding: 0; border: 0; background: transparent; }
.hero-dot::after { content: ''; height: 4px; width: 100%; border-radius: 3px; background: #8c9588; }
.hero-dot[aria-pressed='true']::after { background: #253624; }

.purchase-links { background: var(--paper); border-block: 1px solid var(--line); }
.purchase-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin-block: 0; list-style: none; }
.purchase-links-grid li + li { border-left: 1px solid var(--line); }
.purchase-links-grid a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px clamp(8px, 3vw, 34px); }
.purchase-links-grid a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.purchase-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #e4efdc; color: #254d1c; }
.purchase-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.purchase-links-grid strong, .purchase-links-grid small { display: block; }
.purchase-links-grid small { margin-top: 3px; color: var(--muted); font-size: .82rem; line-height: 1.35; }

.section { padding-block: clamp(48px, 5.2vw, 80px); }
.section h2, .shop-strip h2, .details-page h2 { font-size: clamp(1.9rem, 3.5vw, 3.5rem); letter-spacing: -.05em; line-height: 1.03; }
.section h2 + p { margin-top: 10px; color: var(--muted); line-height: 1.5; }
.category-grid, .product-grid, .application-grid { display: grid; gap: 18px; }
.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.category { overflow: hidden; border-radius: 7px; border: 1px solid var(--line); }
.category-media { display: block; height: clamp(135px, 16vw, 217px); overflow: hidden; }
.category-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; transition: transform .23s ease; }
.category-multi img { object-position: center bottom; }
.category:hover img, .product-card:hover img { transform: scale(1.035); }
.category-caption { display: flex; justify-content: space-between; align-items: center; padding: 16px 19px; font-size: 1.15rem; }
.arrow { display: inline-block; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.catalog { background: var(--paper); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.text-link { color: #234915; font-weight: 750; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0 20px; }
.filters button { background: #fff; border: 1px solid var(--line); border-radius: 5px; min-height: 42px; padding: 0 13px; font-weight: 650; font-size: .89rem; }
.filters button:hover { border-color: #78976b; }
.filters button[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: #fff; }
.search-summary { margin: 0 0 16px; color: var(--muted); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.product-photo { overflow: hidden; }
.product-photo img { aspect-ratio: 1; object-fit: cover; transition: transform .23s ease; }
.product-copy { padding: 17px; display: flex; flex-direction: column; align-items: start; flex: 1; }
.product-copy h3 { margin-top: 6px; font-size: 1.16rem; letter-spacing: -.028em; }
.product-meta { color: var(--muted); font-size: .84rem; font-weight: 650; }
.product-copy .text-link { font-size: .92rem; margin-top: auto; padding-top: 13px; }
.application-grid { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.application { min-width: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.application-art { height: clamp(190px, 22vw, 310px); background-repeat: no-repeat; }
.application-vase .application-art { position: relative; container-type: size; background: #f3e7dc; }
.application-dragon .application-art { background: #dfc190 url('./silk-yellow.webp') center bottom / cover no-repeat; }
.application-copy { padding: 20px; }
.application-copy h3 { font-size: 1.4rem; letter-spacing: -.025em; }
.application-copy p { color: var(--muted); margin: 6px 0 13px; line-height: 1.48; }
.resources { background: var(--paper); }
.guide-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 40px; }
.accordions { border-top: 1px solid #bac9b4; }
.accordions details { border-bottom: 1px solid #bac9b4; }
.accordions summary { font-weight: 700; padding: 15px 32px 15px 0; position: relative; list-style: none; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 1.3rem; }
.accordions details[open] summary::after { content: '−'; }
.accordions details p { padding: 1px 32px 16px 0; color: var(--muted); line-height: 1.55; }
.order-details { margin: 0; border-top: 1px solid var(--line); }
.order-details > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-details dt { font-weight: 750; }
.order-details dd { margin: 5px 0 0; color: var(--muted); line-height: 1.5; }
.order-details .text-link { display: inline-block; }
.shop-strip { background: var(--green); }
.shop-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 36px; }
.shop-strip h2 { font-size: clamp(1.55rem, 3vw, 2.7rem); }
.site-footer { background: var(--dark-green); color: #f3f6ef; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 22px; padding-block: 47px; }
.site-footer .brand-logo { mix-blend-mode: screen; }
.site-footer .brand-logo img { filter: grayscale(1) contrast(1.75) invert(1); }
.site-footer p { color: #c7d4c3; margin-top: 12px; line-height: 1.5; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links h2 { font-size: 1rem; }
.footer-links a { color: #d6e0d4; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-block: 18px; border-top: 1px solid #4e5d4b; color: #c7d4c3; font-size: .85rem; }

.search-dialog { width: min(520px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 10px; padding: 23px; color: var(--ink); }
.search-dialog::backdrop { background: #142116a8; }
.search-line { display: flex; align-items: end; gap: 10px; }
.search-line label { display: grid; flex: 1; gap: 8px; font-weight: 750; }
.search-line input { width: 100%; min-height: 49px; padding: 0 10px; border: 1px solid #879482; border-radius: 5px; }
.search-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.search-title h2 { font-size: 1.45rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); margin-bottom: 22px; font-size: .9rem; }
.breadcrumbs a:hover { text-decoration: underline; }
.details-page { padding-block: 30px 64px; }
.details-grid { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(25px, 5vw, 82px); }
.details-grid figure { background: var(--paper); overflow: hidden; border-radius: 8px; }
.details-grid h1 { font-size: clamp(2.35rem, 4.5vw, 4.6rem); line-height: 1; letter-spacing: -.065em; margin-block: 10px 16px; }
.details-grid .description { color: var(--muted); font-size: 1.11rem; line-height: 1.55; }
.details-grid dl { margin: 22px 0; border-top: 1px solid var(--line); }
.details-grid dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.details-grid dd { margin: 0; font-weight: 650; }
.purchase-panel { padding: 17px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.checkout-note { max-width: 58ch; margin: 10px 0 8px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.purchase-panel .text-link { font-size: .9rem; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 52px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 61px; gap: 10px; }
  .brand-logo { width: 128px; }
  .header-actions { gap: 2px; }
  .header-shop { display: none; }
  .menu-toggle { display: grid; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 6px 16px 16px; border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: grid; gap: 0; }
  .main-nav > a, .main-nav .mobile-shop { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .hero-inner { min-height: 0; display: block; padding-block: 32px 0; }
  .hero-copy { max-width: none; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(2.85rem, 9vw, 4rem); margin-block: 11px 12px; }
  .hero-copy p:not(.eyebrow) { margin-bottom: 17px; }
  .hero-art { position: relative; inset: auto; height: clamp(225px, 63vw, 380px); margin-top: 10px; }
  .hero-slide { display: flex; flex-direction: column-reverse; padding-bottom: 33px; }
  .hero-petg .hero-art { background-size: cover; mask-image: linear-gradient(180deg, transparent, #000 9%); }
  .hero-controls { bottom: 7px; }
  .purchase-links-grid a { flex-direction: column; align-items: start; gap: 6px; padding: 12px 7px; }
  .purchase-icon { flex-basis: auto; width: 30px; height: 30px; }
  .purchase-icon svg { width: 18px; height: 18px; }
  .purchase-links-grid strong { font-size: .82rem; line-height: 1.25; }
  .purchase-links-grid small { font-size: .76rem; }
  .category-grid { gap: 8px; margin-top: 16px; }
  .category-media { height: clamp(88px, 26vw, 150px); }
  .category-caption { padding: 9px 7px; font-size: .85rem; gap: 4px; }
  .category-caption .arrow { width: 6px; height: 6px; flex: 0 0 6px; }
  .section-top { align-items: start; flex-direction: column; gap: 11px; }
  .product-grid { gap: 9px; }
  .product-copy { padding: 11px; }
  .product-copy h3 { font-size: 1rem; }
  .product-meta, .product-copy .text-link { font-size: .8rem; }
  .application-grid, .guide-grid, .details-grid { grid-template-columns: 1fr; gap: 18px; }
  .shop-inner { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
