/* Optional physical material specimens. Texture is below the content; no image assets needed. */
@layer horizon {
.h-metal-sample {
  --finish-base:#b1b7b7; --finish-ink:#202a2b; --finish-light:#f0eee1;
  position:relative; isolation:isolate; overflow:hidden;
  background-color:var(--finish-base); color:var(--finish-ink);
  border:1px solid color-mix(in srgb,var(--finish-light) 65%,transparent);
  border-radius:var(--h-radius-surface);
  box-shadow:inset 0 1px 0 #ffffff66,inset 0 -1px 0 #0005,0 24px 40px -26px #000c;
  background-image:var(--surface-grain),linear-gradient(125deg,#fff3,#0001 40%,#fff2 70%,#0002);
  background-blend-mode:soft-light,normal;
  transition:border-color var(--h-motion-control),box-shadow var(--h-motion-brightness);
}
.h-metal-sample[data-tone=champagne] { --finish-base:#c1ad88; --finish-ink:#322b1f; --finish-light:#f8e8bd; }
.h-metal-sample[data-tone=graphite],.h-metal-sample[data-material=ceramic] { --finish-base:#303437; --finish-ink:#e2e6e6; --finish-light:#75828b; }
.h-metal-sample[data-material=sandblasted] { background-image:var(--finish-sand),linear-gradient(125deg,#fff2,#0001 48%,#fff1); background-size:256px 256px,100% 100%; background-blend-mode:soft-light,normal; }
.h-metal-sample[data-material=radial] { background-image:var(--surface-grain),repeating-conic-gradient(from 25deg at 28% 42%,#fff2 0deg,#0001 .18deg,#fff1 .36deg,transparent .6deg),conic-gradient(from 25deg at 28% 42%,#0002,#fff6,#0003,#fff5,#0002); background-blend-mode:soft-light,soft-light,normal; }
.h-metal-sample[data-material=perlage] { background-image:var(--finish-perlage),linear-gradient(130deg,#fff3,#0001 45%,#fff2); background-size:256px 224px,100% 100%; background-blend-mode:soft-light,normal; }
.h-metal-sample[data-material=brushed] { background-image:var(--surface-grain),repeating-linear-gradient(0deg,#fff2 0px,#0001 .5px,transparent 1px,transparent 3px),linear-gradient(110deg,#fff3,#0001 45%,#fff3); background-blend-mode:soft-light,soft-light,normal; }
.h-metal-sample[data-material=ceramic] { background-image:var(--surface-grain),linear-gradient(125deg,#fff1,transparent 35%,#0002); }
.h-metal-sample.material-hover { border-color:var(--finish-light); box-shadow:inset 0 1px 0 #ffffff88,inset 0 -1px 0 #0005,0 24px 40px -26px #000c; }
.h-metal-sample.material-pressed { box-shadow:inset 0 1px 3px #0004,0 16px 32px -24px #000c; }
.h-metal-sample .h-glass-reflection { mix-blend-mode:screen; }
@media(prefers-reduced-motion:reduce) { .h-metal-sample { transition:none; transform:none!important; } }
}
