/* MAGICUTLERY: product-led catalog, shared by all language pages. */
:root {
  color-scheme: light;
  --ink: #202d31;
  --muted: #52656b;
  --accent: #183c45;
  --accent-hover: #245663;
  --silver: #edf1f2;
  --pale: #e3edf0;
  --line: #cbd5d8;
  --paper: #fff;
  --error: #943a31;
  --focus: #966100;
  --content: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.has-selection { padding-block-end: 112px; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .6; }
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #d2e5ea; color: var(--ink); }
h1, h2, h3, h4, p, figure { margin-block-start: 0; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 400; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
h1 { font-size: clamp(2.4rem, 4.8vw, 4.75rem); max-width: 16ch; margin-block-end: 24px; }
h2 { font-size: clamp(2rem, 3.1vw, 3rem); margin-block-end: 18px; }
h3 { font-size: 1.35rem; margin-block-end: 12px; }
p { margin-block-end: 1.2em; max-width: 72ch; }
small, .small { font-size: .875rem; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--content)); margin-inline: auto; min-width: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 16px; z-index: 100; background: var(--accent); color: white; padding: 12px 20px; }
.skip-link:focus { inset-block-start: 12px; }
.preview-banner { background: var(--pale); color: var(--accent); padding: 8px var(--gutter); text-align: center; font-size: .8rem; line-height: 1.45; }
.site-header { border-block-end: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.site-header > .wrap { display: flex; align-items: center; gap: 28px; min-height: 96px; padding-block: 18px; flex-wrap: wrap; }
.brand { font-size: 1.25rem; font-weight: 650; letter-spacing: .06em; text-decoration: none; flex: 0 0 auto; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand img { width: 42px; max-height: 48px; object-fit: contain; }
.brand span, .brand small { display: block; }
.brand small { font-weight: 400; letter-spacing: .02em; font-size: .65rem; color: var(--muted); }
.nav, #site-nav { display: flex; flex: 1; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.nav a, #site-nav > a { font-size: .9rem; text-decoration: none; padding-block: 10px; font-weight: 500; }
.nav a[aria-current="page"], #site-nav > a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav .button { padding-inline: 18px; }
.language-switch { position: relative; font-size: .85rem; min-width: 0; }
.language-switch select { max-width: 170px; background: white; border: 1px solid var(--line); color: var(--ink); padding: 9px 28px 9px 10px; min-height: 44px; border-radius: 2px; }
.language-switch summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 9px 0; }
.language-switch summary::after { content: "⌄"; }
.language-switch[open] > ul, .language-switch[open] > .language-menu, .language-switch[open] > .language-options {
  position: absolute; inset-block-start: 100%; inset-inline-end: 0; background: white;
  border: 1px solid var(--line); padding: 10px; margin: 0; width: 200px; max-height: 60vh;
  overflow: auto; list-style: none; box-shadow: 0 8px 24px #183c4514; z-index: 25;
}
.language-switch li a, .language-menu a, .language-options a { display: block; min-height: 42px; padding: 8px 12px; text-decoration: none; }
.language-switch li a:hover, .language-menu a:hover, .language-options a:hover { background: var(--silver); }
.menu-toggle { display: none; background: white; border: 1px solid var(--line); min-height: 44px; padding: 8px 14px; border-radius: 2px; }
.button, .select-button, #brief-download, #brief-copy, #brief-clear, #catalog-reset {
  display: inline-flex; justify-content: center; align-items: center; text-align: center;
  gap: 8px; min-height: 48px; padding: 12px 23px; border: 1px solid var(--accent); border-radius: 2px;
  background: var(--accent); color: white; font-weight: 500; font-size: .95rem;
  line-height: 1.35; text-decoration: none; white-space: normal;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.button:hover, #brief-download:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; }
.button.secondary, .select-button, #brief-copy, #brief-clear, #catalog-reset { background: transparent; color: var(--accent); }
.button.secondary:hover, .select-button:hover, #brief-copy:hover, #brief-clear:hover, #catalog-reset:hover { background: var(--pale); color: var(--accent); }
.button.text { background: transparent; color: var(--accent); padding-inline: 0; border-color: transparent; text-decoration: underline; }
.select-button[aria-pressed="true"] { background: var(--accent); color: white; }
.button-row, .actions, .hero-actions, .form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 6%; padding-block: clamp(36px, 5vw, 72px); }
.hero-copy { padding-block: 24px; min-width: 0; }
.hero-copy > p { font-size: 1.1rem; line-height: 1.7; color: var(--muted); max-width: 47ch; margin-block-end: 30px; }
.hero-copy .eyebrow { font-size: .875rem; color: var(--accent); margin-block-end: 22px; }
.hero-media { min-width: 0; background: var(--silver); }
.hero-media img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: contain; padding: clamp(14px, 2vw, 30px); background: white; }
.hero-media figcaption { font-size: .8rem; padding: 12px 18px; color: var(--muted); }
.eyebrow { font-size: .9rem; font-weight: 500; color: var(--accent); }
.section { padding-block: clamp(44px, 6vw, 88px); }
.section + .section { border-block-start: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-block-end: 30px; }
.section-heading > div { min-width: 0; }
.section-heading p { margin-block-end: 0; }
.section-heading > a { flex-shrink: 0; max-width: 40%; }
.intro { color: var(--muted); font-size: 1.08rem; max-width: 64ch; }
.page-intro { padding-block: 46px 24px; }
.page-intro h1 { max-width: 24ch; }
.catalog-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 20px; margin-block: 30px; padding: 20px; background: var(--silver); }
.catalog-tools label { display: block; font-size: .875rem; font-weight: 500; margin-block-end: 5px; }
.catalog-tools > div:first-child { flex: 1 1 250px; min-width: 0; }
#catalog-search { width: 100%; max-width: 520px; min-height: 48px; padding: 10px 14px; background: white; color: var(--ink); border: 1px solid #9eafb4; border-radius: 2px; }
#catalog-count { margin: 0; min-height: 48px; display: flex; align-items: center; font-size: .9rem; color: var(--muted); }
#catalog-reset { padding-inline: 18px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.product-card { min-width: 0; }
.product-photo { display: block; background: #f5f7f7; text-decoration: none; border: 1px solid #e4eaec; }
.product-photo img { width: 100%; aspect-ratio: 1.1; object-fit: contain; background: white; padding: 12px; }
.product-card-body { padding-block: 18px 0; display: block; }
.product-card-body > div { flex: 1 1 140px; min-width: 0; }
.product-code { font-size: .8rem; font-weight: 500; color: var(--muted); margin-block-end: 5px; }
.product-title { font-family: inherit; font-size: 1.2rem; font-weight: 500; margin: 0 0 7px; line-height: 1.35; }
.product-title a { text-decoration: none; }
.product-title a:hover { text-decoration: underline; }
.product-meta { color: var(--muted); font-size: .82rem; margin: 0; }
.product-card-body .select-button { font-size: .85rem; min-height: 44px; padding: 9px 14px; margin-inline-start: auto; }
.packaging-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.packaging-grid img { width: 100%; aspect-ratio: 1.3; object-fit: contain; padding: 12px; background: white; }
.packaging-grid figure { background: #f5f7f7; margin: 0; }
.packaging-grid figcaption { padding: 16px; }
.packaging-grid h3 { font-size: 1.15rem; font-weight: 500; }
.packaging-grid .image-note, .image-note { font-size: .8rem; color: var(--muted); margin-block: 10px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .8fr); gap: 6%; align-items: start; }
.detail-info { min-width: 0; }
.detail-info h1 { font-size: clamp(2.1rem, 3.8vw, 3.6rem); }
.detail-info .select-button { width: 100%; }
.detail-gallery { display: grid; gap: 24px; }
.detail-gallery figure { margin: 0; }
.detail-gallery img { width: 100%; height: auto; object-fit: contain; background: white; border: 1px solid #e4eaec; padding: 8px; }
.detail-gallery figcaption, .media-grid figcaption { padding-block: 9px; font-size: .82rem; color: var(--muted); }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.media-grid figure { margin: 0; min-width: 0; }
.media-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.spec-list { margin-block: 28px; border-block-start: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: minmax(110px, .7fr) 1fr; gap: 14px; padding-block: 13px; border-block-end: 1px solid var(--line); }
.spec-list dt { font-size: .9rem; font-weight: 500; }
.spec-list dd { margin: 0; color: var(--muted); font-size: .9rem; min-width: 0; }
.piece-list { padding-inline-start: 20px; columns: 2 150px; color: var(--muted); }
.piece-list li { break-inside: avoid; margin-block-end: 6px; }
.trust-band { background: var(--silver); padding-block: clamp(36px, 4vw, 64px); display: block; }
.trust-band h2 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
.trust-band p:last-child { margin-block-end: 0; }
.steps { list-style: none; padding: 0; margin-block-end: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: steps; margin-block-start: 36px; }
.step { counter-increment: steps; min-width: 0; }
.step::before { content: counter(steps, decimal-leading-zero); display: block; color: var(--accent); font-size: 1rem; padding-block-end: 14px; margin-block-end: 22px; border-block-end: 2px solid var(--line); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.25rem; font-weight: 500; }
.step p { font-size: .95rem; color: var(--muted); }
.faq { max-width: 900px; }
.faq details { border-block-end: 1px solid var(--line); padding-block: 0; }
.faq summary { cursor: pointer; font-weight: 500; min-height: 60px; padding-block: 20px; padding-inline-end: 12px; line-height: 1.4; }
.faq details p { padding-block: 0 18px; color: var(--muted); }
.breadcrumbs { padding-block: 25px; font-size: .82rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; padding-inline-end: 8px; }
.back-link { font-size: .9rem; display: inline-block; padding-block: 10px; margin-block-end: 15px; }
.pill { display: inline-block; border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: .82rem; }
.notice { padding: 18px 20px; background: var(--pale); color: var(--accent); border-inline-start: 3px solid var(--accent); font-size: .9rem; line-height: 1.6; margin-block: 24px; }
.notice p:last-child { margin-block-end: 0; }
.error { color: var(--error); }
.empty-state { padding: 30px; border: 1px dashed #9eafb4; color: var(--muted); text-align: center; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: start; }
#brief-form { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: .85rem; color: var(--muted); margin-block: 18px; }
.form-field { min-width: 0; }
#brief-form > .full, #brief-form .form-actions, #brief-form > p, #brief-form > .notice, #brief-form > fieldset, #brief-form > .button-row { grid-column: 1 / -1; }
#brief-form label, .form-field label { display: block; font-size: .9rem; font-weight: 500; margin-block-end: 6px; }
#brief-form input, #brief-form select, #brief-form textarea {
  display: block; width: 100%; max-width: 100%; min-height: 48px; padding: 11px 12px;
  border: 1px solid #9eafb4; border-radius: 2px; color: var(--ink); background: white;
}
#brief-form textarea { resize: vertical; min-height: 150px; }
#brief-form fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
#brief-form fieldset legend { font-size: 1.1rem; font-weight: 500; margin-block-end: 18px; }
#brief-status { margin-block: 12px; color: var(--accent); font-size: .9rem; min-height: 1.65em; }
#selected-items { list-style: none; padding: 0; margin-block: 20px 30px; }
.selected-item { display: flex; align-items: center; gap: 16px; padding-block: 16px; border-block-end: 1px solid var(--line); }
.selected-item > img { width: 72px; height: 72px; object-fit: contain; border: 1px solid #e4eaec; flex: 0 0 72px; }
.selected-item > div { flex: 1; min-width: 0; }
.selected-item a { display: block; font-size: .95rem; font-weight: 500; }
.selected-item small { color: var(--muted); }
.selected-item button { min-height: 44px; max-width: 32%; padding: 8px 10px; border: 1px solid var(--line); background: white; border-radius: 2px; color: var(--accent); font-size: .8rem; line-height: 1.3; }
.selected-item button:hover { background: var(--silver); }
.selection-bar {
  position: fixed; z-index: 30; inset-block-end: 20px; inset-inline: 20px; margin-inline: auto;
  max-width: 720px; background: var(--accent); color: white; padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  border-radius: 3px; box-shadow: 0 4px 24px #183c4526;
}
.selection-bar a { color: white; font-weight: 500; text-underline-offset: .3em; min-height: 44px; display: inline-flex; align-items: center; max-width: 66%; }
.selection-count { font-variant-numeric: tabular-nums; font-weight: 500; }
.selection-status { font-size: .875rem; color: var(--accent); margin-block: 12px; }
.site-footer { background: var(--silver); padding-block: 50px 28px; margin-block-start: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.site-footer .brand { margin-block-end: 16px; }
.site-footer h3 { font-size: .95rem; font-weight: 600; }
.site-footer p, .site-footer a, .site-footer li { font-size: .875rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-block-end: 8px; }
.site-footer a { overflow-wrap: anywhere; }
.footer-bottom { border-block-start: 1px solid var(--line); margin-block-start: 34px; padding-block-start: 20px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
html:not(.js) .select-button, html:not(.js) .selection-bar, html:not(.js) .catalog-tools,
html:not(.js) #brief-download, html:not(.js) #brief-copy, html:not(.js) #brief-clear, html:not(.js) #brief-form { display: none; }
[dir="rtl"] h1, [dir="rtl"] h2 { font-family: Arial, "Segoe UI", sans-serif; letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .brand, [dir="rtl"] .product-code { direction: ltr; unicode-bidi: isolate; }

.hero-copy .hero-note { font-size: .83rem; line-height: 1.6; margin-block: 24px 0; }
.header-selection { font-size: .85rem; text-decoration: none; white-space: normal; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.header-selection .selection-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 5px; border: 1px solid var(--line); border-radius: 50%; font-size: .75rem; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 15px; }
.product-actions .text-link { font-size: .85rem; }
.product-card-body > p { margin-block-end: 10px; }
.product-card-body > .select-button { margin-block-start: 6px; }
.section-action { margin-block-start: 34px; }
.packaging-feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6%; align-items: center; }
.section-heading > h1, .section-heading > h2 { flex: 1 1 50%; min-width: 0; margin-block-end: 0; }
.section-heading > p { flex: 1 1 50%; max-width: 62ch; color: var(--muted); }
.section-heading h1 { max-width: 24ch; }
.catalog-tools > label { flex: 1 0 100%; margin-block-end: -7px; }
.catalog-tools > #catalog-search { flex: 1 1 220px; }
.notice h2 { font-family: inherit; font-size: 1.25rem; line-height: 1.35; letter-spacing: 0; font-weight: 500; }
.piece-options { margin-block: 20px; padding: 0; list-style: none; display: grid; gap: 0; }
.piece-options > li, .piece-options > .piece-option, .piece-options > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; border-block-end: 1px solid var(--line); }
.piece-options .select-button, .detail-info .piece-options .select-button { width: auto; flex: 0 1 auto; font-size: .8rem; min-height: 44px; padding: 8px 12px; }
.piece-options span, .piece-options p { flex: 1; min-width: 0; font-size: .85rem; margin: 0; }
.piece-options label { flex: 1 1 140px; min-width: 0; font-size: .85rem; }
.piece-options select { flex: 0 1 160px; min-width: 90px; max-width: 45%; padding: 9px 8px; min-height: 44px; color: var(--ink); border: 1px solid #9eafb4; background: white; border-radius: 2px; font-size: .85rem; }
.piece-options img { flex: 0 0 50px; width: 50px; height: 50px; object-fit: contain; }
.piece-options > .piece-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-block: 16px; }
.piece-options > .piece-option h3 { grid-column: 1 / -1; font-family: inherit; font-size: 1rem; font-weight: 500; margin: 0; }
.piece-options > .piece-option label { grid-column: 1 / -1; margin: 0; font-size: .75rem; color: var(--muted); }
.piece-options > .piece-option select { width: 100%; max-width: none; }
.piece-options table { border-collapse: collapse; width: 100%; }
.piece-options th, .piece-options td { padding: 12px 8px; border-block-end: 1px solid var(--line); text-align: start; font-size: .85rem; }
.site-footer .footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer .footer-grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.prose { max-width: 960px; }

@media (min-width: 1440px) { .hero-media img { max-height: 610px; } }
@media (max-width: 1050px) {
  .site-header > .wrap { gap: 15px 24px; }
  .nav, #site-nav { gap: 10px 18px; }
  .brand { font-size: 1.1rem; }
  .catalog-grid, .packaging-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { gap: 5%; grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr); }
}
@media (max-width: 800px) {
  .site-header > .wrap { min-height: 80px; justify-content: space-between; }
  .js .menu-toggle { display: inline-flex; align-items: center; }
  .nav, #site-nav { flex-basis: 100%; justify-content: flex-start; padding-block: 4px 10px; gap: 8px 20px; }
  .js #site-nav:not(.is-open) { display: none; }
  .js #site-nav.is-open { display: flex; }
  .hero { gap: 28px; grid-template-columns: 1fr 1fr; }
  .hero-copy > p { font-size: 1rem; }
  .hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
  .hero-media img { aspect-ratio: .8; padding: 10px; }
  .detail-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .detail-info { order: -1; }
  .detail-info h1 { max-width: none; }
  .packaging-feature { grid-template-columns: 1fr; gap: 28px; }
  .steps { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  body.has-selection { padding-block-end: 130px; }
  .site-header > .wrap { gap: 12px; }
  .brand { font-size: 1.02rem; letter-spacing: .04em; }
  .brand img { width: 32px; }
  .hero { grid-template-columns: 1fr; padding-block: 30px 10px; gap: 24px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.25rem); max-width: 15ch; margin-block-end: 20px; }
  .hero-copy > p { margin-block-end: 24px; }
  .hero-media img { aspect-ratio: 1.2; max-height: 380px; }
  .hero-media figcaption { font-size: .75rem; padding: 10px 14px; }
  .section { padding-block: 40px; }
  .section-heading { display: block; margin-block-end: 24px; }
  .section-heading > h1, .section-heading > h2 { margin-block-end: 16px; }
  .section-heading > a { max-width: none; margin-block-start: 12px; }
  .catalog-grid, .packaging-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-photo img { aspect-ratio: 1.2; padding: 10px; }
  .catalog-tools { padding: 16px; gap: 12px; }
  .catalog-tools > div:first-child { flex-basis: 100%; }
  #catalog-count { flex: 1; }
  #catalog-reset { font-size: .85rem; min-height: 44px; }
  .media-grid { grid-template-columns: 1fr; }
  .trust-band { padding-block: 36px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step::before { padding-block-end: 10px; margin-block-end: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  #brief-form > * { grid-column: 1; }
  .piece-options > .piece-option { flex-wrap: wrap; gap: 10px; }
  .piece-options label { flex-basis: 100%; }
  .piece-options select { max-width: 60%; flex-grow: 1; }
  .selected-item { gap: 10px; }
  .selected-item > img { width: 52px; height: 60px; flex-basis: 52px; }
  .selected-item button { max-width: 35%; }
  .selection-bar { inset-inline: 10px; inset-block-end: 10px; padding: 12px 16px; gap: 12px; font-size: .9rem; }
  .selection-bar a { max-width: 64%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: auto; }
  .button, #brief-download, #brief-copy { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .selection-bar, .menu-toggle, .preview-banner, .select-button, .catalog-tools, .button-row { display: none !important; }
  body { color: black; background: white; font-size: 11pt; padding: 0; }
  .wrap { width: 100%; }
  .section { padding-block: 16px; }
  .product-card, figure, .selected-item { break-inside: avoid; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* One light homepage entry; the dedicated page owns media playback. */
.video-teaser { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:5%; align-items:center; }
.video-thumbnail { display:block; position:relative; background:#101a1e; }
.video-thumbnail img { width:100%; aspect-ratio:16/9; object-fit:contain; }
.video-play-icon { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:64px; height:64px; border:2px solid white; border-radius:50%; background:#183c45e8; color:white; font-size:26px; }
.video-language { color:var(--muted); font-size:.88rem; }
.video-watch { padding-block-end:50px; }
.video-watch > h1 { max-width:30ch; font-size:clamp(2.1rem,4vw,3.9rem); }
.production-player { width:100%; margin-block:24px 14px; background:#101a1e; }
.production-player video { display:block; width:100%; height:auto; max-height:78vh; aspect-ratio:16/9; object-fit:contain; }
.video-scope { max-width:95ch; color:var(--muted); font-size:.95rem; }
.video-reference-grid { display:grid; grid-template-columns:1fr 1fr; gap:6%; margin-block-start:36px; }
.video-reference-grid h2 { font-family:inherit; font-size:1.45rem; letter-spacing:0; }
.video-chapters { padding:0; list-style:none; }
.video-chapters a { display:flex; align-items:center; gap:18px; min-height:48px; padding-block:8px; border-block-end:1px solid var(--line); text-decoration:none; }
.chapter-time { direction:ltr; unicode-bidi:isolate; min-width:44px; font-variant-numeric:tabular-nums; color:var(--accent); }
.video-transcript { border-block:1px solid var(--line); padding-block:16px; }
.video-transcript summary { min-height:44px; cursor:pointer; font-weight:500; }
.video-transcript > div { padding-block-start:20px; color:var(--muted); }
@media (max-width:650px) { .video-teaser,.video-reference-grid { grid-template-columns:1fr; gap:26px; } }
@media (max-width:600px) {
 .production-player { background:transparent; }
 .production-player video { aspect-ratio:9/16; width:min(100%,43.875vh); max-height:78vh; margin-inline:auto; background:#101a1e; }
 .video-play-icon { width:52px; height:52px; font-size:22px; }
}
