@font-face {
  font-family: LocalSong;
  src: local("Songti SC"), local("STSong");
  font-display: swap;
}
:root {
  --paper: #f8f6f1;
  --ink: #292923;
  --muted: #85837c;
  --line: #dfdad1;
  --accent: #ac6049;
  --accent-dark: #8f4935;
  --soft: #eee5dc;
  --serif: LocalSong, "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button {
  background: none;
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2 {
  font-family: var(--serif);
}
h1 {
  font-size: 42px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 23px;
  line-height: 1.5;
}
button svg,
a svg {
  flex-shrink: 0;
}
.icon {
  vertical-align: middle;
  flex-shrink: 0;
}
a,
button {
  touch-action: manipulation;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 20px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 10px;
}
.muted,
.fineprint {
  color: var(--muted);
}
.fineprint {
  font-size: 12px;
  line-height: 1.8;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 500;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding: 4px 0;
}
.text-link:hover {
  border-color: var(--accent);
}
.text-button {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #b9aea0;
  border-radius: 3px;
  line-height: 1.5;
  transition:
    background 0.2s,
    border-color 0.2s;
  color: var(--ink);
  font-size: 14px;
  background: transparent;
  white-space: normal;
}
.button:hover {
  border-color: var(--accent);
  background: #b86b5010;
  color: var(--accent);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.button.is-added {
  background: #ad614b0a;
  border-color: var(--accent);
  color: var(--accent);
}
.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.icon-button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.site-header {
  height: 96px;
  padding: 0 4.6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  line-height: 1;
}
.brand > span {
  font: 34px/1 var(--serif);
  letter-spacing: 0.12em;
}
.brand small {
  font:
    18px Georgia,
    serif;
  letter-spacing: 0.23em;
}
.desktop-nav {
  display: flex;
  gap: 34px;
  margin-right: auto;
  margin-left: 55px;
  height: 100%;
  align-items: center;
}
.desktop-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 13px;
}
.desktop-nav a[aria-current] {
  color: var(--accent);
}
.desktop-nav a[aria-current]:after {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 24px;
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  white-space: nowrap;
}
.language-switch span {
  color: #aaa;
}
.language-switch a[aria-current] {
  color: var(--accent);
}
.header-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-size: 12px;
}
.header-box b {
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
}
.menu-toggle {
  display: none;
  padding: 8px;
}
.menu-toggle .icon {
  width: 26px;
  height: 26px;
}
.menu-dialog {
  border: 0;
  border-left: 1px solid var(--line);
  margin: 0 0 0 auto;
  padding: 28px 36px;
  width: min(420px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #24211e50;
  backdrop-filter: blur(3px);
}
.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-dialog nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 70px 0;
}
.menu-dialog nav a {
  font: 28px/1.5 var(--serif);
}
.menu-dialog > p {
  font-size: 12px;
  color: var(--muted);
}
.page {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 58px 4.6% 90px;
  min-height: calc(100svh - 210px);
}
.page-heading h1 {
  margin-top: 10px;
}
.page-heading > .muted {
  margin-top: 16px;
}
.site-footer {
  margin: 0 4.6%;
  border-top: 1px solid var(--line);
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
  padding: 25px 0;
}
.footer-brand {
  font: 24px var(--serif);
  color: var(--ink);
  white-space: nowrap;
}
.footer-brand small {
  font: 12px Georgia;
  letter-spacing: 0.18em;
  margin-left: 8px;
}
.site-footer > p {
  margin-right: auto;
}
.mobile-box {
  display: none;
}
.home-page {
  background: radial-gradient(
    ellipse at 50% 45%,
    #fffcf6 0%,
    #f9f5ee 55%,
    #f2ede5 100%
  );
  height: 100svh;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.home-page .site-header {
  border: 0;
  height: 136px;
  padding: 28px 4.5%;
  flex-shrink: 0;
  align-items: flex-start;
}
.brand-home {
  display: block;
}
.brand-home > span {
  font-size: 43px;
  letter-spacing: 0.18em;
}
.brand-home small {
  display: block;
  font: 9px var(--sans);
  letter-spacing: 0.65em;
  margin-top: 13px;
  margin-left: 1px;
}
.home-page .header-tools {
  padding-top: 13px;
  gap: 36px;
}
.home-page .language-switch {
  font: 15px var(--serif);
  gap: 13px;
}
.home-page .menu-toggle {
  display: block;
  padding: 0;
}
.home-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sphere-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  isolation: isolate;
}
#sphere {
  width: min(70vh, 62vw, 750px);
  height: auto;
  aspect-ratio: 1;
  position: relative;
  touch-action: none;
  cursor: grab;
  outline-offset: 12px;
}
#sphere:active {
  cursor: grabbing;
}
.sphere-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16.5%;
  aspect-ratio: 1;
  transform-origin: center;
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-drag: none;
  outline-offset: 2px;
}
.sphere-node img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: drop-shadow(2px 7px 5px #56472b20);
  transition: filter 0.3s;
  clip-path: polygon(5% 3%, 94% 0, 98% 90%, 88% 96%, 2% 100%, 0 9%);
}
.sphere-node.cutout img {
  clip-path: none;
  mix-blend-mode: multiply;
  filter: none;
}
.sphere-node::after {
  position: absolute;
  content: "+";
  right: -10px;
  bottom: -10px;
  border: 1px solid var(--accent);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--paper);
  opacity: 0;
  font: 20px Georgia;
  transition: opacity 0.2s;
}
.sphere-node:hover::after,
.sphere-node:focus-visible::after {
  opacity: 1;
}
.sphere-node:hover img {
  filter: drop-shadow(2px 12px 8px #56472b30);
  scale: 1.08;
}
.sphere-shadow {
  position: absolute;
  width: min(50vw, 600px);
  height: 25px;
  background: radial-gradient(ellipse, #836d5122, transparent 70%);
  filter: blur(10px);
  bottom: 0;
  z-index: -1;
}
.sphere-hint {
  position: absolute;
  bottom: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 4.5%;
  flex-shrink: 0;
}
.home-footer a {
  display: flex;
  align-items: center;
  gap: 15px;
  font: 17px var(--serif);
  letter-spacing: 0.08em;
}
.home-footer .icon {
  width: 23px;
  height: 23px;
}
#sphere-empty {
  position: absolute;
  max-width: 90%;
}
#sphere-empty .empty-state {
  border: 0;
  background: none;
}
.home-page:has(#sphere-empty:not([hidden])) #sphere {
  visibility: hidden;
}
.collection-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d1ccc3;
  border-radius: 4px;
  padding: 4px 12px 4px 16px;
  width: 390px;
  max-width: 100%;
  background: #ffffff20;
}
.search-form > svg {
  color: var(--muted);
}
.search-form input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  padding: 9px 0;
  min-width: 0;
}
.search-form button {
  padding: 8px;
  display: flex;
  color: var(--muted);
}
.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 28px 0 18px;
  scrollbar-width: thin;
}
.category-tabs a {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 6px 20px;
  flex-shrink: 0;
  font-size: 13px;
}
.category-tabs .active {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}
.category-description {
  color: var(--muted);
  max-width: 700px;
  margin: 10px 0 15px;
}
.collection-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 12px 0 22px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 22px;
}
.product-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--soft);
  border-radius: 3px;
}
.product-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-image:hover img {
  transform: scale(1.035);
}
.sample-label {
  font-size: 10px;
  letter-spacing: 0.02em;
  color: #6d5a49;
  border: 1px solid #a28a6f55;
  background: #f9f3e9e6;
  padding: 2px 7px;
  border-radius: 2px;
}
.product-image > .sample-label {
  position: absolute;
  top: 12px;
  left: 12px;
}
.product-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  align-items: center;
}
.product-caption h2 {
  font-size: 18px;
}
.sku {
  font: 12px var(--sans);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.product-caption .compact {
  padding: 6px 10px;
  min-height: 34px;
  font-size: 11px;
  gap: 6px;
}
.compact .icon {
  width: 15px;
  height: 15px;
}
.empty-state {
  text-align: center;
  padding: 70px 25px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.empty-state p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 13px;
}
.empty-state .actions {
  justify-content: center;
  margin-top: 25px;
}
.empty-symbol {
  margin: 0 auto 20px;
  color: var(--accent);
}
.empty-symbol .icon {
  width: 35px;
  height: 35px;
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 65px;
  padding-top: 40px;
  align-items: start;
}
.gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  position: relative;
  background: var(--soft);
  overflow: hidden;
  border-radius: 2px;
}
.gallery-main > img {
  width: 100%;
  aspect-ratio: 1/1.08;
  object-fit: cover;
  height: auto;
}
.gallery-main > .icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--paper);
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 2px;
}
.gallery-thumbs button {
  width: calc((100% - 40px) / 5);
  min-width: 65px;
  max-width: 110px;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 3px;
}
.gallery-thumbs button.active {
  border-color: var(--accent);
}
.gallery-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-info {
  padding-top: 5px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 40px;
}
.product-info > .eyebrow {
  margin-bottom: 12px;
}
.product-info h1 {
  margin-top: 12px;
  font-size: 36px;
}
.detail-sku {
  font:
    22px/1.6 Georgia,
    serif;
  margin: 8px 0 25px;
  letter-spacing: 0.02em;
}
.product-description {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 16px;
  color: #66645e;
  white-space: pre-line;
  line-height: 1.9;
}
.sample-note {
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0;
}
.parameters {
  margin: 25px 0 0;
  border-top: 1px solid var(--line);
}
.parameters > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.parameters dt {
  color: var(--muted);
}
.parameters dd {
  margin: 0;
  white-space: pre-line;
}
.product-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.product-categories a {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 12px;
  color: var(--muted);
}
.detail-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}
.detail-actions .button {
  width: 100%;
  min-height: 50px;
}
.product-info > .fineprint {
  text-align: center;
  margin-top: 15px;
}
.preview-bar {
  grid-column: 1/-1;
  background: var(--soft);
  padding: 10px 20px;
  color: var(--accent);
  border: 1px solid var(--line);
  font-size: 12px;
}
.image-dialog {
  padding: 35px 25px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--paper);
  width: min(1000px, 95vw);
  max-height: 94dvh;
  color: var(--ink);
}
.image-dialog > .icon-button {
  position: absolute;
  right: 12px;
  top: 12px;
  background: var(--paper);
}
.image-dialog > img {
  max-height: 80dvh;
  margin: auto;
  object-fit: contain;
}
.image-dialog > p {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.box-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 44px;
  margin-top: 34px;
}
.section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.section-toolbar [data-box-count] {
  font: 22px Georgia;
  color: var(--accent);
  margin: 0 5px;
}
.box-row {
  display: flex;
  gap: 23px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.box-row img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 3px;
}
.box-row-info {
  flex: 1;
  min-width: 0;
}
.box-row h2 {
  font-size: 20px;
  overflow-wrap: anywhere;
}
.box-row .sku {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: var(--ink);
}
.box-row .unavailable {
  font-size: 11px;
  color: var(--accent);
  margin-top: 7px;
}
.box-row .icon-button {
  width: 28px;
  height: 28px;
}
.box-row .icon-button svg {
  width: 13px;
  height: 13px;
}
.copy-panel {
  background: #eee2d85e;
  padding: 30px;
  border-radius: 5px;
  align-self: start;
  position: sticky;
  top: 24px;
}
.copy-panel h2 {
  margin: 10px 0 20px;
}
.copy-panel textarea {
  width: 100%;
  resize: vertical;
  min-height: 180px;
  background: #fffcf980;
  border: 1px solid #e6d9cf;
  padding: 18px;
  font-size: 14px;
  line-height: 2;
  border-radius: 3px;
  margin-bottom: 15px;
}
.copy-panel > .button {
  width: 100%;
}
.copy-panel > .fineprint {
  text-align: center;
  margin-top: 12px;
}
.panel-divider {
  height: 1px;
  background: #d8c3b4;
  margin: 24px 0;
}
.continue-link {
  margin-top: 25px;
}
.box-empty {
  padding: 55px 10px;
  text-align: center;
  color: var(--muted);
}
.contact-page {
  padding-top: 70px;
}
.contact-intro {
  max-width: 650px;
  margin-bottom: 45px;
}
.contact-intro > p {
  margin: 20px 0;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.contact-card {
  background: #fffaf4;
  border: 1px solid var(--line);
  padding: 28px;
  text-align: center;
  border-radius: 4px;
}
.contact-card h2 {
  margin: 8px 0 24px;
}
.contact-card button {
  padding: 0;
  max-width: 240px;
  width: 100%;
  background: #fff;
}
.contact-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
}
.contact-card > .fineprint {
  margin-top: 20px;
}
.contact-placeholder {
  grid-column: 1/-1;
  border: 1px solid var(--line);
  padding: 50px;
  text-align: center;
}
.contact-placeholder > .icon {
  width: 35px;
  height: 35px;
  color: var(--accent);
  margin-bottom: 20px;
}
.contact-placeholder p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}
.company-contact {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 30px;
}
.company-contact p {
  margin-top: 12px;
}
.about-page {
  padding-top: 75px;
}
.about-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 100px;
  align-items: end;
}
.about-heading > .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 24px;
}
.about-heading h1 {
  font-size: 52px;
  line-height: 1.5;
}
.about-company h2 {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-company p {
  font-size: 13px;
  color: var(--muted);
}
.about-photo,
.about-weave {
  margin: 60px 0;
}
.about-photo img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}
.about-weave {
  height: 240px;
  display: grid;
  place-items: center;
  background-color: #e9e1d5;
  background-image:
    repeating-linear-gradient(90deg, #bba68b15 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, #a58d7018 0 1px, transparent 1px 5px);
  color: #8e7a62;
}
.about-weave span {
  font: 36px var(--serif);
  letter-spacing: 0.7em;
  margin-left: 0.7em;
}
.about-copy {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
}
.about-copy h2 {
  font-size: 29px;
  margin-bottom: 22px;
}
.about-copy p:not(.eyebrow) {
  color: var(--muted);
  white-space: pre-line;
  line-height: 2;
}
.about-copy .text-link {
  margin-top: 25px;
}
.legal-page {
  max-width: 850px;
}
.legal-page h2 {
  margin-top: 35px;
  margin-bottom: 12px;
  font-size: 22px;
}
.legal-page p {
  color: var(--muted);
}
.legal-page > .button {
  margin-top: 35px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 200;
  background: #302e29;
  color: white;
  border-radius: 4px;
  padding: 14px 24px;
  box-shadow: 0 6px 25px #0002;
  font-size: 13px;
  max-width: calc(100vw - 30px);
  width: max-content;
}
.toast button {
  color: #f2c5a8;
  text-decoration: underline;
  margin-left: 15px;
}
.confirm-dialog {
  width: min(430px, calc(100vw - 40px));
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--paper);
  border-radius: 5px;
  color: var(--ink);
}
.confirm-dialog p {
  color: var(--muted);
  margin: 15px 0 25px;
}
.confirm-dialog .actions {
  justify-content: flex-end;
}
.loading-state {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .page {
    max-width: 1440px;
  }
  .site-header {
    padding-left: 6%;
    padding-right: 6%;
  }
  .home-page .site-header {
    padding-left: 4.5%;
    padding-right: 4.5%;
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 20px;
    margin-left: 10px;
  }
  .brand small {
    font-size: 15px;
  }
  .header-tools {
    gap: 16px;
  }
  .product-caption {
    display: block;
  }
  .product-caption .button {
    width: 100%;
    margin-top: 10px;
  }
  .product-detail {
    gap: 35px;
  }
  .box-layout {
    gap: 25px;
  }
  .site-footer {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .site-header {
    height: 78px;
    padding: 0 24px;
  }
  .brand > span {
    font-size: 29px;
  }
  .brand small {
    font-size: 13px;
    letter-spacing: 0.17em;
  }
  .brand {
    gap: 12px;
  }
  .desktop-nav {
    display: none;
  }
  .header-box {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .header-tools {
    gap: 17px;
  }
  .page {
    padding: 35px 24px 65px;
  }
  h1 {
    font-size: 34px;
  }
  .collection-top {
    gap: 20px;
  }
  .search-form {
    width: 300px;
  }
  .product-grid {
    gap: 30px 16px;
  }
  .product-detail {
    grid-template-columns: 1.1fr 1fr;
    gap: 25px;
  }
  .product-info h1 {
    font-size: 29px;
  }
  .breadcrumb {
    margin-bottom: 25px;
  }
  .detail-sku {
    font-size: 20px;
  }
  .box-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 1fr);
  }
  .box-row {
    gap: 15px;
  }
  .box-row img {
    width: 80px;
    height: 80px;
  }
  .box-row h2 {
    font-size: 17px;
  }
  .copy-panel {
    padding: 22px;
  }
  .about-heading {
    column-gap: 40px;
  }
  .about-heading h1 {
    font-size: 41px;
  }
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer > p {
    flex-basis: 50%;
    margin-right: 0;
  }
  .site-footer {
    font-size: 10px;
  }
  .about-copy {
    gap: 35px;
  }
  .home-page .site-header {
    height: 112px;
  }
  .home-footer {
    padding: 30px;
  }
  .home-stage #sphere {
    width: min(70vh, 78vw);
  }
  .sphere-shadow {
    width: 65vw;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 13px;
  }
  .site-header {
    height: 72px;
    padding: 0 20px;
    gap: 12px;
  }
  .brand > span {
    font-size: 27px;
  }
  .brand small {
    font-size: 11px;
  }
  .header-tools {
    gap: 13px;
  }
  .language-switch {
    font-size: 10px;
    gap: 6px;
  }
  .menu-toggle .icon {
    width: 23px;
    height: 23px;
  }
  .page {
    padding: 30px 20px 90px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.18em;
  }
  .collection-top {
    display: block;
  }
  .collection-top .page-heading .eyebrow {
    display: none;
  }
  .collection-top .page-heading h1 {
    margin: 0 0 20px;
  }
  .search-form {
    width: 100%;
    padding: 2px 10px 2px 14px;
  }
  .category-tabs {
    margin: 0 -20px;
    padding: 23px 20px 17px;
    gap: 8px;
  }
  .category-tabs a {
    padding: 5px 16px;
    font-size: 12px;
  }
  .collection-meta {
    padding: 12px 0 18px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 12px;
  }
  .product-caption {
    padding-top: 9px;
  }
  .product-caption h2 {
    font-size: 16px;
  }
  .product-caption .sku {
    font-size: 11px;
  }
  .product-caption .button {
    font-size: 11px;
    padding: 8px 3px;
    min-height: 36px;
    gap: 5px;
  }
  .product-image > .sample-label {
    top: 7px;
    left: 7px;
    font-size: 9px;
    padding: 1px 5px;
  }
  .mobile-box {
    display: flex;
    position: fixed;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 20px;
    right: 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    background: var(--accent);
    color: white;
    border-radius: 4px;
    box-shadow: 0 5px 20px #49332125;
    z-index: 20;
    min-height: 48px;
  }
  .mobile-box b {
    font-size: 12px;
    font-weight: 400;
    background: #ffffff20;
    border-radius: 12px;
    padding: 0 7px;
  }
  .mobile-box > .icon:last-child {
    position: absolute;
    right: 15px;
  }
  .mobile-box:hover {
    color: white;
  }
  .box-page ~ .mobile-box,
  .admin-page .mobile-box {
    display: none;
  }
  .site-footer {
    padding: 24px 0 95px;
    margin: 0 20px;
    gap: 12px 20px;
    display: flex;
  }
  .site-footer > p {
    flex-basis: 100%;
    order: 2;
  }
  .site-footer > a:not(.footer-brand) {
    font-size: 10px;
  }
  .site-footer > span {
    margin-left: auto;
  }
  .footer-brand {
    font-size: 23px;
  }
  .footer-brand small {
    font-size: 10px;
  }
  .home-page {
    min-height: 520px;
  }
  .home-page .site-header {
    height: 110px;
    padding: 28px 24px;
  }
  .brand-home > span {
    font-size: 35px;
  }
  .brand-home small {
    font-size: 8px;
    margin-top: 10px;
    letter-spacing: 0.5em;
  }
  .home-page .header-tools {
    gap: 23px;
    padding-top: 5px;
  }
  .home-page .language-switch {
    font-size: 13px;
    gap: 8px;
  }
  .home-stage #sphere {
    width: 86vw;
    height: 86vw;
    max-width: 86vw;
    max-height: 86vw;
    flex-shrink: 0;
  }
  .home-footer {
    padding: 34px 24px max(30px, env(safe-area-inset-bottom));
    gap: 20px;
  }
  .home-footer a {
    font-size: 14px;
    gap: 10px;
  }
  .home-footer .icon {
    width: 20px;
    height: 20px;
  }
  .home-footer a + a {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }
  .sphere-wrap {
    height: 100%;
    max-height: none;
  }
  .sphere-shadow {
    bottom: calc(50% - 47vw);
    width: 76vw;
  }
  .sphere-hint {
    bottom: 8px;
    font-size: 9px;
  }
  .product-detail {
    display: block;
    padding-top: 20px;
  }
  .gallery-main > img {
    aspect-ratio: 1;
  }
  .gallery-thumbs {
    gap: 7px;
    margin-top: 9px;
  }
  .product-info {
    padding-top: 30px;
  }
  .breadcrumb {
    margin-bottom: 25px;
    font-size: 10px;
  }
  .product-info h1 {
    font-size: 30px;
  }
  .product-info > .eyebrow {
    font-size: 9px;
  }
  .detail-sku {
    margin-bottom: 20px;
  }
  .product-description {
    font-size: 13px;
    padding-top: 20px;
  }
  .parameters > div {
    font-size: 12px;
    padding: 12px 0;
  }
  .detail-actions {
    margin-top: 25px;
  }
  .detail-actions .button {
    min-height: 48px;
  }
  .product-info > .fineprint {
    font-size: 11px;
  }
  .box-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 25px;
  }
  .box-row {
    gap: 14px;
    padding: 17px 0;
  }
  .box-row img {
    width: 85px;
    height: 85px;
  }
  .box-row h2 {
    font-size: 18px;
  }
  .box-row .sku {
    font-size: 13px;
  }
  .copy-panel {
    position: static;
    padding: 24px;
  }
  .copy-panel textarea {
    min-height: 160px;
  }
  .contact-page {
    padding-top: 40px;
  }
  .contact-intro {
    margin-bottom: 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-card {
    padding: 25px;
  }
  .company-contact {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 35px;
  }
  .company-contact p {
    margin-top: 7px;
  }
  .contact-placeholder {
    padding: 40px 20px;
  }
  .contact-placeholder h2 {
    font-size: 21px;
  }
  .about-page {
    padding-top: 45px;
  }
  .about-heading {
    display: block;
  }
  .about-heading > .eyebrow {
    margin-bottom: 22px;
  }
  .about-heading h1 {
    font-size: 38px;
  }
  .about-company {
    margin-top: 35px;
  }
  .about-company h2 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .about-weave,
  .about-photo {
    margin: 35px 0;
  }
  .about-weave {
    height: 180px;
  }
  .about-weave span {
    font-size: 28px;
  }
  .about-copy {
    display: block;
  }
  .about-copy > div {
    margin-top: 22px;
  }
  .about-copy h2 {
    font-size: 26px;
  }
  .toast {
    bottom: 80px;
    padding: 12px 18px;
    font-size: 12px;
  }
  .home-page .toast,
  .box-page .toast {
    bottom: 24px;
  }
  .image-dialog {
    padding: 42px 10px 18px;
  }
  .image-dialog > img {
    max-height: 75dvh;
  }
  .empty-state {
    padding: 45px 18px;
  }
  .empty-state h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* Intrinsic HTML dimensions reserve space; CSS controls responsive square thumbnails. */
.product-image img {
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.sphere-node.cutout {
  mix-blend-mode: multiply;
}
.sphere-node.cutout img {
  clip-path: polygon(8% 3%, 91% 1%, 98% 91%, 87% 96%, 3% 98%, 1% 12%);
}
.preview-bar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.preview-bar a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.about-photo {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.about-photo button {
  padding: 0;
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.about-photo img {
  height: auto;
  aspect-ratio: 12/7;
  object-fit: cover;
}
.company-contact.is-empty {
  display: none;
}
.about-weave span:lang(en) {
  font-size: 22px;
  letter-spacing: 0.3em;
  margin-left: 0.3em;
}
@media (max-height: 560px) and (min-width: 601px) {
  .home-page {
    min-height: 360px;
  }
  .home-page .site-header {
    height: 80px;
    padding: 18px 4.5%;
  }
  .brand-home > span {
    font-size: 30px;
  }
  .brand-home small {
    margin-top: 7px;
    font-size: 7px;
  }
  .home-page .header-tools {
    padding-top: 4px;
  }
  .home-stage #sphere {
    width: min(64vh, 62vw);
  }
  .home-footer {
    padding: 20px 4.5%;
  }
  .home-footer a {
    font-size: 14px;
  }
  .home-footer .icon {
    width: 19px;
    height: 19px;
  }
}
.sphere-node {
  width: 15%;
}
@media (max-width: 600px) {
  .sphere-node {
    width: 17%;
  }
}
#sphere.is-dragging, #sphere.is-dragging * { cursor: grabbing; }
#sphere.is-dragging .sphere-node:hover img { scale: 1; }
#sphere.is-dragging .sphere-node::after { opacity: 0; }
/* One 3D globe: each swatch has a fixed local position and tangent orientation. */
#sphere { transform-style: preserve-3d; perspective-origin: 50% 50%; }
.sphere-rotor { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; pointer-events: none; }
.sphere-rotor .sphere-node { transform-origin: 0 0; pointer-events: auto; backface-visibility: visible; mix-blend-mode: normal; }
.sphere-rotor .sphere-node img { backface-visibility: visible; }
/* More room and more swatches on desktop; retain the approved mobile layout. */
@media (min-width: 801px) and (min-height: 561px) {
  .home-stage #sphere { width: min(88vh, 76vw, 1000px); }
  .sphere-node { width: 12.5%; }
  .sphere-shadow { width: min(65vw, 760px); }
}
@media (min-width: 801px) and (min-height: 561px) {
  .sphere-wrap { grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
}
/* Shared, unobstructed home navigation on every page. */
.site-header { position: relative; z-index: 30; }
.brand { position: relative; z-index: 1; flex-shrink: 0; pointer-events: auto; }
.brand > * { pointer-events: none; }
.desktop-nav { gap: 26px; margin-left: 30px; }
.detail-return { grid-column: 1 / -1; margin-bottom: -35px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; min-height: 32px; }
.back-link:hover { color: var(--accent); }
.collection { padding-top: 28px; }
.collection-top { align-items: center; gap: 25px; }
.collection-heading { display: flex; align-items: baseline; gap: 16px; }
.collection-heading h1 { font-size: 30px; line-height: 1.4; letter-spacing: .06em; }
.collection-count { font-size: 10px; color: var(--muted); white-space: nowrap; }
.collection .search-form { width: 310px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 0; gap: 12px; }
.collection .search-form input { font-size: 12px; padding: 10px 0; }
.collection .search-form button { padding-right: 0; }
.search-reset { font-size: 18px; color: var(--muted); }
.collection .category-tabs { gap: 26px; padding: 21px 0 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.collection .category-tabs a { position: relative; padding: 8px 0 13px; font-size: 12px; border: 0; border-radius: 0; color: var(--muted); background: transparent; }
.collection .category-tabs a.active { color: var(--ink); }
.collection .category-tabs a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.collection .category-description { font-size: 12px; margin: -8px 0 24px; }
@media (max-width:1100px) { .desktop-nav { gap: 18px; margin-left: 10px; } }
@media (max-width:600px) {
  .collection { padding-top: 22px; }
  .collection-top { display: flex; flex-wrap: wrap; gap: 14px; }
  .collection-heading { width: 100%; justify-content: space-between; }
  .collection-heading h1 { font-size: 25px; }
  .collection .search-form { width: 100%; }
  .collection .category-tabs { gap: 24px; padding: 13px 20px 0; margin: 0 -20px 20px; }
  .collection .category-tabs a { font-size: 11px; padding: 8px 0 11px; }
  .detail-return { margin: 0 0 15px; }
}
.home-footer { position: relative; }
.home-footer .home-filing { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); font: 10px/1.5 var(--sans); color: var(--muted); letter-spacing: 0; white-space: nowrap; }
@media(max-width:600px) { .home-footer .home-filing { border: 0; padding: 0; bottom: 7px; font-size: 9px; } }
