.cinema-site { --brand-width: min(100% - 96px, 1320px); }
.cinema-site .shell { width: 100%; }
.cinema-site .top {
  padding-inline: max(48px, calc((100% - 1320px) / 2));
  background: #071123;
  border-color: #243853;
  color: #f1f7ff;
}
.cinema-site .top .wordmark, .cinema-site .brand-nav a { color: #e1ecff; }
.cinema-site .brand-nav a { position: relative; min-height: 40px; display: flex; align-items: center; }
.cinema-site .brand-nav a::after { content: ''; position: absolute; inset: auto 0 2px; height: 2px; background: #91c6ff; transform: scaleX(0); transform-origin: left; }
.cinema-site .brand-nav a:is(:hover, [aria-current="location"]) { color: #fff; text-decoration: none; }
.cinema-site .brand-nav a:is(:hover, [aria-current="location"])::after { transform: scaleX(1); }
.cinema-site .top .languages { background: #152747; }
.cinema-site .top .languages button { color: #d5e3fa; }
.cinema-site .top .languages [aria-pressed="true"] { color: #102c60; background: #e1ecff; }
.cinema-site .brand-section, .cinema-site .footer { width: var(--brand-width); margin-inline: auto; }

.brand-hero.brand-cinema {
  min-height: max(560px, calc(100svh - 79px));
  margin: 0;
  color: #f7faff;
  background: radial-gradient(ellipse at 70% 51%, #243649 0, #172638 30%, #0c1526 64%, #080f1d 86%);
}
.brand-cinema .brand-photo { z-index: 0; }
.brand-cinema:has(.opening-stage[data-ready="true"]) .brand-photo { visibility: hidden; }
.brand-cinema .med-reference-poster { background: radial-gradient(ellipse at 74% 52%, #173966, #081226 65%); }
.brand-cinema .med-reference-poster::after { background: none; }
.med-reference-poster .brand-wide {
  inset: 8% 9% 8% auto;
  width: min(43%, 490px);
  height: 84%;
  object-fit: contain;
  object-position: center;
}
.med-wordmark .mark { display: none; }
.med-wordmark #brand { display: grid; align-items: center; min-height: 42px; padding: 5px 9px; background: #f7faff; border-radius: 5px; }
.med-wordmark img { display: block; width: clamp(81px, 11vw, 132px); height: auto; }
.med-about { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); align-items: center; gap: clamp(22px, 4vw, 64px); }
.med-about h2, .med-reference > h2, .brand-product-section h2, .brand-faq > h2 { text-wrap: balance; }
.med-about > img { display: block; width: min(100%, 215px); height: auto; }
.med-about p { margin-top: 12px; max-width: 66ch; color: var(--muted); line-height: 1.62; }
.med-reference-grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4.7vw, 70px); margin-top: 22px; align-items: start;
}
.med-reference-media { display: grid; min-width: 0; gap: 10px; }
.med-reference-open { border: 1px solid #cbd8e6; border-radius: 12px; overflow: hidden; background: #f7faff; }
.med-photo-open { display: grid; width: 100%; position: relative; place-items: center; aspect-ratio: 1.36; border: 0; padding: 12px; background: #dce5ef; cursor: zoom-in; }
.med-photo-open img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.med-photo-open:focus-visible { outline-offset: -5px; }
.med-photo-zoom { position: absolute; inset: auto 12px 12px auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #0c2345; color: #fff; font-size: 1.03rem; }
.med-reference-open figcaption { min-height: 37px; padding: 8px 12px; color: #405573; font-size: .77rem; }
.med-reference-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.med-reference-views button { display: flex; min-width: 0; min-height: 48px; align-items: center; gap: 7px; padding: 5px 7px; text-align: start; border: 1px solid #c4d3e5; border-radius: 8px; color: #193454; background: #f7faff; font-size: .78rem; font-weight: 660; }
.med-reference-views button img { flex: 0 0 31px; display: block; width: 31px; height: 36px; object-fit: contain; }
.med-reference-views button[aria-pressed="true"] { background: #dceafe; border-color: #557fc3; color: #123469; }
.med-photo-dialog { border: 0; border-radius: 14px; padding: 16px; max-width: min(92vw, 780px); max-height: 90vh; background: #f7faff; color: #132b56; }
.med-photo-dialog::backdrop { background: #051126d9; }
.med-photo-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.med-photo-dialog figure img { display: block; width: auto; height: auto; max-width: 100%; max-height: 68dvh; object-fit: contain; }
.med-photo-dialog figcaption { padding-top: 8px; font-size: .85rem; }
.med-reference-copy { display: grid; gap: 19px; min-width: 0; }
.med-reference-copy p { color: var(--muted); line-height: 1.57; }
.med-reference-copy h3 { margin-bottom: 7px; font-size: 1.17rem; letter-spacing: -.025em; }
.med-profile-trace { border-top: 1px solid var(--line); padding-top: 15px; }
.med-product-specs { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); margin: 13px 0 0; background: #f4f8fc; border-block: 1px solid #cbd8e6; }
.med-product-specs > div { padding: 9px 11px; }
.med-product-specs > div + div { border-inline-start: 1px solid #cbd8e6; }
.med-product-specs dt { color: #485d76; font-size: .75rem; }
.med-product-specs dd { margin: 3px 0 0; color: #132f5b; font-weight: 710; font-size: .96rem; }
.med-profile-actions { display: flex; flex-wrap: wrap; gap: 9px 17px; align-items: center; margin-top: 13px; }
.cinema-site .inspection-frame :is(.inspection-kit, .inspection-vial) { object-fit: contain; object-position: center; }
.opening-stage, .opening-guide, .inspection-model { position: absolute; inset: 0; pointer-events: none; }
.opening-stage canvas, .inspection-model canvas { width: 100%; height: 100%; display: block; }
.opening-stage { z-index: 1; }
@media (any-hover: hover) and (any-pointer: fine) {
  .opening-stage[data-ready="true"] canvas { pointer-events: auto; }
}
.opening-guide {
  z-index: 2;
  background:
    linear-gradient(90deg, #050b17f2 0%, #050b17b8 21%, #050b173c 38%, #050b1700 55%),
    linear-gradient(0deg, #040917c9 0%, #04091700 32%);
}
.opening-guide::before {
  content: "";
  position: absolute;
  inset: 23px;
  border: 1px solid #b1c6de22;
  background: repeating-linear-gradient(90deg, #b2c6da54 0 1px, transparent 1px 24px) left top / 100% 4px no-repeat;
  mask-image: linear-gradient(90deg, #0007, #000 75%);
}
.brand-cinema .brand-hero-content {
  position: relative;
  z-index: 3;
  width: min(51%, 735px);
  padding-inline: max(48px, calc((100vw - 1320px) / 2)) 10px;
}
.brand-cinema .brand-section-label { letter-spacing: .105em; }
.brand-cinema .brand-hero-actions .button { min-height: 48px; }
.brand-cinema .brand-hero-actions { gap: 8px; }
.brand-cinema .brand-hero-actions .hero-manual { background: #0f214bbf; border-color: #9ac6f296; color: #f3f8ff; }
.brand-cinema .brand-hero-actions .hero-manual:hover { background: #1a3975; }
.brand-cinema .hero-guide { display: inline-block; margin-top: 5px; }
.opening-caption {
  position: absolute; z-index: 3; bottom: 36px; right: 36px;
  color: #c2d5ec; font-size: .69rem; letter-spacing: .04em;
}
.brand-cinema .brand-replay { z-index: 4; }

.inspection-model {
  z-index: 1;
  background: radial-gradient(ellipse at 52% 52%, #1e3d63, #08192e 69%, #061228 97%);
  visibility: hidden;
}
.inspection-model[data-ready="true"] { visibility: visible; filter: brightness(calc(1 - var(--result-phase) * .54)); }
.inspection-frame:has(.inspection-model[data-ready="true"]) .inspection-kit,
.inspection-frame:has(.inspection-model[data-ready="true"]) .inspection-vial { visibility: hidden; }
.inspection-frame:has(.inspection-model[data-ready="true"]) :is(.inspection-reticle, .inspection-beam) {
  left: 50%; width: min(47%, 230px); transform: translateX(-50%);
  opacity: calc(clamp(0, (var(--scan-phase) - .8) * 6, 1) * (1 - var(--result-phase)));
}
.inspection-frame:has(.inspection-model[data-ready="true"]) .inspection-reticle { top: 25%; height: 50%; }
.inspection-frame:has(.inspection-model[data-ready="true"]) .inspection-beam { top: calc(25% + var(--code-sweep, 0) * 50%); }
.inspection-status { display: flex; align-items: center; gap: 11px; }
.inspection-status .status-symbol { flex: none; }
.inspection-status strong { display: block; font-size: clamp(.93rem, 2vw, 1.28rem); line-height: 1.2; }

@media (max-width: 850px) {
  .cinema-site { --brand-width: calc(100% - 42px); }
  .cinema-site .top { padding-inline: 21px; }
  .brand-cinema .brand-hero-content { padding-inline: 32px 6px; }
}
@media (max-width: 650px) {
  .med-about { grid-template-columns: 1fr; gap: 13px; }
  .med-about > img { width: 128px; }
  .brand-cinema .med-reference-poster::after { background: linear-gradient(0deg, #071124, transparent 23%); }
  .med-reference-poster .brand-wide { inset: 4% 0 10%; width: 100%; height: 86%; }
  .med-reference-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 16px; }
  .med-reference-media, .med-reference-views { gap: 6px; }
  .med-reference-views button { padding: 5px 4px; gap: 4px; font-size: .68rem; }
  .med-reference-views button img { flex-basis: 22px; width: 22px; height: 27px; }
  .med-reference-open figcaption { font-size: .74rem; padding: 7px 8px; }
  .med-product-specs > div { padding-inline: 7px; }
  .cinema-site { --brand-width: calc(100% - 32px); }
  .cinema-site .top { padding-inline: 16px; }
  .cinema-site .brand-nav { padding-block: 0 3px; gap: 4px; }
  .cinema-site .brand-nav a { min-height: 40px; }
  .consumer:not(.brand-site):not(.scan-layout) .top .brand-mobile-scan { flex: 0 0 auto; }
  .consumer:not(.brand-site) .top { gap: 6px; }
  .brand-hero.brand-cinema {
    min-height: max(545px, calc(100svh - 105px));
    grid-template-rows: minmax(220px, 1fr) auto;
    background: radial-gradient(ellipse at 50% 35%, #214477 0, #102644 34%, #071124 67%, #040a16 92%);
  }
  .brand-cinema .brand-photo { position: absolute; inset: 0 0 auto; height: 51%; aspect-ratio: auto; }
  .brand-cinema .brand-photo::after { background: linear-gradient(0deg, #071124, transparent 37%); }
  .brand-cinema .brand-hero-content { width: 100%; padding: 10px 24px 31px; }
  .brand-cinema .brand-hero-content h1 { font-size: clamp(2.35rem, 9.6vw, 3.4rem); }
  .brand-cinema .brand-hero-actions { display: grid; grid-template-columns: 1.16fr 1fr; }
  .brand-cinema .brand-hero-actions .button { min-width: 0; padding-inline: 7px; font-size: .83rem; }
  .opening-guide { background: linear-gradient(0deg, #070e1b 0%, #070e1be8 22%, #070e1b20 46%, #070e1b00 56%); }
  .opening-guide::before { inset: 11px; mask-image: linear-gradient(#000, #0000 70%); }
  .opening-caption { bottom: auto; top: 19px; left: 19px; right: auto; font-size: .63rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.cinema-site) { scroll-behavior: smooth; }
  .cinema-site .brand-nav a::after { transition: transform .22s ease; }
  .brand-cinema .brand-photo { transition: opacity .22s ease, visibility .22s; }
  .brand-cinema:has(.opening-stage[data-ready="true"]) .brand-photo { opacity: 0; }
  .med-photo-dialog[open] { animation: med-photo-entry .22s ease-out both; }
  @keyframes med-photo-entry { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
}
@media (max-width: 650px) and (max-height: 720px) {
  .brand-cinema .brand-photo { height: min(44%, 265px); }
}
