@import url("base.css");

:root { --red: #b13427; --red-on-ink: #f05a43; }

.brand,
.footer-brand {
  width: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font: 700 22px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.brand .brand-symbol,
.footer-brand .brand-symbol {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}
.footer-brand { padding: 4px 0; }
.footer-brand .brand-symbol { width: 36px; height: 36px; }

.hero .kicker, .hero h1 em { color: var(--red-on-ink); }
.company .kicker { color: var(--paper); }

.hero-feature { margin: 28px 0 0; align-self: center; min-width: 0; }
.hero-feature img { display: block; width: 100%; aspect-ratio: 7 / 4; object-fit: cover; object-position: center 42%; border: 2px solid var(--paper); }
.hero-feature figcaption { background: var(--paper); color: var(--ink); padding: 16px 18px; display: grid; gap: 5px; }
.hero-feature figcaption span { color: #7b281f; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-feature figcaption strong { font: 32px/1.05 var(--serif); }
.hero-feature figcaption small { font-size: 12px; color: #5c574f; }
.grid article > .synopsis { margin-top: 9px; color: #5c574f; font-size: 13px; font-weight: 400; text-transform: none; }
.poster img { object-position: center top; }
.poster { overflow: visible; margin-bottom: 48px; }
.image-trigger { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.hero-feature .image-trigger { height: auto; }
.image-trigger img { transition: filter .18s ease; }
.image-trigger:hover img { filter: brightness(.88); }
.image-trigger:focus-visible { position: relative; z-index: 2; }
.poster.fallback::after {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.poster span {
  top: calc(100% + 8px);
  left: 0;
  max-width: 100%;
  line-height: 1.2;
}
.grid article > .poster + p { margin-top: 0; }

article > p { font-size: inherit; text-transform: none; font-weight: 400; color: inherit; margin: 1em 0; }
.grid article > p { font-size: 11px; text-transform: uppercase; font-weight: 700; color: #625e56; margin: 15px 0 7px; }
.legal article > p { font-size: 17px; line-height: 1.7; text-transform: none; font-weight: 400; color: var(--ink); margin: 1em 0; }
.primary, .contact { color: var(--paper); }
.contact .contact-email {
  max-width: 100%;
  margin: 34px 0 14px;
  font: 700 32px/1.15 var(--sans);
  overflow-wrap: anywhere;
}
.contact button { color: var(--paper); border-color: var(--paper); }
:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--ink); }

body.lightbox-open { overflow: hidden; }
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--paper); overflow: hidden; }
.lightbox::backdrop { background: rgb(0 0 0 / .88); }
.lightbox-panel { width: 100%; height: 100%; padding: 18px clamp(16px,4vw,54px) clamp(18px,3vh,32px); display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: clamp(10px,1.8vh,18px); position: relative; }
.lightbox-close { position: absolute; top: 14px; right: clamp(16px,4vw,54px); min-width: 92px; min-height: 44px; padding: 0 14px; border: 1px solid var(--paper); background: var(--ink); color: var(--paper); font: 700 13px var(--sans); cursor: pointer; }
.lightbox-close span { margin-left: 8px; font-size: 20px; line-height: 1; }
.lightbox-status { align-self: center; max-width: calc(100% - 118px); margin: 0; color: #f0c94b; font: 800 11px/1.25 var(--sans); letter-spacing: .09em; }
.lightbox-stage { min-width: 0; min-height: 0; position: relative; overflow: hidden; }
.lightbox img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.lightbox-caption { width: min(92vw,900px); max-width: 100%; margin: 0 auto; color: var(--paper); text-align: center; overflow-wrap: anywhere; }
.lightbox-caption h2 { margin: 0; color: var(--paper); font: 700 clamp(18px,2vw,24px)/1.15 var(--sans); }
.lightbox-caption p { margin: 5px 0 0; color: var(--paper); font: 700 12px/1.35 var(--sans); }
.lightbox-caption #lightbox-note { color: #d8d3ca; font-weight: 400; }

.hero > *, .section-head > *, .company > *, .legal main, .legal article { min-width: 0; }
.review, .legal-banner, h1, h2, h3, .legal article, p, dd { overflow-wrap: anywhere; }
.legal-banner { max-width: 100%; line-height: 1.2; }
.legal article { max-width: 100%; }

@media (max-width: 760px) {
  header { gap: 16px; }
  .brand { gap: 8px; font-size: 20px; }
  .brand .brand-symbol { width: 30px; height: 30px; }
  .footer-brand { gap: 8px; font-size: 20px; }
  .footer-brand .brand-symbol { width: 32px; height: 32px; }
  .hero h1 { font-size: 52px; line-height: .95; }
  .legal h1 { font-size: 48px; }
  .legal article h2 { font-size: 34px; line-height: 1.08; }
  .legal article { font-size: 16px; }
  .legal article > p { font-size: 16px; }
  .legal header { gap: 8px; }
  .legal header .brand { width: 138px; }
  .legal header nav a { padding-left: 6px; padding-right: 6px; }
  .hero-feature { margin-top: 44px; }
  .hero-feature figcaption strong { font-size: 27px; }
  .contact .contact-email { font-size: 26px; }
  .poster.fallback { padding: 14px; }
  .poster.fallback::after { font-size: 22px; line-height: 1.05; }
  .lightbox-panel { padding: 12px; gap: 9px; }
  .lightbox-close { right: 12px; }
  .lightbox-status { max-width: calc(100% - 104px); font-size: 10px; }
  .lightbox-caption { width: 100%; }
  .lightbox-caption p { font-size: 11px; }
}

@media (max-width: 340px) {
  .hero h1 { font-size: 44px; }
  .legal h1 { font-size: 42px; }
  .legal article h2 { font-size: 30px; }
  .review { font-size: 9px; padding-left: 10px; padding-right: 10px; }
  .contact .contact-email { font-size: 22px; }
  .poster.fallback::after { font-size: 18px; }
}
