/* Shared exhibition identity; each independently deployed site owns these assets. */
body {
  --paper: #f5f3ee;
  --ink: #242424;
  --sage: #625d55;
  --rust: #be3f24;
  --line: #24242424;
  --muted: #68635c;
  --accent: #d74727;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body.studio-home { background: var(--paper); }
body > header {
  position: relative;
  z-index: 20;
  width: calc(100% - 80px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px 0 !important;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  background: transparent;
}
body > header .brand { font-family: "Iowan Old Style", Georgia, serif; font-size: 25px; letter-spacing: -.06em; }
body > header .brand img { width: 34px; height: 34px; mix-blend-mode: multiply; }
body > header > nav { margin-left: auto; gap: 28px; }
body > header > nav > a { display: inline-flex; align-items: center; min-height: 44px; position: relative; text-underline-offset: 6px; }
body > header > nav > a::after { content: ""; position: absolute; bottom: 6px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
body > header > nav > a:hover::after { transform: scaleX(1); }
body > header .language-switcher { width: 112px; position: relative; font-size: 12px; }
body:is(.studio-home, .shop-site) > header .language-switcher :is(select, summary) { width: 100%; min-height: 40px; padding: 8px 28px 8px 12px; border-radius: 0; border: 1px solid var(--line); background-color: transparent; color: var(--ink); }
body > header .language-switcher details { padding: 0; border: 0; }
body > header .language-switcher details nav { position: absolute; top: calc(100% + 8px); right: 0; display: flex; flex-direction: column; gap: 2px; min-width: 150px; padding: 8px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 28px #24242418; }
.language-switcher details nav a { padding: 8px; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 12px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
/* The inset highlight gives controls a glass edge while preserving a solid readable fill. */
.button, .buy { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #ffffff20; border-radius: 4px; background: var(--ink); box-shadow: inset 0 1px 0 #ffffff26; transition: background .25s, box-shadow .25s, translate .25s; }
.button::before, .buy::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at var(--light-x, 30%) var(--light-y, 0%), #ffffff30, transparent 65%); }
.button:hover, .buy:hover { background: #a73520; box-shadow: 0 8px 24px #be3f2420; }
a, button, summary, select { -webkit-tap-highlight-color: transparent; }
:is(a, button, summary, select, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
section[id], article[id] { scroll-margin-top: 28px; }
[data-surface] { --light-x: 50%; --light-y: 35%; }
/* Pointer motion only affects local display objects, never the page or scroll container. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-tilt] { transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .4s ease-out, box-shadow .4s; }
  [data-magnetic] { translate: var(--magnet-x, 0px) var(--magnet-y, 0px); }
}
@media (prefers-reduced-motion: no-preference) {
  .material-arrived { animation: material-arrival .85s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes material-arrival { from { translate: 0 35px; } to { translate: 0 0; } }
}
/* All sections start visible. Disabling motion or JavaScript leaves a complete page. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-tilt] { transform: none !important; }
  [data-magnetic] { translate: none !important; }
}
@media (max-width: 760px) {
  body > header { width: calc(100% - 40px); padding: 16px 0 !important; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  body > header .brand { font-size: 23px; gap: 8px; }
  body > header .brand img { width: 30px; height: 30px; }
  body > header > nav { order: 3; margin: 0; width: 100%; justify-content: space-between; gap: 12px; }
  body > header .language-switcher { margin-left: auto; width: 104px; }
}
@media (max-width: 380px) { body > header .brand { font-size: 20px; } }
