/* Floating, isolated objects: the only canvases are real, transparent 3D viewers. */
.shop-page { background: #fff; }
.shop-kicker { font-family: 'Space Mono', monospace; font-size: 10px; font-weight: 400; line-height: 1.7; letter-spacing: .12em; text-transform: uppercase; }
.object-stage { position: relative; }
.object-stage model-viewer, .object-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; background: transparent; }
.object-poster { object-fit: contain; pointer-events: none; opacity: 1; transition: opacity .3s ease; }
.object-stage model-viewer { --poster-color: transparent; --progress-bar-color: var(--accent); --progress-mask: transparent; background: transparent; opacity: 0; pointer-events: none; transition: opacity .3s ease; touch-action: none; }
.object-stage model-viewer::part(default-progress-bar) { height: 2px; }
.object-stage.is-ready model-viewer { opacity: 1; pointer-events: auto; }
.object-stage.is-ready .object-poster { opacity: 0; }
.object-load-status { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px; text-align: center; font-size: 10px; color: var(--muted); pointer-events: none; }
.product-experience { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(35px, 5vw, 90px); margin: 40px var(--pad) 0; padding: 55px 0 85px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.product-gallery { min-width: 0; }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.gallery-index { font: 9px 'Space Mono', monospace; color: var(--muted); white-space: nowrap; }
.gallery-index b { font-weight: 400; }
.product-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 25px; }
.product-navigation > span { font: 10px 'Space Mono', monospace; letter-spacing: .12em; text-transform: uppercase; min-width: 92px; text-align: center; }
.product-navigation button { width: 44px; height: 44px; background: transparent; border: 0; font-size: 20px; }
.product-navigation button:hover { color: var(--accent); }
.detail-stage { width: 100%; height: clamp(330px, 37vw, 590px); }
.gallery-footnote { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 44px; color: var(--muted); font: 9px 'Space Mono', monospace; letter-spacing: .04em; text-transform: uppercase; }
.reset-view { border: 0; background: none; padding: 12px 0 12px 12px; font: inherit; text-transform: inherit; }
.reset-view span { margin-left: 8px; }
.gallery-inspirations { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }
.gallery-inspiration { font-size: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gallery-inspiration span { margin-left: 24px; }
.gallery-inspiration:hover { border-bottom-color: var(--accent); color: var(--accent); }
.product-information { padding-top: 5px; }
#product-title { margin-top: 23px; font-size: clamp(62px, 7.5vw, 115px); overflow-wrap: anywhere; }
#product-title > span { color: var(--accent); }
.product-subtitle { margin-top: 18px; font-size: 18px; line-height: 1.45; }
.product-description { margin-top: 16px; color: var(--muted); max-width: 440px; font-size: 13px; line-height: 1.85; }
.piece-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(24px, 4vw, 54px);
  width: fit-content;
  max-width: 100%;
  margin: 16px 0 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.piece-facts dt { color: var(--muted); font: 10px/1.5 'Space Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.piece-facts dd { margin: 3px 0 0; color: var(--ink); font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.product-options .size-options[hidden] { display: none; }
.product-options fieldset { border: 0; padding: 0; margin: 25px 0 0; min-width: 0; }
.product-options legend { display: block; width: 100%; margin-bottom: 12px; padding: 0; font-size: 12px; }
.product-options #color-name { float: right; font-size: 10px; color: var(--muted); line-height: 18px; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch { display: grid; place-items: center; width: 42px; height: 42px; padding: 5px; border: 1px solid transparent; border-radius: 50%; background: transparent; }
.color-swatch span { width: 28px; height: 28px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); pointer-events: none; }
.color-swatch[aria-checked="true"] { border-color: var(--ink); }
.size-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.size-button { min-height: 44px; padding: 12px 20px; border: 1px solid var(--line); background: transparent; font-size: 11px; }
.size-button[aria-checked="true"] { border-color: var(--ink); }
.purchase-row { display: flex; gap: 15px; margin-top: 26px; }
.quantity-control { display: flex; align-items: center; flex: 0 0 115px; border: 1px solid var(--line); height: 55px; }
.quantity-control button { width: 35px; height: 100%; padding: 0; border: 0; background: transparent; font-size: 17px; }
.quantity-control input { width: 41px; padding: 0; border: 0; background: transparent; text-align: center; appearance: textfield; -moz-appearance: textfield; font-size: 12px; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.shop-add { flex: 1 1 auto; justify-content: space-between; min-width: 0; min-height: 55px; padding: 16px 20px; font-size: 10px; }
.purchase-note { margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.shop-add-status { min-height: 18px; margin-top: 8px; font-size: 11px; color: var(--accent); }
.product-details { margin-top: 20px; }
.product-details details { border-top: 1px solid var(--line); }
.product-details details:last-child { border-bottom: 1px solid var(--line); }
.product-details summary { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; font-size: 12px; cursor: pointer; list-style: none; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary span { font-size: 16px; line-height: 1; }
.product-details details[open] summary span { transform: rotate(45deg); }
.product-details details p { padding-bottom: 20px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.product-details details a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 950px) {
  .product-experience { gap: 35px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .purchase-row { flex-wrap: wrap; }
  .shop-add { flex-basis: 100%; }
  .gallery-head { gap: 10px; }
  .gallery-head .shop-kicker { font-size: 8px; }
  .gallery-index { font-size: 8px; }
}
@media (max-width: 700px) {
  .product-experience { grid-template-columns: 1fr; gap: 45px; margin-top: 20px; padding-top: 32px; padding-bottom: 55px; }
  .detail-stage { height: clamp(310px, 87vw, 520px); }
  .gallery-head .shop-kicker { font-size: 9px; }
  .gallery-inspirations { margin-top: 12px; }
  .product-information { max-width: 560px; }
  #product-title { font-size: clamp(65px, 15vw, 100px); margin-top: 17px; }
  .product-subtitle { font-size: 17px; }
  .product-description { max-width: none; }
  .purchase-row { flex-wrap: nowrap; }
  .shop-add { flex-basis: auto; }
}
@media (max-width: 380px) {
  .purchase-row { flex-wrap: wrap; }
  .shop-add { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page *, .shop-page *::before, .shop-page *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation: none !important; }
}
.motion-paused .shop-page, .motion-paused .object-poster, .motion-paused .object-stage model-viewer { transition: none; }

/* Boutique : catalogue vertical des éditions archivées. */
.weekly-drops {
  background: #f8f7f4;
  min-height: 65vh;
  padding: clamp(32px, 4.8vw, 72px) var(--pad) clamp(48px, 7vw, 100px);
}
.archive-index-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 46px);
}
#drops-title { font-size: clamp(48px, 5.7vw, 90px); }
.archive-category-nav { display: flex; gap: 24px; }
.archive-category-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.archive-category-nav a:hover { color: var(--accent); }
.weekly-drop-note { margin: 0 0 24px; max-width: 54rem; font-size: 15px; line-height: 1.55; color: var(--muted); }
.current-drop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; margin-bottom: 24px; }
.current-drop strong { font-size: 15px; }
.current-drop [data-drop-links] { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.current-drop a { display: inline-flex; align-items: center; min-height: 44px; }
.current-drop[hidden] { display: none; }
.archive-category { border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.archive-category + .archive-category { margin-top: clamp(48px, 6vw, 96px); }
.archive-category h2 { margin: 18px 0 24px; font-size: clamp(32px, 3.2vw, 50px); }
.drop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 64px) clamp(18px, 2.2vw, 38px);
}
.drop-object { min-width: 0; scroll-margin-top: 16px; }
.drop-card { position: relative; display: block; color: inherit; text-decoration: none; }
.drop-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.drop-status {
  position: absolute;
  z-index: 1;
  top: clamp(8px, 1vw, 16px);
  left: clamp(8px, 1vw, 16px);
  padding: 6px 9px;
  color: #fff;
  background: var(--ink);
  font: 9px/1.6 'Space Mono', monospace;
  letter-spacing: .08em;
  white-space: nowrap;
}
.drop-visual { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; }
.drop-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.drop-preview-layer { transition: opacity 850ms ease, transform .45s var(--ease); }
.drop-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.drop-caption h3 { min-width: 0; font-size: clamp(24px, 2.4vw, 38px); overflow-wrap: anywhere; }
.drop-caption .study-code { font-size: .65em; color: var(--muted); }
.drop-caption > span { font-size: 20px; }
.drop-meta, .drop-finishes { margin-top: 8px; color: var(--muted); font: 10px/1.6 'Space Mono', monospace; letter-spacing: .035em; }
.drop-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; text-transform: uppercase; }
.drop-price { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.drop-card[data-available] .drop-status, .edition-status[data-available] { background: #12583e; color: white; }
@media (max-width: 850px) {
  .drop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .drop-grid { grid-template-columns: 1fr; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shop-page:not(.motion-paused) .drop-card:hover .drop-preview-layer { transform: scale(1.025); }
}
.motion-paused .drop-preview-layer { transition: none; }

/* Pages de détail ouvertes depuis la boutique ou le sur mesure. */
html:not(.product-view) .product-experience { display: none; }
html.product-view .weekly-drops { display: none; }
html.product-view .product-experience { display: grid; margin-top: 0; row-gap: 24px; }
.product-back { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 10px/1.5 'Space Mono', monospace; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.product-back > span { font: 20px/1 'DM Sans', sans-serif; }
.product-back:hover { border-color: var(--ink); background: #f8f7f4; }
.product-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.product-scenarios { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.scenarios-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.scenarios-heading h2 { margin-top: 7px; font-size: clamp(24px, 2.5vw, 36px); }
.scenarios-heading .text-link { flex: 0 0 auto; font-size: 9px; }
.product-scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.product-scene-card { display: block; min-width: 0; color: inherit; text-decoration: none; }
.product-scene-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #f1f0ed; transition: opacity .25s ease; }
.product-scene-card:hover img { opacity: .82; }
.product-scene-copy { display: grid; gap: 4px; padding-top: 9px; }
.product-scene-copy small { color: var(--muted); font: 8px 'Space Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.product-scene-copy strong { font-size: 14px; font-weight: 500; }
.product-scene-copy em { color: var(--muted); font: normal 9px 'Space Mono', monospace; text-transform: uppercase; }
.product-scene-empty { color: var(--muted); font-size: 13px; line-height: 1.6; }

.edition-panel { margin: 22px 0; padding: 18px; border: 1px solid var(--line); background: #f8f7f4; }
.edition-panel[hidden], .product-options[hidden] { display: none; }
.edition-status { display: inline-block; padding: 6px 9px; color: #fff; background: var(--ink); font: 9px 'Space Mono', monospace; letter-spacing: .1em; }
.edition-panel p { margin: 11px 0; font-size: 14px; line-height: 1.55; }

@media (max-width: 700px) {
  .product-scenarios { margin-top: 24px; padding-top: 20px; }
  .product-scene-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; }
}

/* Fiches des éditions archivées. */
.archive-experience { display: none; }
html.archive-view .weekly-drops { display: none; }
html.archive-view .archive-experience {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px clamp(35px, 5vw, 90px); margin: 0 var(--pad);
  padding: 55px 0 85px; border-top: 1px solid var(--line);
}
.archive-gallery { min-width: 0; background: #fff; }
.archive-gallery img { display: block; width: 100%; height: clamp(360px, 43vw, 680px); object-fit: contain; }
.archive-information { min-width: 0; padding-top: 8px; }
.archive-information h1 { margin-top: 23px; font-size: clamp(48px, 6vw, 96px); overflow-wrap: anywhere; }
.archive-information h1 > span { color: var(--accent); }
.archive-description { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 440px; }
.archive-information .edition-panel { margin-top: 28px; }
.archive-notify { margin: 18px 0; }
.edition-panel [hidden] { display: none; }
#edition-reservation { margin: 18px 0; max-width: 32rem; }
#edition-reservation fieldset { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; padding: 0; border: 0; }
#edition-reservation label { display: grid; gap: 5px; font-size: 14px; }
.reservation-email { flex: 1 1 14rem; min-width: 0; }
#edition-reservation input, #edition-reservation select { min-height: 44px; width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 8px 12px; background: #fff; font-size: 16px; color: var(--ink); }
#edition-reservation .button { min-height: 44px; }
#edition-reservation small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.edition-panel .reservation-feedback:empty { margin: 0; }
.reservation-feedback { overflow-wrap: anywhere; }
.archive-notify [hidden], .archive-notify[hidden] { display: none; }
.archive-notify .button { min-height: 44px; padding: 12px 18px; }
.notify-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
#archive-notify-form { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; max-width: 32rem; }
.edition-panel .notify-context { margin: 0 0 14px; font: 10px/1.6 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .055em; color: var(--muted); overflow-wrap: anywhere; }
.notify-fields { display: grid; gap: 10px; padding: 0; border: 0; margin: 0; min-width: 0; }
.notify-email-label { font-size: 14px; }
.notify-email { width: 100%; min-height: 45px; font-size: 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 0; padding: 10px 12px; }
.notify-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.notify-consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); }
.notify-submit { justify-self: start; margin-top: 4px; }
.edition-panel .notify-status { margin: 12px 0 0; font-size: 14px; }
.edition-panel .notify-status:empty { margin: 0; }
.notify-status[data-error] { color: var(--accent); }
@media (max-width: 700px) {
  html.archive-view .archive-experience { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 55px; }
  .archive-gallery img { height: clamp(310px, 90vw, 520px); }
  .archive-information h1 { font-size: clamp(46px, 13vw, 76px); }
}

/* Announcements and field labels remain available to screen readers. */
.shop-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.archive-information .archive-edition{font:10px/1.7 'Space Mono',monospace;letter-spacing:.08em;text-transform:uppercase}

/* Finish previews share one limited edition per archive model. */
.archive-finishes{min-width:0;margin:26px 0 0;padding:0;border:0}
.archive-finishes[hidden]{display:none}
.archive-finishes legend{display:flex;justify-content:space-between;gap:20px;width:100%;padding:0;margin-bottom:12px;font-size:12px}
.archive-finishes [data-archive-finish-name]{color:var(--muted);font-size:11px}
.archive-finish-options{display:flex;flex-wrap:wrap;gap:10px}
.archive-finish{min-height:44px;padding:12px 20px;border:1px solid var(--line);background:#fff;color:var(--ink);font:10px/1.5 'Space Mono',monospace;letter-spacing:.05em;text-transform:uppercase}
.archive-finish[aria-checked=true]{border-color:var(--ink);background:var(--ink);color:#fff}
.archive-finish:hover{border-color:var(--ink)}
.archive-finish:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.archive-finish-note{margin-top:12px;color:var(--muted);font-size:11px;line-height:1.6}

.object-stage model-viewer.free-rotation { cursor: grab; }
.object-stage model-viewer.free-rotation.is-dragging { cursor: grabbing; }
.object-stage model-viewer.free-rotation:focus-visible { outline: 1px solid var(--accent); outline-offset: -5px; }

/* Références numériques des pièces. */
.product-information { min-width: 0; }
.study-code { display: block; margin-top: .18em; line-height: 1.2; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#product-title > .study-code, .archive-information h1 > .study-code { font-size: clamp(22px, 2.7vw, 44px); }
.product-navigation > span { min-width: 0; overflow-wrap: anywhere; }
.product-navigation button { flex: 0 0 44px; }
@media (max-width: 700px) {
  #product-title > .study-code, .archive-information h1 > .study-code { font-size: clamp(22px, 5.6vw, 38px); }
  .product-navigation { gap: 12px; }
}
