/* Narrow changes to the original Poliform 2.0.3 design, per first-round brief. */
html { scroll-behavior: auto; scroll-padding-top: 24px; }
body { padding-bottom: 100px; }
::selection { background: var(--ink); color: var(--paper); }
input, textarea { caret-color: var(--ink); }
* { scrollbar-color: var(--lichen) var(--paper); }
a { text-underline-offset: 3px; }
button { font: inherit; color: inherit; border: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
button:disabled { opacity: .55; cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: 0; left: var(--pad-x); z-index: 400; background: var(--ink); color: white; padding: 16px; transform: translateY(-120%); }
.skip-link:focus { transform: none; }
.nav { position: relative; margin-bottom: 0; border-radius: 10px 10px 0 0; }
.nav .nav__bar--logo { flex-basis: 190px; }
.nav .nav__links { gap: 16px; margin-right: 4px; }
.nav .nav__bar--menu { gap: 16px; }
.nav .nav__contacts { gap: 8px; }
.nav .btn--cta { color: var(--paper); background: var(--ink); min-height: 44px; }
.nav .btn--cta:hover { color: var(--paper); background: var(--graphite); }
.nav__panel-links a { display: flex; align-items: center; min-height: 48px; }
.nav__panel-contacts { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--lichen); margin-top: 14px; }
.nav__panel-contacts > a { min-height: 32px; }
.msgr { background: var(--paper); transition: color .2s, background .2s; }
.msgr--max { font-size: 10px; font-weight: 600; }
.msgr svg { width: 21px; height: 21px; }
.hero { padding-top: 0; padding-bottom: 16px; height: min(760px, calc(100svh - 140px)); min-height: 570px; }
.hero__slider { border-top-left-radius: 0; border-top-right-radius: 0; }
.hslide { transition: opacity .2s ease; pointer-events: none; }
.hslide.is-active { pointer-events: auto; }
.hslide__cap { padding-bottom: 36px; }
.hero__slider-ui { bottom: 36px; }
.hslide__desc { line-height: 1.5; }
.hero__counter { min-width: 48px; min-height: 44px; }
.hero__asset-note { top: 20px; right: 20px; left: auto; bottom: auto; }
.asset-note { position: absolute; z-index: 2; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); padding: 6px 10px; border-radius: 5px; font-size: 11px; color: var(--graphite); }
.hero .hero__asset-note { top: 20px; right: 20px; left: auto; bottom: auto; }
.btn, .btn-arrow, .msgr, .nav__link { transition: color .2s ease, background-color .2s ease; }
.btn::before, .btn::after { display: none; }
.btn:hover, .btn-arrow:hover { transform: none; }
.prcard:hover .prcard__media img, .ncard:hover .ncard__media img, .pcard:hover .pcard__img { transform: none; }
.prcard__media img, .ncard__media img { transition: none; }
.popular, .certs, .footer { margin-top: 0; }
.popular { padding-top: 40px; }
.popular__heading { margin-bottom: 30px; }
.prcard__media { padding: 0; display: block; width: 100%; background: var(--tissue); }
.prcard__body { padding: 22px 16px 16px; }
.prcard__name { font-size: 23px; }
.prcard__specs { margin-top: 12px; margin-bottom: 14px; }
.prcard__price { color: var(--graphite); font-size: 14px; }
.prcard__links .btn { min-height: 44px; }
.draft-note { font-size: 12px; line-height: 1.5; color: var(--graphite); margin-top: 16px; }
.category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.catalog-home .hscroll__title { margin-bottom: 30px; }
.category-card { display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-card); background: var(--tissue); }
.category-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 5px; }
.category-media img { width: 100%; height: 100%; object-fit: cover; }
.category-media--pending { display: grid; place-items: center; background: #e8eae8; text-align: center; color: var(--graphite); padding: 20px; font-size: 14px; }
.category-body { padding: 24px 20px 20px; display: flex; flex: 1; flex-direction: column; gap: 14px; }
.category-body h3 { font-weight: 400; font-size: var(--text-subheading); }
.category-body p { color: var(--graphite); }
.category-body .btn { align-self: flex-start; margin-top: auto; }
.catalog-expanded-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 40px 0 24px; }
.catalog-expanded-head h3 { font-weight: 400; font-size: var(--text-subheading); }
.silk__media img { object-position: center; }
.quote__video video { max-height: 430px; }
.quote__text { font-size: var(--text-heading-lg); }
.production-reel__track { gap: 20px; }
.production-shot video { max-height: 480px; }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.news-head .news__title { margin-bottom: 0; }
.news-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.news-controls .msgr { width: 44px; height: 44px; }
#newsCount { font-size: 13px; font-variant-numeric: tabular-nums; }
.news__grid { gap: 20px; }
.news .ncard__name { font-size: 23px; }
.news .ncard__date { text-transform: none; }
.contact { background: var(--paper); }
.contact__form { gap: 24px; }
.field input, .field textarea { background: var(--tissue); }
.contact__privacy { font-size: 12px; line-height: 1.5; }
.contact__privacy input { accent-color: var(--ink); }
.contact__form-row { margin-top: 0; }
.contact__status { color: var(--ink); padding: 16px; background: var(--tissue); border-radius: var(--r-btn); line-height: 1.5; }
.request-context { background: var(--tissue); border-radius: var(--r-btn); padding: 16px; font-size: 14px; }
.certs { background: var(--tissue); padding-block: 32px; }
.certs-minimal { display: flex; align-items: center; gap: 36px; }
.certs-minimal h2 { font-weight: 400; }
.certs-minimal p { flex: 1; color: var(--graphite); }
.certs-minimal .btn { flex-shrink: 0; }
.contact-bar { position: fixed; z-index: 120; bottom: max(14px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); padding: 10px; background: var(--tissue); border-radius: var(--r-nav); box-shadow: 0 8px 28px rgba(34,47,48,.14); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.contact-bar.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.contact-bar .msgr { width: 44px; height: 44px; flex: 0 0 44px; }
.contact-bar .btn { min-height: 44px; }
.bar-phone { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.bar-phone-icon { display: none; }
.bar-phone svg { width: 21px; height: 21px; }
.toast { position: fixed; z-index: 600; left: 50%; bottom: 92px; transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 16px 20px; font-size: 14px; box-shadow: 0 8px 28px rgba(34,47,48,.14); }
.product-dialog { padding: 36px; }
.product-dialog .modal__close { position: absolute; top: 14px; right: 14px; background: var(--tissue); }
.product-dialog__body { padding-top: 6px; }
.product-dialog__media img { aspect-ratio: 4/3; object-fit: contain; background: var(--tissue); }
.product-specs { font-size: 14px; gap: 10px; }
.product-specs div { padding-bottom: 10px; }
.product-specs dt { max-width: 56%; }
.product-specs dd { max-width: 50%; }
.technical-placeholder { margin-top: 24px; padding: 24px 16px; background: var(--tissue); border-radius: 5px; font-size: 14px; }
.technical-placeholder small { display: block; color: var(--graphite); margin-top: 8px; line-height: 1.5; }
@media (max-width: 1200px) {
  .nav .nav__bar--menu { gap: 8px; }
  .hslide__cap { padding-bottom: 104px; }
  .hero__slider-ui { left: clamp(20px,2.5vw,48px); right: auto; bottom: 28px; }
}
@media (max-width: 1000px) {
  .popular__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-grid { gap: 12px; }
  .category-body { padding: 20px 12px 12px; }
  .category-body .btn { font-size: 12px; padding-inline: 14px; }
  .prcard__specs { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .prcard__specs dt { position: static; font-size: 12px; }
  .quote__text { font-size: 36px; }
  .certs-minimal { gap: 20px; }
}
@media (max-width: 700px) {
  body { padding-bottom: 94px; }
  .nav { margin-top: 12px; padding: 10px; }
  .nav .nav__bar--logo { flex: 0 1 160px; }
  .nav .btn--cta { min-height: 44px; font-size: 12px; padding-inline: 14px; }
  .nav__toggle { width: 44px; height: 44px; flex-basis: 44px; }
  .hero { min-height: 0; height: 560px; padding-top: 0; padding-bottom: 12px; }
  .hero__slider { min-height: 0; }
  .hslide__cap { padding: 24px 20px 100px; gap: 14px; }
  .hslide__title { font-size: 36px; max-width: 17ch; line-height: 1; }
  .hero__proof { font-size: 11px; }
  .hslide__desc { font-size: 15px; max-width: 34ch; }
  .hslide img { object-position: 60% center; }
  .hero .hero__asset-note { top: 14px; right: 12px; font-size: 10px; }
  .hero__slider-ui { left: 20px; right: 20px; bottom: 22px; }
  .hero__actions .btn { min-height: 48px; font-size: 10px; }
  .popular { padding-top: 28px; }
  .popular__heading { align-items: flex-start; gap: 14px; }
  .popular__heading .popular__title { font-size: 36px; max-width: 8ch; }
  .popular__catalog { font-size: 11px; padding: 12px 16px; min-height: 44px; }
  .popular__grid { gap: 12px; }
  .prcard { padding: 7px; }
  .prcard__body { padding: 14px 5px 5px; }
  .prcard__name { font-size: 19px; }
  .prcard__specs { font-size: 12px; gap: 8px; margin: 10px 0; }
  .prcard__specs dt { font-size: 10px; }
  .prcard__price { font-size: 12px; }
  .prcard__links { display: grid; grid-template-columns: 1fr; }
  .prcard__links .btn { font-size: 11px; min-height: 44px; }
  .category-grid { grid-template-columns: 1fr; gap: 20px; }
  .category-media { aspect-ratio: 16/10; }
  .category-body { padding: 22px 16px 16px; }
  .category-body .btn { min-height: 44px; }
  .catalog-expanded-head { align-items: flex-start; flex-direction: column; }
  .silk__media { aspect-ratio: 4/3; }
  .silk__body { padding: 26px; gap: 28px; }
  .quote__layout { grid-template-columns: 1fr; gap: 30px; }
  .quote__video video { max-height: 400px; }
  .production-reel__track { grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-columns: auto; gap: 22px 12px; width: auto; padding-right: 0; overflow: visible; }
  .production-reel__head { grid-template-columns: 1fr; }
  .production-reel__title { max-width: 100%; }
  .production-shot video { max-height: none; }
  .news-head { align-items: flex-end; gap: 12px; }
  .news-head h2 { font-size: 36px; max-width: 8ch; }
  .news-controls { gap: 6px; }
  .news-controls .msgr { width: 40px; height: 44px; }
  .news__grid { grid-template-columns: 1fr; }
  .news__grid .ncard:not(.is-active) { display: none; }
  .contact__layout { grid-template-columns: 1fr; gap: 32px; }
  .certs-minimal { align-items: flex-start; flex-direction: column; }
  .bar-phone-number { display: none; }
  .bar-phone { width: 44px; padding: 0; justify-content: center; background: var(--paper); border-radius: 50%; }
  .bar-phone-icon { display: inline-flex; }
  .contact-bar { gap: 6px; padding: 8px; bottom: max(10px,env(safe-area-inset-bottom)); }
  .contact-bar .btn { font-size: 11px; padding-inline: 14px; }
  .product-dialog { padding: 24px; }
  .product-dialog__media { margin-top: 36px; }
}
@media (max-width: 360px) {
  .nav .nav__bar--logo { flex-basis: 125px; }
  .hero { height: 570px; }
  .popular__grid { grid-template-columns: 1fr; }
  .news-head { align-items: flex-start; flex-direction: column; }
  .contact-bar { gap: 4px; max-width: calc(100% - 16px); }
  .contact-bar .btn { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
