@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  color: #23211e;
  background: #fffdfa;
  --gold: #9a702b;
  --gold-dark: #765421;
  --line: #e3d9c8;
  --muted: #61594d;
  --surface: #faf7f1;
  --serif: "Instrument Serif", "Baskerville", "Palatino Linotype", Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 4px; }
img { display: block; }
.container { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.wordmark { width: 100%; height: auto; filter: invert(1); mix-blend-mode: multiply; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; left: 10px; top: 10px; z-index: 2; background: #fff; padding: 10px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 20px; border: 1px solid #a27839;
  background: #e6cfaa; color: #302014; border-radius: 2px;
  font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.button:hover { background: #d9ba87; }
.languages { display: flex; align-items: center; gap: 10px; font-size: .84rem; }
.languages a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.languages [aria-current] { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 5px; }

.entrance-page {
  min-height: 100svh; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, #fff 0%, #fff 28%, #f7f1e8 100%);
}
.entrance-header { position: absolute; top: 18px; right: max(20px, 4vw); }
.entrance { width: min(430px, calc(100% - 48px)); padding-block: 76px; text-align: center; }
.entrance .wordmark { width: min(100%, 390px); margin-inline: auto; }
.gold-rule { display: block; width: 46px; height: 1px; margin: 25px auto 21px; background: #b68c4b; }
.entrance form { max-width: 355px; margin-inline: auto; }
.entrance .entrance-note { margin: 0 0 20px; font-size: clamp(.82rem, 2.7vw, .97rem); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.entrance button { min-width: min(100%, 215px); min-height: 48px; text-transform: uppercase; letter-spacing: .2em; }
.entrance button:disabled { cursor: wait; }
.entrance-error:empty { display: none; }
.entrance-error { color: #84382c; font-size: .9rem; min-height: 1.1em; margin: 9px 0 0; }

.site-header { background: #fffdfa; border-bottom: 1px solid var(--line); }
.header-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.brand { display: block; width: clamp(122px, 16vw, 188px); }
.header-actions { display: flex; align-items: center; gap: clamp(8px, 1.2vw, 15px); padding-block: 10px; }
.menu {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(12px, 1.45vw, 22px);
  border-top: 1px solid var(--line);
  padding-block: 2px;
}
.menu a { font-size: .84rem; font-weight: 500; text-align: center; text-decoration: none; padding-block: 8px; }
.menu a:hover { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 5px; }
.header-contact, .exit {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px;
  border: 1px solid transparent; padding: 6px 10px; font-size: .82rem; white-space: nowrap;
}
.header-contact { margin-inline-end: 3px; color: #3a2917; background: #ebd7b3; border-color: #c6a66f; font-weight: 600; text-decoration: none; }
.header-contact:hover { background: #e1c799; }
.exit { background: transparent; color: var(--gold-dark); cursor: pointer; }
.exit:hover { border-color: var(--line); background: #f3eee4; }

.category-section h1, .config-heading h1, .reference-section h2, .contact h2 { font: 400 2.35rem/1.07 var(--serif); letter-spacing: -.025em; margin: 0; }

.config-section { padding-block: 20px 68px; }
.config-heading h1 { font-size: clamp(2.6rem, 4.4vw, 4.2rem); }
.config-heading { margin-bottom: 25px; }
.config-layout { display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr); gap: clamp(22px, 4.5vw, 65px); align-items: start; }
.preview { margin: 0; background: var(--surface); border: 1px solid var(--line); }
.preview-frame { display: grid; min-height: clamp(322px, 44vw, 540px); padding: 14px; place-items: center; overflow: hidden; background: #f7f5f5; }
.product-art { --ratio: .6667; --height: clamp(294px, 41vw, 512px); width: min(100%, calc(var(--ratio) * var(--height))); aspect-ratio: var(--ratio); position: relative; }
.product-art.wide { --ratio: 1.094; }
.product-art img, #finish-overlay, #finish-overlay svg { height: 100%; width: 100%; position: absolute; inset: 0; }
#finish-overlay { opacity: .97; pointer-events: none; }
.preview figcaption { font-size: .93rem; color: var(--muted); text-align: center; padding: 12px; border-top: 1px solid var(--line); }

.controls { padding-top: 8px; }
.controls fieldset { min-inline-size: 0; border: 0; padding: 0; margin: 0 0 24px; }
.controls legend { padding: 0; margin-bottom: 12px; font: 400 1.64rem/1.12 var(--serif); }
.formats, .finishes { display: grid; gap: 8px; }
.formats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.finishes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.format-option, .finishes label) { display: flex; position: relative; justify-content: center; align-items: center; flex-direction: column; gap: 7px; min-width: 0; min-height: 75px; text-align: center; border: 1px solid var(--line); background: #fffdfa; padding: 8px 5px; cursor: pointer; font-size: .88rem; font-weight: 500; line-height: 1.2; text-wrap: balance; touch-action: manipulation; }
:is(.format-option, .finishes label) input { position: absolute; inset: 0; margin: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
:is(.format-option, .finishes label):has(input:checked) { border-color: #9a702b; background: #fbf3e6; box-shadow: inset 0 0 0 1px #9a702b; }
:is(.format-option, .finishes label):has(input:focus-visible) { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.format-option:last-child { grid-column: 1 / -1; min-height: 58px; flex-direction: row; gap: 10px; }
.format-option svg { width: 50px; height: 38px; stroke: #8c6838; fill: none; stroke-width: 1.35; stroke-linecap: round; }
.format-option:last-child svg { height: 35px; width: 42px; }
.finish-swatch { display: block; width: min(38px, 90%); height: 21px; border: 1px solid #ad9f88; }
.finish-swatch.plexi { background: linear-gradient(125deg, #fff 15%, #e4e7e8 38%, #fff 46%, #f2f5f5 65%, #aeb8bf 100%); }
.finish-swatch.chrome { background: linear-gradient(125deg, #333537, #bcc1c2, #f3f3f3 53%, #535658 76%, #acadae); }
.finish-swatch.noir { background: #232224; }
.finish-swatch.cuir { background: repeating-linear-gradient(45deg, transparent 0 6px, #a18068 6px 7px), repeating-linear-gradient(-45deg, #593e30 0 6px, #a18068 6px 7px); }
.preview-note { color: var(--muted); font-size: .9rem; margin: -8px 0 15px; line-height: 1.45; }

.phone { text-decoration-color: #b68c4b; text-underline-offset: 5px; white-space: nowrap; }
@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .header-layout .brand { width: clamp(96px, 27vw, 145px); }
  .header-actions { gap: 6px; }
  .header-actions .languages { gap: 7px; font-size: .74rem; }
  .header-contact, .exit { font-size: .76rem; padding-inline: 6px; }
  .menu { column-gap: 12px; }
  .menu a { font-size: .8rem; padding-block: 7px; }
  .config-section { padding-block: 12px 40px; }
  .config-layout { grid-template-columns: 1fr; gap: 16px; }
  .controls { padding: 2px 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

[data-swipe] { touch-action: pan-y pinch-zoom; }
.preview figcaption.preview-meta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; }
.preview-caption, .swipe-hint { display: block; }
.swipe-hint { margin-top: 4px; line-height: 1.3; font-size: .8125rem; }
.swipe-hand { width: 18px; height: 18px; fill: none; stroke: var(--gold-dark); stroke-width: 1.4; vertical-align: middle; margin-inline-end: 7px; }
.preview-nav { min-width: 46px; min-height: 44px; padding: 5px 7px; border: 1px solid var(--line); color: var(--gold-dark); background: #fffdfa; cursor: pointer; font-size: .82rem; }
.preview-nav:hover { background: #f3eee4; }
.format-hint { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
.section-intro { color: var(--muted); line-height: 1.5; max-width: 58ch; margin: 12px 0 0; }
.box-section { border-top: 1px solid var(--line); padding-top: 38px; }
.box-sizes, .box-toggle { display: grid; gap: 8px; }
.box-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.box-toggle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.box-section .format-option { grid-column: auto; flex-direction: column; min-height: 70px; }
.box-section .format-option svg { width: 45px; height: 34px; }
.orientation-glyph { display: block; border: 1.5px solid var(--gold-dark); border-radius: 2px; width: 24px; height: 30px; }
.orientation-glyph.landscape { width: 34px; height: 22px; }
.finish-swatch.blanc { background: linear-gradient(140deg, #fff 45%, #e8e6e4); }
.box-section .subject-options .format-option { min-height: 46px; }
.content-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.box-section .content-options .format-option { min-height: 88px; }
.upload-controls { border: 1px solid var(--line); padding: 14px; margin-bottom: 20px; }
.upload-model { margin: 0 0 12px; color: var(--gold-dark); }
.upload-label { display: block; font-weight: 600; margin-bottom: 8px; }
.upload-controls input[type="file"] { max-width: 100%; min-height: 44px; }
.upload-controls input::file-selector-button { min-height: 40px; margin-right: 8px; padding: 6px 10px; border: 1px solid #cbb28d; background: #fbf3e6; color: #302014; cursor: pointer; }
.upload-status { margin: 8px 0; font-size: .88rem; color: var(--muted); }
.upload-status:empty { display: none; }
.fixed-image .preview figcaption.preview-meta { grid-template-columns: 1fr; }
.custom-screen { position: absolute; inset: 11.95% 22.75% 10.8% 22.65%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(120deg, #e5e5f8, #f9f9fe 60%, #e2e3f3); box-shadow: inset 0 0 12px #b5b7cc; }
.product-art .custom-image { position: static; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; padding: 2%; filter: drop-shadow(0 3px 5px #30374a26); }
@media (prefers-reduced-motion: no-preference) {
  .swipe-hand { animation: cue-swipe 1.6s .8s ease-in-out 2; }
  @keyframes cue-swipe { 25% { transform: translateX(4px); } 65% { transform: translateX(-4px); } }
}

.product-art { --reveal: 50%; }
.product-art img { object-fit: contain; }
.compare-other, .finish-effect, .finish-effect svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare-other { background: #f7f5f5; clip-path: inset(0 0 0 var(--reveal)); }
.compare-other .finish-effect { opacity: .97; }
.compare-divider { position: absolute; top: 0; bottom: 0; left: var(--reveal); width: 2px; transform: translateX(-50%); background: #ae8548; pointer-events: none; }
.compare-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #a27839; border-radius: 50%; background: #fffdfa; color: #765421; font-size: 1.15rem; box-shadow: 0 2px 9px #36271433; white-space: pre; }
.compare-input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.product-art:has(.compare-input:focus-visible) { outline: 2px solid var(--gold-dark); outline-offset: 4px; }
.compare-pair { display: block; margin-top: 4px; font-weight: 600; color: var(--gold-dark); font-size: .84rem; }


.category-section { padding-bottom: clamp(28px, 5vw, 62px); }
.collection-banner {
  display: grid;
  place-items: center;
  margin-bottom: clamp(22px, 4vw, 48px);
  padding-block: clamp(14px, 2vw, 25px);
  border-bottom: 1px solid #c7a266;
  background: linear-gradient(105deg, #d5b583, #edd9b8 48%, #d1ad77);
  color: #342619;
  text-align: center;
}
.collection-banner h1 {
  font-family: inherit;
  font-size: clamp(1.06rem, 2.15vw, 1.85rem);
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.28;
  text-transform: uppercase;
  text-wrap: balance;
}
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.category-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; background: #fffdfa; border: 1px solid var(--line); }
.category-card:hover, .category-card:focus-visible { border-color: var(--gold-dark); background: #f8f0e3; }
.category-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #f6f4f4; }
.category-card span {
  display: grid; place-items: center; flex: 1;
  min-height: 62px; padding: 10px 8px; border-top: 1px solid var(--line);
  text-align: center; text-wrap: balance; font: 400 clamp(1.25rem, 2.2vw, 1.9rem)/1.05 var(--serif);
}
.reference-section { border-top: 1px solid var(--line); padding-block: 28px 36px; }
.reference-section h2 { font-size: 1.85rem; }
.reference-grid { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 18px; }
.reference-grid li { min-height: 84px; display: grid; place-items: center; padding: 10px 5px; }
.reference-grid img { width: 100%; max-width: 135px; height: 54px; object-fit: contain; display: block; mix-blend-mode: multiply; }
.back-link { display: inline-block; margin: 0 0 19px; color: var(--gold-dark); text-underline-offset: 3px; }
.back-link::before { content: "← "; }
.screens-section .product-art { --ratio: .7418; }
.screens-section .format-option:last-child { grid-column: auto; }
.screens-section .box-toggle, .screens-section .finishes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.finish-swatch.beige { background: #d5b48e; }
.finish-swatch.cognac { background: #a55328; }
.finish-swatch.brosse { background: repeating-linear-gradient(0deg, #b8b6b1 0 1px, #cecdc8 1px 2px); }
@media (max-width: 760px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.reference-grid .reference-lemans { display: flex; justify-content: center; gap: 7px; }
.reference-lemans img { width: 52%; }
.reference-lemans img:first-child { width: 35%; }
.reference-masters img, .reference-mercedes img { filter: brightness(.18); }

.portrait-preview .config-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.portrait-preview .product-art { --height: clamp(520px, 63vw, 805px); }
.portrait-preview .preview-frame { min-height: 0; padding: 16px clamp(24px, 3vw, 44px); }
.portrait-preview .preview-frame:has(.compare-input:not([hidden])) { padding-bottom: 76px; }
.portrait-preview .compare-divider { background: #ae854880; }
.portrait-preview .compare-handle { top: calc(100% + 34px); }
.portrait-preview .product-art:has(.compare-input:not([hidden]))::after {
  content: ""; position: absolute; top: calc(100% + 33px); width: 100%; height: 2px; background: #bd9d6a;
}
.portrait-preview .compare-input { inset: calc(100% + 12px) 0 auto; height: 44px; z-index: 2; }
.portrait-preview .compare-divider { z-index: 1; }
.portrait-preview .product-art:has(.compare-input:focus-visible) { outline: none; }
.portrait-preview .product-art:has(.compare-input:focus-visible) .compare-handle { outline: 2px solid var(--gold-dark); outline-offset: 4px; }
.portrait-preview .compare-pair { margin-top: 8px; }
.portrait-preview .swipe-hint { margin-top: 8px; }
@media (max-width: 720px) {
  .portrait-preview .config-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .portrait-preview .preview-frame { padding-inline: 25px; }
  .portrait-preview .product-art { --height: clamp(565px, 155vw, 805px); }
}

.led-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.led-models .format-option { min-height: 48px; padding: 8px; }
.led-models .format-option:last-child { grid-column: auto; }
.led-visuals { min-width: 0; align-self: start; }
.led-example { margin: 0; border: 1px solid var(--line); background: var(--surface); }
.led-example img { width: 100%; height: auto; }
.led-example figcaption { padding: 12px; color: var(--muted); text-align: center; font-size: .9rem; }
.led-totem-photo { background: #fafafa; }
.led-totem-photo img { width: auto; max-width: 100%; max-height: 670px; object-fit: contain; margin-inline: auto; }
.led-gallery { display: grid; gap: 14px; }
.led-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.led-dimensions label { display: grid; gap: 6px; color: var(--muted); font-size: .9rem; }
.led-controls :is(input[type="number"], select) {
  width: 100%; min-height: 44px; border: 1px solid #b8a78e; border-radius: 2px; padding: 8px 10px;
  background: white; color: inherit; font: inherit; font-size: 1rem;
}
.led-controls select { max-width: 112px; }
.led-help { margin: 12px 0 16px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.led-assembly { padding: 14px 12px 0; }
.led-modules { display: flex; justify-content: center; align-items: end; min-height: 130px; }
.led-modules span { width: min(16.6%, 48px); aspect-ratio: .39; border: 1px solid #1b2532; background: linear-gradient(160deg, #26475a, #447d91 58%, #695172); }
.led-modules span:not(:first-child) { border-left-color: #607587; }
.led-diagram-space { min-height: clamp(195px, 33vw, 400px); display: grid; place-items: center; padding: 22px; background: #f2efea; }
.led-diagram-space p { margin: 0; text-align: center; color: var(--muted); }
.led-diagram {
  --led-ratio: 1.5; --diagram-height: clamp(145px, 26vw, 324px);
  width: min(100%, calc(var(--led-ratio) * var(--diagram-height))); aspect-ratio: var(--led-ratio);
  border: 3px solid #1b2532;
  background: linear-gradient(#ffffff31 1px, transparent 1px), linear-gradient(90deg, #ffffff31 1px, transparent 1px), linear-gradient(145deg, #254357, #46778d);
  background-size: 25px 25px, 25px 25px, auto;
}
@media (max-width: 720px) {
  .led-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .led-totem-photo img { max-height: 540px; }
}

.character-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; }
.screen-size input {
  width: min(100%, 230px); min-height: 44px; border: 1px solid #b8a78e; border-radius: 2px;
  padding: 8px 10px; background: #fff; color: inherit;
}

.contact { background: #211e1a; color: #fbf4ea; border-top: 1px solid #a88650; }
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(26px, 5vw, 68px); padding-block: clamp(38px, 7vw, 96px) 30px;
}
.contact h2 { max-width: 13ch; font-size: clamp(2.4rem, 5vw, 4.9rem); }
.contact-copy p { margin: 12px 0 22px; color: #ded0be; font-size: clamp(1.02rem, 2.2vw, 1.25rem); line-height: 1.5; }
.contact-links { display: grid; justify-items: start; gap: 12px; }
.contact-links a { color: #f0d4a6; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-form { min-width: 0; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: #f2e4d3; font-size: .92rem; }
.contact-form :is(input, textarea) {
  width: 100%; padding: 10px 12px; min-height: 44px; background: #2c2721; font: inherit;
  color: #fff9ee; border: 1px solid #79684e; border-radius: 2px; color-scheme: dark;
}
.contact-form textarea { resize: vertical; }
.contact :focus-visible { outline-color: #eed09b; }
.contact-form .button { justify-self: start; }
.contact-hint { margin: 0; color: #d5c5b1; font-size: .84rem; line-height: 1.5; }
.contact-signature { grid-column: 1 / -1; display: grid; gap: 16px; border-top: 1px solid #79684e; padding-top: 23px; }
.contact-brand { justify-self: center; }
.showroom { text-align: center; }
.showroom h3 { margin: 0 0 8px; color: #f0d4a6; font: 400 1.38rem/1.17 var(--serif); }
.showroom p { margin: 0; color: #f2e4d3; line-height: 1.45; }
.contact-brand img { width: clamp(135px, 18vw, 180px); height: auto; }
@media (max-width: 720px) {
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
}
.led-diagram-space:has(.led-photo-preset){aspect-ratio:1.55;min-height:0;align-items:end;background:#fafafa}
.led-diagram.led-photo-preset{width:var(--preset-width);background:#161616 url('/media/led/mur.webp') center/cover;border:1px solid #171717}
.mirror-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.mirror-gallery figure:last-child{grid-column:1/-1}
@media(max-width:680px){.mirror-gallery{grid-template-columns:1fr}}

/* Compact editorial layout for the character collection. */
.character-section { padding-block: 12px 32px; }
.character-section .back-link { margin-bottom: 10px; }
.character-section .config-heading { margin-bottom: 12px; }
.character-section .config-heading h1 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
.character-section .section-intro, .character-features p {
  font-size: .8125rem; line-height: 1.42; margin: 4px 0 0; color: var(--muted);
}
.character-section .section-intro { max-width: 80ch; }
.character-features, .character-gallery { display: grid; gap: 12px; }
.character-features {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  margin: 12px 0 18px;
}
.character-features article { border-top: 1px solid var(--line); padding-top: 7px; }
.character-features h2 { font: inherit; margin: 0; }
.character-section .container > h2 { font: inherit; margin: 0; }
.character-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 10px 0 14px; }
.character-gallery img { width: 100%; height: clamp(180px, 20vw, 255px); object-fit: contain; background: #fff; }
.character-gallery figcaption { font-size: .8rem; padding: 6px 8px; }
@media (max-width: 760px) {
  .character-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .character-section .section-intro, .character-features p { font-size: .875rem; }
}

.character-videos { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:12px; margin:10px 0 16px; }
.character-videos figure { margin:0; }
.character-videos video { display:block; width:100%; height:clamp(210px,23vw,280px); object-fit:contain; background:#171716; }
.character-videos figcaption { font-size:.8rem; padding:6px 0; color:var(--muted); }

.product-videos { padding-bottom: 24px; }
.product-videos h2 { font: inherit; margin: 0; }
.product-videos .character-videos { grid-template-columns: repeat(auto-fit,minmax(min(230px,100%),360px)); }

.scenography-section .section-intro { max-width: 62ch; }
.scenography-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 35px); margin-bottom: 30px; }
.scenography-videos figure { margin: 0; }
.scenography-videos figure:first-child { grid-column: 1 / -1; }
.scenography-videos video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #171716; }
.scenography-videos figcaption { padding-top: 9px; color: var(--muted); }
@media (max-width: 700px) {
  .scenography-videos { grid-template-columns: minmax(0, 1fr); }
}

.contact-status {
  margin: 0; padding: 14px 16px; border: 1px solid #a08a62; background: #f2dfbd; color: #332514;
  font-size: .94rem; line-height: 1.4;
}
.contact-status[data-result="failed"] { background: #f1dcd4; border-color: #b37264; color: #532c21; }
.contact-form button:disabled { opacity: .78; cursor: wait; }
@media (prefers-reduced-motion: no-preference) {
  .contact-status[data-result="sent"] { animation: contact-confirmation .36s ease-out; }
  @keyframes contact-confirmation {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.admin-footer-link { justify-self: center; color: #f0d4a6; text-underline-offset: 4px; }
.cms-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; margin-bottom: 35px; }
.cms-gallery figure { margin: 0; }
.cms-gallery :is(img, video) { width: 100%; max-height: 520px; object-fit: contain; background: var(--surface); }
.cms-gallery figcaption { padding: 8px 0; color: var(--muted); }
.category-card:not(:has(img)) { min-height: 125px; }
.admin-header { border-bottom: 1px solid var(--line); background: #fffdfa; }
.admin-header .container { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 14px; }
.admin-header a { text-decoration-color: #bd9d6a; text-underline-offset: 4px; }
.admin-main { max-width: 1050px; padding-block: 25px 62px; }
.admin-main h1 { font: 400 clamp(2.5rem, 5vw, 4.25rem)/1.02 var(--serif); margin: 0 0 22px; }
.admin-main h2 { font: 400 1.8rem/1.1 var(--serif); margin: 0 0 12px; }
.admin-tabs, .admin-toolbar, .admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-tabs { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.admin-tabs button, .admin-small {
  background: #fffdfa; border: 1px solid var(--line); min-height: 42px; padding: 7px 11px; color: inherit; cursor: pointer;
}
.admin-tabs [aria-current] { background: #ecd9b8; border-color: #b89862; }
.admin-toolbar { padding-top: 14px; }
#admin-panel { margin-top: 20px; }
.admin-status { background: #f3ead9; border: 1px solid #d3ba8d; margin: 12px 0 0; padding: 10px 14px; }
.admin-status[data-error="true"] { color: #842f26; }
.admin-card { margin: 12px 0; background: #fffdfa; border: 1px solid var(--line); padding: 15px; }
.admin-card summary { cursor: pointer; padding: 3px 0; font-weight: 600; overflow-wrap: anywhere; }
.admin-card[open] summary { margin-bottom: 12px; }
.admin-card label, .admin-filter { display: grid; gap: 5px; min-width: 0; color: var(--muted); font-size: .9rem; }
.admin-card :is(input:not([type="checkbox"]), textarea, select), .admin-filter {
  min-width: 0; max-width: 100%; width: 100%; font: inherit; padding: 8px; color: #23211e; background: white; border: 1px solid var(--line);
}
.admin-card textarea { resize: vertical; min-height: 66px; }
.admin-fields { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
.admin-card .admin-check { display: flex; gap: 8px; align-items: center; }
.admin-media-thumb { width: 105px; max-height: 105px; object-fit: contain; }
.admin-media-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 8px; }
.admin-media-row + .admin-media-row { border-top: 1px solid var(--line); }
.admin-small:disabled { opacity: .6; cursor: default; }
.admin-path { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.admin-message { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-card time { color: var(--muted); font-size: .84rem; }
.admin-text-list { margin-top: 10px; }
@media (max-width: 665px) {
  .admin-fields { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  html:is(.cinema-closing, .cinema-opening)::before,
  html:is(.cinema-closing, .cinema-opening)::after {
    content: "";
    position: fixed;
    z-index: 100;
    inset-inline: 0;
    height: calc(50% + 1px);
    background: #171512;
    pointer-events: none;
    animation-duration: .48s;
    animation-timing-function: cubic-bezier(.66, .03, .28, 1);
    animation-fill-mode: both;
  }
  html:is(.cinema-closing, .cinema-opening)::before {
    top: 0;
    --offscreen: -102%;
    border-bottom: 1px solid #8d7049;
  }
  html:is(.cinema-closing, .cinema-opening)::after {
    bottom: 0;
    --offscreen: 102%;
    border-top: 1px solid #8d7049;
  }
  html.cinema-closing::before, html.cinema-closing::after { animation-name: cinema-close; }
  html.cinema-opening::before, html.cinema-opening::after {
    animation-name: cinema-open;
    animation-duration: .7s;
  }
  @keyframes cinema-close { from { transform: translateY(var(--offscreen)); } to { transform: translateY(0); } }
  @keyframes cinema-open { from { transform: translateY(0); } to { transform: translateY(var(--offscreen)); } }
}
