:root {
  --wine:#51162f; --deep:#351e28; --cream:#f7f0db; --ice:#b8b7de;
  --muted:#d4b9c9; --rule:#f7f0db29; --header:#51162ff5;
  --panel:#b8b7de; --panel-ink:#51162f; --panel-muted:#59354b;
  --action:#eee498; --action-ink:#51162f; --hover:#ffffff0d;
  --control-surface:#f8f2e8; --control-hover:#eae3d8; --control-ink:#30352f;
  --feedback-surface:var(--panel); --feedback-ink:var(--panel-ink);
  --count-surface:var(--ice); --count-ink:var(--wine);
  --hero-accent:var(--ice); --hero-action:var(--action); --hero-action-ink:var(--action-ink);
  --brand-dot:var(--ice); --product-link:var(--ice);
  --page-gutter:48px; --grid-gap:24px; --header-offset:98px;
  --ease:cubic-bezier(.22,1,.36,1);
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  color:var(--cream); background:var(--wine); color-scheme:dark; font-synthesis:none;
}
/* Reference-led studies: colour belongs to the interface, never to the photographs. */
:root[data-palette="olive"] {
  --wine:#b9bc72; --deep:#9c9f5b; --cream:#351e28; --ice:#4d283c;
  --muted:#4c4231; --rule:#351e2829; --header:#b9bc72f5;
  --panel:#e8acd0; --panel-ink:#351e28; --panel-muted:#624257;
  --action:#e8acd0; --action-ink:#351e28; --hover:#351e2809;
  color-scheme:light;
}
:root[data-palette="topaz"] {
  --wine:#d7efff; --deep:#b9d7eb; --cream:#351e28; --ice:#a33417;
  --muted:#625661; --rule:#351e2820; --header:#d7effff5;
  --panel:#ff5c34; --panel-ink:#3d160e; --panel-muted:#4f1d10;
  /* Butter holds the opening; plum carries the title; orange marks the story and actions. */
  --butter:var(--butter-bright); --butter-hover:color-mix(in srgb,var(--butter) 80%,#fff);
  --action:var(--butter); --action-ink:#351e28; --hover:#351e2809;
  --control-surface:var(--butter); --control-hover:var(--butter-hover); --control-ink:#351e28;
  --feedback-surface:var(--butter); --feedback-ink:#351e28;
  --count-surface:var(--butter); --count-ink:#351e28;
  --butter-bright:#f5e4ac; --orange:#ff5c34;
  --hero-accent:var(--cream);
  --brand-dot:var(--orange); --product-link:var(--orange);
  --hero-action:var(--orange); --hero-action-ink:#3d160e;
  color-scheme:light;
}
:root[data-palette="topaz"][data-butter="fresh"] {--butter-bright:#f3e58c}
:root[data-palette="topaz"][data-butter="churned"] {--butter-bright:#eedab1}
/* Previous study links remain usable for comparison. */
:root[data-palette="bordeaux"] {
  --wine:#421526; --deep:#2e0d1b; --cream:#f8efdf; --ice:#c9e1e9;
  --muted:#d6bdc5; --rule:#f8efdf29; --header:#421526f5;
  --panel:#d5e6eb; --panel-ink:#421526; --panel-muted:#66505a;
  --action:#f8efdf; --action-ink:#421526;
  --hero-action:#f8f2e8; --hero-action-ink:#30352f;
}
:root[data-palette="pine"] {
  --wine:#233d35; --deep:#182a24; --cream:#f5efdf; --ice:#e4bda9;
  --muted:#c6d4c9; --rule:#f5efdf29; --header:#233d35f5;
  --panel:#e4e6d9; --panel-ink:#233d35; --panel-muted:#53645a;
  --action:#f5efdf; --action-ink:#233d35;
  --hero-action:#f8f2e8; --hero-action-ink:#30352f;
}
:root[data-palette="chalk"] {
  --wine:#f3f0e9; --deep:#e2ded4; --cream:#29332f; --ice:#294c83;
  --muted:#616761; --rule:#29332f29; --header:#f3f0e9f5;
  --panel:#294c83; --panel-ink:#faf4e9; --panel-muted:#dbe3ef;
  --action:#294c83; --action-ink:#faf4e9; --hover:#29332f08;
  --hero-action:#f8f2e8; --hero-action-ink:#30352f;
  color-scheme:light;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scrollbar-gutter:stable}
body {margin:0}
body.modal-open {overflow:hidden}
[hidden] {display:none!important}
a {color:inherit;text-decoration:none}
button {font:inherit;color:inherit;cursor:pointer}
button,a,summary {touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible {outline:2px solid var(--ice);outline-offset:4px}
:where(a,button,[tabindex]),.story-section,.objects-section,.design-notes {scroll-margin-top:var(--header-offset)}
img {display:block;max-width:100%}
.page {max-width:1280px;padding:0 var(--page-gutter);margin:auto}
.sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link {position:fixed;top:-80px;left:20px;z-index:25;padding:15px;background:var(--ice);color:var(--wine)}
.skip-link:focus {top:12px}

/* Shared alignment from navigation to footer. */
.site-header {position:sticky;top:0;z-index:15;display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;min-height:78px;margin:0 calc(-1 * var(--page-gutter));padding:12px var(--page-gutter);border-bottom:1px solid var(--rule);background:var(--header);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.wordmark {font-size:2.625rem;line-height:1;font-weight:700;letter-spacing:.015em}
.wordmark span {color:var(--brand-dot)}
.site-header nav {margin-left:auto;display:flex;align-items:center;flex-wrap:wrap;gap:28px}
.site-header nav a,.site-header nav button {display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 0;border:0;background:none;font-size:.875rem}
.site-header nav a:hover,.site-header nav button:hover {color:var(--ice)}
.saved-count {display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:var(--count-surface);color:var(--count-ink);font-size:.75rem}

/* One opening scene; its caption reads as one thought. */
.hero {padding:40px 0 56px}
.hero h1 {font-size:clamp(3.5rem,7.6vw,6.25rem);font-weight:500;line-height:1.06;letter-spacing:-.05em;margin:0 0 28px;text-wrap:balance;overflow-wrap:anywhere}
.hero h1 span {color:var(--hero-accent)}
.hero-scene {position:relative;margin:0;overflow:hidden;border-radius:8px;background:var(--deep)}
.hero-photo>img {width:100%;height:clamp(300px,39vw,460px);object-fit:cover;object-position:50% 52%}
.hero .hero-entry {position:absolute;left:24px;bottom:21px;width:auto;margin:0;max-width:calc(100% - 48px)}
.hero-caption {max-width:670px;margin-top:23px}
.hero-caption p {font-size:1rem;line-height:1.65;margin:0;color:var(--muted)}
.hero-caption .intro-last {color:var(--cream);margin-top:3px}
/* The Topaz opening reads as one warm display, framed by the blue page. */
:root[data-palette="topaz"] .hero {margin:0 calc(-1 * var(--page-gutter));padding:40px var(--page-gutter) 38px;background:var(--butter)}
:root[data-palette="topaz"] .hero h1 {font-size:clamp(3.5rem,7.2vw,6rem);letter-spacing:-.045em}
:root[data-palette="topaz"] .hero-scene {border-radius:5px}
:root[data-palette="topaz"] .hero-caption {margin-top:20px}
/* The orange is an inset reading panel, balanced by a blue title column. */
:root[data-palette="topaz"] .story-fragments {grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--grid-gap);margin-top:60px;padding:0;background:transparent;color:var(--cream)}
:root[data-palette="topaz"] .fragment-intro {padding-top:36px}
:root[data-palette="topaz"] .fragment-reader {grid-column:2 / -1;padding:28px 36px;background:var(--panel);color:var(--panel-ink);border-radius:8px}


/* Small, flat actions: a quiet surface, no bevel or reflection. */
.action {appearance:none;position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:44px;padding:10px 16px;border:0;background:none;color:var(--action-ink);font-size:.875rem;font-weight:500;line-height:1.4;letter-spacing:0}
.action::before {content:'';position:absolute;inset:4px 0;z-index:-1;border-radius:4px;background:var(--action);transition:opacity .16s}
.action:hover::before {opacity:.86}
.action:active::before {opacity:.75}
.action:focus-visible {outline-offset:1px}
.hero .hero-entry {position:absolute;color:var(--hero-action-ink)}
.hero .hero-entry::before {background:var(--hero-action)}
.hero .hero-entry:hover::before {opacity:1;background:color-mix(in srgb,var(--hero-action) 90%,#fff)}
.hero .hero-entry:focus-visible {outline-color:#fff}

.text-link {display:inline-flex;align-items:center;min-height:44px;padding:9px 0;background:none;border:0;color:var(--ice);font:inherit;font-size:.875rem;line-height:1.4;text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent);text-underline-offset:5px}
.text-link:hover {text-decoration-color:currentColor}
.save {min-height:44px;min-width:40px;padding:8px 0;border:0;background:none;color:var(--muted);font-size:.875rem;text-underline-offset:5px}
.save:hover,.save[aria-pressed=true] {text-decoration:underline;color:var(--cream)}

/* An inset story with a quiet label and a single reading column. */
.story-fragments {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:40px;padding:32px 36px;background:var(--panel);color:var(--panel-ink);border-radius:8px}
.fragment-intro {padding-top:8px}
.fragment-intro h2 {font-size:1.5rem;font-weight:500;line-height:1.2;letter-spacing:-.035em;margin:0;max-width:210px}
.fragment-reader {min-width:0}
.fragment-tabs,.view-switch {display:flex;align-items:center;flex-wrap:wrap;gap:22px}
.fragment-tabs button,.view-switch button {position:relative;min-height:44px;padding:8px 0;background:none;border:0;color:var(--muted);font-size:.875rem;line-height:1.4}
.fragment-tabs button {color:var(--panel-muted)}
.fragment-tabs button[aria-selected=true],.fragment-tabs button:hover {color:var(--panel-ink)}
.fragment-tabs button[aria-selected=true]::after,.view-switch button[aria-pressed=true]::after {content:'';position:absolute;left:0;right:0;bottom:3px;height:1px;background:currentColor}
.fragment-panel {min-height:156px;padding:20px 0 6px}
.fragment-line {font-size:clamp(1.75rem,2.8vw,2.125rem);font-weight:400;letter-spacing:-.035em;line-height:1.15;margin:0 0 13px}
.fragment-context {font-size:1rem;line-height:1.6;color:var(--panel-muted);max-width:440px;margin:0;text-wrap:pretty}
.story-fragments .text-link {color:var(--panel-ink);text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
.story-fragments :focus-visible {outline-color:var(--panel-ink)}

/* Every product follows the same picture, name, affinity and actions rhythm. */
.objects-section {padding:64px 0 60px;scroll-margin-top:calc(var(--header-offset) - 48px)}
.objects-heading {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:28px}
.objects-heading h2 {font-size:2.25rem;font-weight:500;letter-spacing:-.045em;line-height:1.15;margin:0}
.view-switch {gap:22px}
.view-switch button[aria-pressed=true],.view-switch button:hover {color:var(--cream)}
.carousel-shell {position:relative;min-width:0}
.product-track {display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2 * var(--grid-gap))/3);gap:var(--grid-gap);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:5px 0;margin-top:-5px;min-width:0}
.product-track::-webkit-scrollbar {display:none}
.product {display:flex;flex-direction:column;min-width:0;scroll-snap-align:start}
.product-image {display:block;position:relative;flex-shrink:0;width:100%;aspect-ratio:1.16;overflow:hidden;padding:0;border:0;border-radius:7px;background:var(--photo-surface,#fff)}
.product-image img {width:100%;height:100%;padding:var(--photo-inset,8%);object-fit:contain;mix-blend-mode:normal;filter:none;opacity:1}
.product-image span {display:none}
.product-image:focus-visible {outline-color:#294c83;outline-offset:-5px}
.product-heading {margin-top:18px;min-width:0}
.product-brand {font-size:.75rem;line-height:1.5;color:var(--muted);margin:0 0 5px;overflow-wrap:anywhere}
.product h3 {font-size:1.25rem;font-weight:500;letter-spacing:-.025em;line-height:1.3;margin:0;min-height:2.6em;overflow-wrap:anywhere}
.product-fact {font-size:.875rem;line-height:1.5;color:var(--muted);min-height:3em;margin:12px 0 0}
.product-actions {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:5px}
.product-actions .text-link,.product-actions .save {font-size:.875rem}
.product-actions .text-link,.saved-row .text-link {color:var(--product-link)}
.carousel-arrow {position:absolute;top:var(--image-middle,130px);transform:translateY(-50%);z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;color:var(--control-ink);cursor:pointer}
.carousel-arrow::before {content:'';position:absolute;inset:5px;border-radius:50%;background:var(--control-surface);box-shadow:0 1px 5px #0000001a}
.carousel-arrow svg {position:relative;display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.carousel-previous {left:-22px}.carousel-next {right:-22px}
.carousel-arrow:hover::before {background:var(--control-hover)}
.carousel-arrow:disabled {opacity:.4;cursor:default}
.carousel-arrow:focus-visible {outline-color:var(--cream);outline-offset:1px}

/* The overview retains all nine objects in one compact, consistent grid. */
.product-track.product-overview {grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:0 24px;overflow:visible;margin:0;padding:0;scroll-snap-type:none}
.product-overview .product {display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-rows:1fr auto;column-gap:16px;min-height:152px;padding:20px 0;border-top:1px solid var(--rule)}
.product-overview .product-image {grid-column:1;grid-row:1 / span 2;aspect-ratio:1;border-radius:5px;align-self:center}
.product-overview .product-heading {grid-column:2;grid-row:1;margin:0;align-self:center}
.product-overview .product h3 {font-size:1rem;min-height:0;line-height:1.3}
.product-overview .product-fact {display:none}
.product-overview .product-actions {grid-column:2;grid-row:2;padding:3px 0 0;gap:9px;flex-wrap:wrap}
.product-overview .product-actions .text-link,.product-overview .product-actions .save {font-size:.8125rem;min-height:36px;padding:7px 0}

/* A direct, reversible vote in the card; the average stays separate from your take. */
.carry-widget {position:relative;margin-top:8px;min-width:0;color:var(--cream)}
.carry-caption {font-size:.75rem;line-height:1.5;color:var(--muted);margin:0;min-height:1.5em}
.carry-row {display:flex;align-items:center;flex-wrap:wrap;gap:0 9px}
.carry-stars {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:min(100%,145px);flex-shrink:0}
.carry-star {display:grid;place-items:center;min-width:0;min-height:36px;padding:0;border:0;border-radius:4px;background:none;color:var(--cream)}
.carry-star svg {display:block;width:14px;height:14px;overflow:visible;pointer-events:none}
.carry-star:hover,.carry-star:focus-visible {background:var(--hover)}
.carry-star:focus-visible {outline:1px solid var(--ice);outline-offset:0}
.carry-star[aria-disabled=true] {cursor:progress}
.star-outline {fill:none;stroke:currentColor;stroke-width:1.15;stroke-linejoin:round;opacity:.65}
.star-fill {fill:currentColor;stroke:none}
.carry-average {font-size:.75rem;color:var(--muted);line-height:1.5;min-height:1.5em}
.product-overview .carry-average {flex-basis:100%}
.carry-status {font-size:.75rem;line-height:1.5;color:var(--muted);margin:1px 0 3px;overflow-wrap:anywhere}
.carry-status:empty {display:none}
.carry-widget:not([data-state=error]) .carry-status {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.carry-widget[data-state=error] .carry-status {color:var(--cream)}
.product-overview .carry-widget {position:relative;margin-top:6px}
.product-overview .carry-stars {width:min(100%,125px)}
.product-overview .carry-star svg {width:12px;height:12px}

/* Details: image, identification, specifications, then the purchase action. */
dialog {color:var(--cream);background:var(--wine);padding:24px 28px 28px;border:1px solid var(--rule);border-radius:18px;width:min(900px,calc(100% - 40px));max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;box-shadow:0 25px 100px #17091255}
dialog::backdrop {background:#1709129c;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.dialog-top {display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-bottom:20px}
.close-button {border:0;background:var(--hover);border-radius:11px;min-height:44px;padding:8px 16px;color:var(--cream);font-size:.875rem}
.close-button:hover {background:color-mix(in srgb,var(--cream) 9%,transparent)}
.dialog-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start}
.dialog-media,.dialog-copy {min-width:0}
.dialog-photo {position:relative;aspect-ratio:1;border-radius:7px;overflow:hidden;background:var(--photo-surface,#fff)}
.dialog-photo>img {width:100%;height:100%;object-fit:contain;padding:18px;mix-blend-mode:normal;filter:none}
.photo-switch {display:flex;justify-content:center;gap:23px;width:fit-content;margin:5px auto 0;padding:0;border:0;background:none}
.photo-switch button {position:relative;min-height:40px;padding:9px 0;border:0;background:none;color:var(--muted);font-size:.8125rem;font-weight:400}
.photo-switch button[aria-pressed=true] {color:var(--cream)}
.photo-switch button[aria-pressed=true]::after {content:'';position:absolute;left:0;right:0;bottom:5px;height:1px;background:currentColor}
.dialog-copy {padding-top:6px}
.dialog-copy h2 {font-size:2rem;line-height:1.12;letter-spacing:-.035em;font-weight:500;margin:8px 0 12px;overflow-wrap:anywhere}
.dialog-ratings {margin:0 0 20px}
.dialog-ratings .carry-widget {margin:0}
.dialog-ratings .carry-caption {font-size:.8125rem}
.dialog-ratings .carry-stars {width:160px}
.dialog-ratings .carry-star {min-height:40px}
.dialog-ratings .carry-star svg {width:16px;height:16px}
.dialog-copy>p:not(.product-brand):not(.shop-note) {color:var(--muted);font-size:1rem;line-height:1.65;margin:0 0 24px}
.dialog-copy dl {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:10px 18px;font-size:.875rem;line-height:1.5;border-top:1px solid var(--rule);padding-top:20px;margin:0 0 24px}
.dialog-copy dt {color:var(--muted)}.dialog-copy dd {margin:0;overflow-wrap:anywhere}
.purchase {display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.shop-note {font-size:.75rem;color:var(--muted);line-height:1.6;margin:14px 0 0;max-width:320px}
.saved-dialog {width:min(640px,calc(100% - 40px))}
.saved-dialog .dialog-top {justify-content:space-between}
.saved-dialog h2 {font-size:1.75rem;letter-spacing:-.035em;font-weight:500;margin:0}
.list-count {font-size:.9375rem;color:var(--ice);margin-left:12px}
.saved-help {font-size:.875rem;line-height:1.5;color:var(--muted);margin:0 0 24px}
.saved-row {display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:18px;border-top:1px solid var(--rule);padding:18px 0}
.saved-row img {width:70px;height:80px;object-fit:contain;border-radius:5px;padding:7px;mix-blend-mode:normal;filter:none}
.saved-row h3 {font-size:1.125rem;font-weight:500;margin:4px 0 0;overflow-wrap:anywhere}
.saved-row .text-link {font-size:.8125rem;min-height:36px}
.empty-state {padding:30px 0 36px;text-align:center}
.empty-state h3 {font-size:1.6875rem;font-weight:500;letter-spacing:-.035em;margin:0 0 12px}
.empty-state p {font-size:1rem;color:var(--muted);line-height:1.6;margin:0 0 25px}
.toast {position:fixed;bottom:22px;left:50%;transform:translate(-50%,10px);opacity:0;pointer-events:none;max-width:calc(100% - 32px);width:max-content;background:var(--feedback-surface);color:var(--feedback-ink);padding:14px 23px;border:1px solid #ffffff80;border-radius:14px;font-size:.875rem;line-height:1.5;box-shadow:0 8px 30px #1a0b192a;transition:opacity .2s,transform .2s;z-index:30}
.toast.visible {opacity:1;transform:translate(-50%,0)}

.site-footer {display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;border-top:0;padding:25px 0;font-size:.75rem;color:var(--muted)}
.footer-wordmark {font-size:1.875rem;letter-spacing:.015em;color:var(--cream)}
.site-footer p {margin:0}
.site-footer>a:last-child {margin-left:auto;padding:12px 0}
.site-footer>a:last-child:hover {color:var(--ice)}
.design-notes {border-top:1px solid var(--rule);padding:14px 0 30px;color:var(--muted)}
.design-notes summary {cursor:pointer;font-size:.8125rem;min-height:44px;display:flex;align-items:center;width:fit-content;list-style:none}
.design-notes summary::-webkit-details-marker {display:none}
.design-notes summary::after {content:'+';margin-left:20px;color:var(--ice);font-size:1.25rem}
.design-notes[open] summary::after {content:'−'}
.notes-grid {display:grid;grid-template-columns:1fr 1fr;gap:48px;margin:25px 0}
.notes-grid h2 {font-size:1.25rem;font-weight:500;color:var(--cream);margin:0 0 12px}
.notes-grid p {font-size:.9375rem;line-height:1.75;margin:0}
/* A small comparison menu keeps the studies out of the page composition. */
.site-header nav .palette-trigger {gap:6px}
.palette-dot {width:9px;height:9px;flex-shrink:0;border-radius:50%;background:var(--ice)}
.palette-menu {position:fixed;inset:calc(var(--header-offset) - 10px) max(var(--page-gutter),calc((100vw - 1280px)/2 + var(--page-gutter))) auto auto;width:256px;max-width:calc(100vw - 32px);max-height:calc(100dvh - var(--header-offset) - 12px);overflow:auto;margin:0;padding:16px;color:var(--cream);background:var(--wine);border:1px solid var(--rule);border-radius:8px;box-shadow:0 12px 40px #00000020}
.palette-caption {font-size:.75rem;color:var(--muted);margin:0 0 8px;padding:0 8px}
.palette-menu button {display:flex;align-items:center;gap:12px;width:100%;min-height:60px;text-align:left;border:1px solid transparent;border-radius:4px;background:none;padding:10px 8px;color:var(--cream)}
.palette-menu button[aria-pressed=true] {border-color:var(--rule);background:var(--hover)}
.palette-menu button:hover {background:var(--hover)}
.palette-menu strong {display:block;font-size:.875rem;font-weight:500;line-height:1.4}
.palette-menu small {display:block;font-size:.75rem;color:var(--muted);line-height:1.5}
.palette-swatches {display:flex;width:48px;height:28px;overflow:hidden;border-radius:3px;border:1px solid #ffffff30;flex-shrink:0}
.palette-swatches i {flex:1}
.butter-study {border-top:1px solid var(--rule);margin-top:12px;padding-top:16px}
:root:not([data-palette="topaz"]) .butter-study {display:none}
.butter-options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.butter-options button {flex-direction:column;gap:8px;padding:9px 2px;min-height:76px;text-align:center;font-size:.75rem}
.butter-options i {width:29px;height:29px;background:var(--sample);border-radius:50%;display:block}
.swatches-cassis i:nth-child(1) {background:#51162f}.swatches-cassis i:nth-child(2) {background:#b8b7de}.swatches-cassis i:nth-child(3) {background:#eee498}
.swatches-olive i:nth-child(1) {background:#b9bc72}.swatches-olive i:nth-child(2) {background:#e8acd0}.swatches-olive i:nth-child(3) {background:#351e28}
.swatches-topaz i:nth-child(1) {background:#d7efff}.swatches-topaz i:nth-child(2) {background:#ff5c34}.swatches-topaz i:nth-child(3) {background:#351e28}.swatches-topaz i:nth-child(4) {background:var(--butter,#f5e4ac)}
@media(max-width:1100px) {
  :root {--page-gutter:32px;--grid-gap:22px}
  .product-overview .product {grid-template-columns:78px minmax(0,1fr);column-gap:13px}
  .product-track.product-overview {column-gap:22px}
}
@media(max-width:820px) {
  .product-track {grid-auto-columns:calc((100% - var(--grid-gap))/2)}
  .product-track.product-overview {grid-template-columns:repeat(2,minmax(0,1fr))}
  .story-fragments {grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:26px;padding:28px}
  .fragment-tabs {gap:17px}
  .fragment-line {font-size:1.875rem}
  .dialog-grid {gap:26px}
}
@media(max-width:600px) {
  :root {--page-gutter:22px;--grid-gap:18px}
  .site-header {min-height:66px;padding-top:8px;padding-bottom:8px;gap:8px 14px}
  .site-header .wordmark {font-size:2.25rem;letter-spacing:.015em}
  .site-header nav {gap:14px}
  .site-header nav a,.site-header nav button {font-size:.8125rem}
  .site-header nav a:first-child {display:none}
  .hero {padding:30px 0 36px}
  .hero h1 {font-size:clamp(2.875rem,11vw,4.125rem);margin-bottom:22px;line-height:1.06}
  .hero h1 span {display:block}
  :root[data-palette="topaz"] .hero {padding:28px var(--page-gutter) 28px}
  :root[data-palette="topaz"] .hero h1 {font-size:clamp(2.875rem,11vw,4.125rem);margin-bottom:22px}
  :root[data-palette="topaz"] .story-fragments {margin-top:38px}
  :root[data-palette="topaz"] .fragment-intro {padding-top:0;margin-bottom:20px}
  :root[data-palette="topaz"] .fragment-reader {padding:20px 24px}
  .hero-photo>img {height:auto;aspect-ratio:1.05;object-position:49% center}
  .hero .hero-entry {left:16px;bottom:13px;max-width:calc(100% - 32px)}
  .hero-caption {margin-top:18px}
  .hero-caption p {font-size:1rem;line-height:1.6}
  .hero-caption .intro-last {margin-top:8px}
  .story-fragments {display:block;padding:24px}
  .fragment-intro {padding:0;margin-bottom:13px}
  .fragment-intro h2 {font-size:1.25rem;max-width:none}
  .fragment-panel {min-height:150px;padding-top:18px}
  .fragment-line {font-size:1.75rem}
  .fragment-context {font-size:1rem}
  .fragment-tabs {justify-content:space-between;gap:10px}
  .fragment-tabs button {font-size:.8125rem}
  .objects-section {padding:38px 0 40px;scroll-margin-top:calc(var(--header-offset) - 24px)}
  .objects-heading {gap:12px;margin-bottom:22px}
  .objects-heading h2 {font-size:1.875rem}
  .view-switch {gap:18px}
  .view-switch button {font-size:.8125rem}
  .product-track {grid-auto-columns:88%}
  .product h3 {font-size:1.25rem}
  .product-heading {margin-top:16px}
  .product-fact {min-height:0;margin:11px 0 4px}
  .carousel-previous {left:-16px}.carousel-next {right:-16px}
  .product-track.product-overview {grid-template-columns:repeat(auto-fit,minmax(min(100%,max(8rem,calc((100% - 18px)/2))),1fr));column-gap:18px}
  .product-overview .product {display:flex;min-height:0;padding:18px 0 14px}
  .product-overview .product-image {align-self:stretch;aspect-ratio:1.1}
  .product-overview .product-heading {align-self:stretch;margin-top:12px}
  .product-overview .product h3 {min-height:2.6em;font-size:1rem}
  .product-overview .product-actions {padding-top:9px;gap:4px}
  .product-overview .product-actions .text-link,.product-overview .product-actions .save {font-size:.75rem}
  dialog,.saved-dialog {width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:16px 20px 24px;border-radius:16px}
  .dialog-top {margin-bottom:16px}
  .dialog-grid {grid-template-columns:1fr;gap:19px}
  .dialog-photo {aspect-ratio:1.24;max-height:280px}
  .dialog-photo>img {padding:10px 25px}
  .photo-switch {margin-top:2px}.photo-switch button {min-height:44px}
  .dialog-copy {padding:0}.dialog-copy h2 {font-size:1.875rem}
  .dialog-ratings {margin-bottom:16px}
  .dialog-copy dl {gap:10px 14px}
  .saved-row {grid-template-columns:54px minmax(0,1fr) auto;gap:12px}
  .saved-row img {width:54px;height:65px}.saved-row h3 {font-size:1rem}
  .saved-dialog h2 {font-size:1.5rem;overflow-wrap:anywhere}
  .site-footer {gap:10px 16px}
  .site-footer p {max-width:120px;line-height:1.5}
  .site-footer>a:last-child {flex-basis:100%;margin-left:0;padding-top:0}
  .notes-grid {grid-template-columns:1fr;gap:26px}
}
@media(max-width:360px) {
  :root {--page-gutter:17px}
  .site-header nav {gap:12px}
  .story-fragments {padding:21px 18px}
  :root[data-palette="topaz"] .fragment-reader {padding:18px}
  .fragment-tabs {gap:8px}
  .objects-heading {align-items:start}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *,*::before,*::after {transition:none!important;animation:none!important}
}
@media(prefers-reduced-transparency:reduce) {
  .site-header {background:var(--wine);backdrop-filter:none;-webkit-backdrop-filter:none}
  dialog::backdrop {background:#170912e0;backdrop-filter:none;-webkit-backdrop-filter:none}
}

/* The tray leads the opening, with the title beside a close, generous photograph. */
.site-header{background:var(--wine);backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:0}
.hero,:root[data-palette="topaz"] .hero{display:grid;grid-template-columns:minmax(0,.52fr) minmax(0,1fr);grid-template-rows:1fr auto;gap:24px 32px;margin:22px 0 0;padding:24px;border-radius:8px}
.hero h1,:root[data-palette="topaz"] .hero h1{align-self:end;font-size:clamp(3.25rem,5.1vw,4.25rem);margin:0;line-height:1.04}
.hero h1 span{display:block}
.hero-scene{grid-column:2;grid-row:1/3;align-self:center;background:transparent}
.hero-photo>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:50% 56%;transform:scale(1.1)}
.hero-caption,:root[data-palette="topaz"] .hero-caption{margin:0;align-self:start;padding-bottom:34px}
:root[data-palette="topaz"] .story-fragments{margin-top:48px;padding:32px 36px;background:var(--panel);color:var(--panel-ink);grid-template-columns:1fr 1.55fr;gap:40px}
:root[data-palette="topaz"] .fragment-intro{padding-top:8px}
:root[data-palette="topaz"] .fragment-reader{grid-column:auto;padding:0;background:transparent;border-radius:0}
.product-image.object-photo,.dialog-photo.object-photo{position:relative;aspect-ratio:1;overflow:hidden}
.saved-photo{position:relative;width:70px;height:70px;overflow:hidden;border-radius:4px}
@media(max-width:760px){.hero,:root[data-palette="topaz"] .hero{display:flex;flex-direction:column;gap:24px;padding:24px;margin-top:16px}.hero h1,:root[data-palette="topaz"] .hero h1{align-self:start;font-size:clamp(2.875rem,9vw,4.5rem)}.hero-scene{width:100%;max-width:none;align-self:center}.hero-caption,:root[data-palette="topaz"] .hero-caption{padding:0}.hero-photo>img{aspect-ratio:.9;transform:scale(1.1);object-position:50% 57%}.hero h1 span{display:inline}:root[data-palette="topaz"] .story-fragments{padding:24px;margin-top:32px;gap:24px}:root[data-palette="topaz"] .fragment-intro{padding:0}:root[data-palette="topaz"] .fragment-reader{padding:0}.saved-photo{width:54px;height:54px}}

.saved-photo img{width:100%;height:100%;object-fit:contain;padding:4px;background:#fff}
.dialog-photo.object-photo img{width:100%;height:100%;object-fit:contain;padding:8%}

/* Each object uses its own product photograph, with its original colours. */
.object-photo[data-object="eadem-balm"] img{transform:scale(1.65);transform-origin:50% 54%}




.object-photo[data-object="heart-lighter"]{background:#f2f1ef}
.object-photo[data-object="heart-lighter"] img{transform:scale(2) translateY(-20%)}
.object-photo[data-object="rouje-palette"]{background:#ebebeb}
/* Editions and the optional full-tray reading layer. */
.edition-heading{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:.875rem;margin:24px 0 0;color:var(--cream)}
.edition-heading span{color:var(--muted)}
.hero .scene-hit{position:absolute;inset:0;border:0;background:transparent;cursor:zoom-in}
.hero .hero-entry{z-index:1}
.edition-footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:36px}
.inventory-dialog{width:min(1160px,calc(100vw - 40px));max-height:calc(100dvh - 32px);padding:24px 30px 30px}
.inventory-dialog h2{font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.1;letter-spacing:-.04em;margin:4px 0 0;font-weight:500}
.inventory-help{font-size:1rem;line-height:1.6;max-width:620px;color:var(--muted);margin:0 0 16px}
.inventory-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:28px;align-items:start}
.inventory-photo{position:relative;isolation:isolate;border-radius:6px;overflow:hidden}
.inventory-photo>img{width:100%;height:auto}
.tray-pins{position:absolute;inset:0}
.tray-pin{position:absolute;left:var(--pin-x);top:var(--pin-y);transform:translate(-50%,-50%);width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#351e28;font-weight:600;font-size:.875rem;isolation:isolate}
.tray-pin::before{content:'';position:absolute;inset:7px;border-radius:50%;background:#f5e4ac;box-shadow:0 1px 6px #0005;z-index:-1}
.tray-pin:hover::before,.tray-pin:focus-visible::before{background:#ff5c34}
.tray-pin:focus-visible{outline:2px solid #351e28;outline-offset:0}
.inventory-list{list-style:none;padding:0;margin:44px 0 0;display:grid;gap:0}
.inventory-list li{border-bottom:1px solid var(--rule)}
.inventory-list button{display:flex;align-items:center;text-align:left;width:100%;gap:12px;padding:12px 0;background:none;border:0;min-height:60px}
.inventory-list button>span:last-child{margin-left:auto}
.inventory-list strong{display:block;font-size:1rem;font-weight:500}
.inventory-list small{display:block;font-size:.875rem;color:var(--muted);margin-top:4px;line-height:1.4}
.object-number{display:grid;place-items:center;flex:none;width:28px;height:28px;font-size:.875rem;border:1px solid var(--rule);border-radius:50%}
.product-dialog.text-only .dialog-grid{grid-template-columns:1fr}
.product-dialog.text-only{max-width:620px}
.unidentified-mark{display:grid;place-items:center;height:100%;background:var(--panel);color:var(--panel-ink);font-size:2rem}
.archive-main{padding:44px 0 60px}
.archive-main>h1{font-size:clamp(3rem,7vw,6rem);letter-spacing:-.05em;line-height:1;margin:0 0 20px;font-weight:500}
.archive-main>p{font-size:1rem;color:var(--muted);line-height:1.6;max-width:540px}
.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;margin-top:36px}
.archive-card img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:6px}
.archive-card h2{font-size:1.5rem;letter-spacing:-.025em;font-weight:500;margin:18px 0 8px}
.archive-card p,.archive-card span{font-size:.875rem;color:var(--muted);line-height:1.6}
.archive-card p{margin:0 0 4px}
.archive-note{margin-top:36px}
@media(max-width:760px){.inventory-dialog{width:calc(100vw - 20px);padding:20px;max-height:calc(100dvh - 20px)}.inventory-layout{grid-template-columns:1fr;gap:12px}.inventory-list{margin-top:0;grid-template-columns:1fr 1fr;column-gap:14px}.inventory-list button{gap:8px}.inventory-list button>span:last-child{display:none}.inventory-list strong{font-size:.875rem}.inventory-list small{font-size:.8125rem}.object-number{width:24px;height:24px}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.site-header nav{gap:12px}.edition-heading{font-size:.8125rem;margin-top:18px;gap:6px 14px}}
@media(max-width:430px){.archive-grid{grid-template-columns:1fr}.inventory-list{grid-template-columns:1fr}}
@media(max-width:600px){.site-header nav a[href="/archive/"]{display:flex}.site-header nav a[href="#objects"]{display:none}}

/* Quiet secondary discovery beside the original invitation. */
.hero-more{position:absolute;right:20px;bottom:24px;z-index:1;border:0;border-bottom:1px solid currentColor;background:rgba(255,255,255,.8);color:var(--ink);padding:8px 10px;font-size:.875rem;line-height:1.4;border-radius:3px;cursor:pointer}
.inventory-more{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;margin-top:0}
.suggestion-panel{border-top:1px solid var(--rule);margin-top:24px;padding-top:18px}
.suggestion-panel summary{cursor:pointer;font-size:1rem;text-decoration:underline;text-underline-offset:4px}
.suggestion-panel form{margin-top:16px}
.suggestion-panel p{font-size:.9375rem;line-height:1.5}
.suggestion-panel label{display:block;margin:14px 0 6px;font-size:.875rem}
.suggestion-panel label span{color:var(--muted)}
.suggestion-panel input,.suggestion-panel textarea{display:block;width:100%;box-sizing:border-box;border:1px solid var(--rule);border-radius:4px;padding:10px;font:inherit;color:var(--ink);background:rgba(255,255,255,.55)}
.suggestion-panel textarea{resize:vertical}
.suggestion-panel .action{margin-top:16px}
.suggestion-trap{display:none}
@media(max-width:600px){.hero-more{right:14px;bottom:16px;font-size:.8125rem;padding:7px}.hero .hero-entry{left:12px;bottom:14px;padding:10px 12px;font-size:.875rem}.inventory-more{column-gap:14px}}
@media(max-width:430px){.inventory-more{grid-template-columns:1fr}}

@media(max-width:430px){.hero-more{top:14px;bottom:auto}}

/* Discovery sits below the image, with the photograph left uninterrupted. */
.hero-scene,:root[data-palette="topaz"] .hero-scene{overflow:visible;border-radius:0}
.hero-photo{position:relative;overflow:hidden;border-radius:5px;isolation:isolate}
.hero-scene figcaption{display:flex;justify-content:flex-end;padding-top:10px}
.hero-more{position:static;display:inline-flex;align-items:center;gap:16px;min-height:36px;padding:4px 0;background:none;border:0;border-radius:0;color:var(--muted);font-size:.875rem;line-height:1.5}
.hero-more:hover{color:var(--ink)}
.hero-more span{transition:transform .18s}
.hero-more:hover span{transform:translateX(3px)}
.inventory-dialog{width:min(1080px,calc(100vw - 48px));padding:32px 36px 36px}
.inventory-dialog .dialog-top{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:14px}
.inventory-dialog .dialog-top>div{min-width:0}
.inventory-dialog .dialog-top .product-brand{margin:0 0 8px}
.inventory-dialog h2{font-size:clamp(1.75rem,3vw,2.5rem);max-width:700px}
.inventory-dialog .close-button{flex-shrink:0}
.inventory-help{max-width:none;margin:0 0 28px;font-size:.9375rem}
.inventory-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px 40px}
.inventory-visual>[data-toggle-pins]{margin-bottom:12px;font-size:.875rem}
.inventory-list{margin-top:36px}
.inventory-list button{gap:14px;padding:16px 4px;min-height:76px;line-height:1.4}
.inventory-list li:last-child{border-bottom:0}
.inventory-list small{font-size:.875rem;line-height:1.5}
.inventory-more{margin-top:0;column-gap:40px}
.inventory-list button:hover{background:rgba(255,255,255,.24)}
:root[data-input-mode="pointer"] :is(button,a,summary,[tabindex]):focus{outline:none!important;box-shadow:none}
:root[data-input-mode="keyboard"] :is(button,a,summary,[tabindex]):focus-visible{outline:2px solid #396b91;outline-offset:3px}
@media(max-width:760px){.inventory-dialog{width:calc(100vw - 24px);padding:24px}.inventory-layout{grid-template-columns:1fr;gap:24px}.inventory-help{margin-bottom:24px}.inventory-list{margin-top:0}.inventory-list button{padding:14px 2px}.inventory-more{column-gap:24px}.hero-more{font-size:.875rem;padding:4px 0}.inventory-dialog .dialog-top{gap:16px}}
@media(prefers-reduced-motion:reduce){.hero-more span{transition:none}}

/* A single editorial composition, with an explicitly bounded photographic frame. */
.hero,:root[data-palette="topaz"] .hero{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1fr);grid-template-rows:auto;gap:32px;align-items:center;padding:24px;margin:20px 0 0}
.hero-copy{padding:24px 12px;min-width:0}
.hero h1,:root[data-palette="topaz"] .hero h1{font-size:clamp(3.4rem,5.6vw,5rem);line-height:.99;letter-spacing:-.055em;margin:0 0 30px;text-wrap:balance;max-width:8ch}
.hero-caption,:root[data-palette="topaz"] .hero-caption{margin:0;padding:0;max-width:32ch}
.hero-caption p{line-height:1.6}
.hero-caption .intro-last{margin-top:12px}
.hero-scene{grid-column:2;grid-row:1;align-self:stretch;width:100%;min-width:0;margin:0}
.hero-photo{height:clamp(440px,43vw,600px);width:100%;position:relative;overflow:hidden;border-radius:4px}
.hero-photo>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:50% 57%;transform:scale(1.08)}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;margin-top:30px}
.hero .hero-entry{position:relative;inset:auto;margin:0;max-width:100%;padding:12px 19px}
.hero-more{position:static;padding:10px 0;min-height:44px;font-size:.875rem;color:var(--muted);background:none;border:0;border-bottom:1px solid color-mix(in srgb,var(--muted) 35%,transparent);border-radius:0}
.hero-more:hover{border-bottom-color:currentColor}
.inventory-list button>span:last-child{margin-left:0}
.inventory-list button>span:nth-child(2){display:block;min-width:0}
.edition-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin:52px 0 28px;padding:0}
.edition-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;border-radius:4px;color:var(--cream);background:var(--butter);font-size:.875rem;text-decoration:none}
.edition-link:last-child{background:rgba(255,255,255,.35)}
.edition-link:hover{background:rgba(255,255,255,.65)}
@media(max-width:760px){.hero,:root[data-palette="topaz"] .hero{display:flex;gap:24px;padding:20px}.hero-copy{padding:8px 4px;width:100%}.hero h1,:root[data-palette="topaz"] .hero h1{font-size:clamp(3.1rem,9.5vw,4.6rem);max-width:11ch;margin-bottom:20px}.hero-caption,:root[data-palette="topaz"] .hero-caption{max-width:40ch}.hero-actions{margin-top:22px}.hero-photo{height:clamp(360px,105vw,560px)}.hero-scene{width:100%}.inventory-list button>span:nth-child(2){display:block}.edition-footer{justify-content:flex-start;margin:36px 0 24px}.edition-link{padding:10px 16px}}

/* Respect each edition's photograph instead of imposing a crop. */
.hero,:root[data-palette="topaz"] .hero{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:clamp(24px,4vw,56px);padding:clamp(24px,3vw,40px)}
.hero-copy{padding:20px 4px}
.hero-scene{align-self:center;justify-self:end;width:min(100%,calc(600px * var(--image-ratio)));max-width:100%}
.hero-photo{height:auto;width:100%;aspect-ratio:var(--image-ratio);background:transparent}
.hero-photo>img{display:block;position:static;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none}
.hero[data-image-layout="landscape"],:root[data-palette="topaz"] .hero[data-image-layout="landscape"]{grid-template-columns:1fr}
.hero[data-image-layout="landscape"] .hero-scene{grid-column:1;grid-row:2;width:100%;justify-self:stretch}
.hero[data-image-layout="landscape"] .hero-copy{display:grid;grid-template-columns:1fr 1fr;gap:20px 40px;align-items:center;padding:8px 0}
.hero[data-image-layout="landscape"] h1{grid-row:1/3;margin:0;max-width:11ch}
.hero[data-image-layout="landscape"] .hero-actions{margin-top:0}
@media(max-width:760px){.hero,:root[data-palette="topaz"] .hero{gap:24px;padding:24px}.hero-copy{padding:4px 0}.hero-scene{width:100%;max-width:480px;align-self:center}.hero-photo{height:auto}.hero[data-image-layout="landscape"] .hero-copy{display:block}.hero[data-image-layout="landscape"] h1{margin-bottom:20px}.hero[data-image-layout="landscape"] .hero-actions{margin-top:22px}}

.project-note{max-width:620px;margin:0 0 28px;font-size:.875rem;line-height:1.65;color:var(--muted)}

.project-note{color:var(--cream)}
.hero-scene .photo-credit{display:block;text-align:left;padding:10px 0 0;margin:0;font-size:.875rem;line-height:1.5;color:var(--muted)}
.photo-credit a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.photo-credit a:hover{color:var(--cream)}

.hero h1,:root[data-palette="topaz"] .hero h1{font-size:clamp(3.4rem,5.6vw,5rem);max-width:10ch}
.site-footer .footer-manifesto{max-width:none;flex:1 1 400px;font-size:.8125rem;line-height:1.65;color:var(--muted);text-wrap:wrap;margin:0}
.project-note{max-width:none}
@media(max-width:760px){.hero h1,:root[data-palette="topaz"] .hero h1{font-size:clamp(3.1rem,9.5vw,4.6rem);max-width:11ch}.site-footer .footer-manifesto{flex-basis:100%}}

.hero-scene{position:relative}
.hero-scene .photo-credit{position:absolute;right:12px;bottom:12px;left:auto;max-width:calc(100% - 24px);padding:0;text-align:right;z-index:2}
.source-credit{font-size:.875rem;color:#351e28;background:rgba(255,255,255,.92);border-radius:4px;padding:0 12px;opacity:0;transition:opacity .15s}
.source-credit summary{list-style:none;cursor:pointer;min-height:40px;display:flex;align-items:center;justify-content:flex-end}
.source-credit summary::-webkit-details-marker{display:none}
.source-credit-copy{max-width:280px;padding-bottom:12px;text-align:left;line-height:1.5}
.hero-scene:hover .source-credit,.hero-scene:focus-within .source-credit,.source-credit[open]{opacity:1}
@media(hover:none){.source-credit{opacity:1}}
@media(prefers-reduced-motion:reduce){.source-credit{transition:none}}
.object-photo[data-object="diptyque-orpheon"] img[src$="diptyque-orpheon-detail.webp"]{transform:scale(2);transform-origin:50% 78%}

/* Give the uncropped opening photograph the dominant share of the hero. */
.hero,:root[data-palette="topaz"] .hero{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:32px;padding:24px}
.hero-copy{padding:24px 16px}
.hero-scene{width:min(100%,calc(760px * var(--image-ratio)));justify-self:end}
/* Keep the complete tray visible while the catalogue scrolls independently. */
.inventory-dialog[open]{display:flex;flex-direction:column;height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden;box-sizing:border-box}
.inventory-dialog .dialog-top,.inventory-help{flex-shrink:0}
.inventory-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:32px;align-items:stretch}
.inventory-visual{min-height:0;display:flex;flex-direction:column;align-items:center}
.inventory-visual>[data-toggle-pins]{align-self:flex-start;flex-shrink:0}
.inventory-photo{width:min(100%,calc((100dvh - 255px) * var(--tray-ratio)));max-width:calc(650px * var(--tray-ratio));aspect-ratio:var(--tray-ratio);min-height:0;flex-shrink:1;align-self:center}
.inventory-photo>img{display:block;width:100%;height:100%;object-fit:contain}
.inventory-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin:0;padding:0 12px 12px 0;display:block}
.inventory-list button{min-height:68px;padding:12px 4px}
@media(max-width:760px){.hero,:root[data-palette="topaz"] .hero{display:flex;padding:20px;gap:24px}.hero-copy{padding:8px 4px}.hero-scene{width:100%;max-width:560px}.inventory-dialog[open]{height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);padding:18px}.inventory-dialog h2{font-size:1.5rem}.inventory-help{margin-bottom:12px}.inventory-layout{display:flex;flex-direction:column;gap:16px}.inventory-visual{height:32dvh;flex-shrink:0}.inventory-visual>[data-toggle-pins]{margin-bottom:6px}.inventory-photo{height:calc(32dvh - 38px);width:auto;max-width:100%;flex-shrink:0}.inventory-list{flex:1;margin:0;display:block}.inventory-list strong{font-size:.9375rem}}

.inventory-photo{max-width:100%;flex-shrink:0}

/* A quiet photo credit, revealed only on interaction. */
.hero-scene .photo-credit{right:8px;bottom:8px;max-width:calc(100% - 16px)}
.source-credit{font-size:.75rem;background:rgba(255,255,255,.62);padding:0 8px;border-radius:3px;color:#453c40}
.source-credit summary{min-height:28px;font-size:.75rem}
.source-credit-copy{max-width:190px;padding-bottom:7px;line-height:1.4;font-size:.75rem}
@media(hover:none){.source-credit summary{min-height:36px}}

/* Keep the collection compact and its heading clear of the sticky navigation. */
#objects-title{scroll-margin-top:var(--header-offset)}
.fragment-panel>.text-link{display:inline-block;margin-top:24px}
