:root {
  color-scheme: light;
  --ink: #12151b;
  --ink-2: #252b35;
  --muted: #66707d;
  --paper: #f4f1eb;
  --soft: #ebe7de;
  --white: #ffffff;
  --line: rgba(18, 21, 27, 0.12);
  --line-dark: rgba(255, 255, 255, 0.15);
  --blue: #263fd6;
  --blue-dark: #17258f;
  --gold: #d7a145;
  --gold-soft: #f4dfad;
  --dark: #10131a;
  --dark-2: #1b2029;
  --shadow: 0 26px 80px rgba(16, 19, 26, 0.22);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  text-rendering: geometricPrecision;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border-radius: 0;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr) auto auto auto;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 72px);
  color: var(--white);
  background: rgba(13, 11, 10, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  font-size: 14px;
}

.topbar__icon {
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 20px;
}

.topbar__link strong {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.topbar__link:hover strong {
  color: var(--gold);
  border-color: var(--gold);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  padding: 0 26px;
  cursor: pointer;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  color: #0c0c0c;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

.button--primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(38, 63, 214, 0.32);
}

.button--primary:hover {
  background: var(--blue-dark);
}

.button--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.button--dark,
.button--light-on-dark {
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(18, 21, 27, 0.1);
}

.button--light-on-dark {
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: 150px clamp(18px, 5vw, 88px) clamp(46px, 7vw, 96px);
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 88px);
  right: clamp(18px, 5vw, 88px);
  bottom: 30px;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.6;
}

.hero__media,
.hero__shade,
.hero__grain {
  position: absolute;
  inset: 0;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04) translateX(0);
  animation: heroFade 18s infinite;
}

.hero__media img:nth-child(2) {
  animation-delay: 6s;
}

.hero__media img:nth-child(3) {
  animation-delay: 12s;
}

.hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.08) 56%);
}

.hero__grain {
  z-index: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero__content,
.hero__panel {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 950px;
  font-size: clamp(48px, 6.6vw, 94px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

h3 {
  font-size: 21px;
  line-height: 1.18;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.hero__lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__panel {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__panel div {
  padding: 22px;
  background: rgba(20, 22, 28, 0.7);
}

.hero__panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}

.hero__panel strong,
.hero__panel small {
  display: block;
}

.hero__panel strong {
  font-size: 18px;
  line-height: 1.25;
}

.hero__panel small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.4;
}

.section {
  padding: clamp(66px, 9vw, 122px) clamp(18px, 5vw, 88px);
}

.section__head {
  max-width: 900px;
  margin-bottom: 38px;
}

.section__head p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 18px;
}

.section__head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.ruler {
  background:
    linear-gradient(180deg, var(--white), #f8f7f4 72%, var(--soft));
}

.size-board {
  display: grid;
  grid-template-columns: repeat(10, minmax(86px, 1fr));
  gap: 10px;
  padding: 18px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(16, 19, 26, 0.16);
  overflow-x: auto;
}

.size-chip {
  position: relative;
  min-width: 86px;
  min-height: 124px;
  display: grid;
  align-content: end;
  gap: 3px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: linear-gradient(180deg, #202631, #141821);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.size-chip::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14px;
  height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, transparent 0 48%, rgba(255, 255, 255, 0.2) 49% 51%, transparent 52%);
  opacity: 0.7;
}

.size-chip__bar {
  position: absolute;
  left: 12px;
  bottom: 54px;
  width: var(--bar);
  height: 5px;
  background: linear-gradient(90deg, var(--gold), #fff2c8);
  box-shadow: 0 0 24px rgba(215, 161, 69, 0.32);
}

.size-chip strong {
  position: relative;
  z-index: 1;
  font-size: 23px;
  line-height: 1;
}

.size-chip small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 700;
}

.size-chip:hover,
.size-chip.is-active {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: linear-gradient(180deg, #2b3140, #171c27);
}

.size-result {
  display: grid;
  grid-template-columns: auto auto minmax(180px, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.size-result span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.size-result strong {
  font-size: 30px;
}

.size-result p {
  margin: 0;
}

.compare {
  display: grid;
  gap: 24px;
  background: var(--soft);
}

.isolation-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(16, 19, 26, 0.06);
  overflow: hidden;
}

.isolation-card__media {
  min-height: 430px;
  overflow: hidden;
}

.isolation-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.isolation-card:hover img {
  transform: scale(1.045);
}

.isolation-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 60px);
}

.isolation-card__body p {
  font-size: 18px;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 24px 0 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 14px 16px;
  background: #fbfaf7;
}

.spec-list dt {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.process {
  background: var(--white);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process__grid article {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  background: #fbfaf7;
}

.process__grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.process__grid p {
  margin-bottom: 0;
}

.gallery {
  background: var(--dark-2);
  color: var(--white);
}

.gallery .section__head p {
  color: rgba(255, 255, 255, 0.72);
}

.gallery h2 {
  max-width: 820px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery__grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0d1016;
}

.gallery__grid figure:first-child {
  grid-row: span 2;
}

.gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.gallery__grid figure:hover img {
  transform: scale(1.045);
  opacity: 1;
}

.gallery__grid figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(10px);
  font-weight: 800;
  line-height: 1.3;
}

.request {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  background:
    linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.84)),
    url("assets/photos/ppu-hero.jpeg") center / cover;
  border-top: 1px solid var(--line);
}

.request__copy p {
  font-size: 18px;
}

.inline-form,
.request-card {
  display: grid;
  gap: 15px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(18, 21, 27, 0.96), rgba(31, 37, 49, 0.96)),
    linear-gradient(90deg, rgba(215, 161, 69, 0.16), transparent);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.inline-form {
  grid-template-columns: 1fr 1fr;
}

.inline-form__wide {
  grid-column: 1 / -1;
}

.inline-form label,
.request-card label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.inline-form span,
.request-card label span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.inline-form input,
.inline-form textarea,
.request-card input,
.request-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 15px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.inline-form input::placeholder,
.inline-form textarea::placeholder,
.request-card input::placeholder,
.request-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.inline-form input:focus,
.inline-form textarea:focus,
.request-card input:focus,
.request-card textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

.inline-form small,
.request-card small {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.inline-form small.is-error,
.request-card small.is-error {
  color: #ffd0d0;
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
  padding: 30px;
  color: rgba(255, 255, 255, 0.82);
  background: #0d0f14;
}

.footer a:hover {
  color: var(--gold);
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.modal__card {
  position: relative;
  width: min(100%, 560px);
  animation: modalIn 0.28s ease both;
}

.request-card__top h2 {
  color: var(--white);
  font-size: 36px;
}

.request-card__top p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible {
  animation: revealRise 0.68s ease both;
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.04) translateX(0);
  }
  7%,
  29% {
    opacity: 1;
  }
  36%,
  100% {
    opacity: 0;
    transform: scale(1.1) translateX(-1.4%);
  }
}

@keyframes revealRise {
  from {
    transform: translateY(26px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .topbar__schedule,
  .topbar__mail {
    display: none;
  }

  .hero,
  .request {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    max-width: 620px;
  }

  .size-board {
    grid-template-columns: repeat(10, 96px);
  }

  .isolation-card,
  .isolation-card--vus {
    grid-template-columns: 1fr;
  }

  .isolation-card--vus .isolation-card__media {
    order: -1;
  }

  .process__grid {
    grid-template-columns: 1fr;
  }

  .section__head--row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: absolute;
    grid-template-columns: auto 1fr;
    gap: 12px;
    min-height: auto;
    padding: 12px 14px;
  }

  .brand {
    width: 54px;
    height: 54px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .topbar__item {
    justify-self: end;
    font-size: 13px;
  }

  .topbar .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    min-height: 790px;
    padding: 178px 18px 40px;
  }

  .hero::after {
    left: 18px;
    right: 18px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero__actions,
  .request__actions {
    width: 100%;
  }

  .hero__actions .button,
  .request__actions .button,
  .button--light-on-dark {
    width: 100%;
  }

  .hero__panel div {
    padding: 17px;
  }

  .section {
    padding: 58px 18px;
  }

  .section__head {
    margin-bottom: 28px;
  }

  .size-board {
    grid-template-columns: repeat(10, 88px);
    margin-left: -18px;
    margin-right: -18px;
    padding: 14px 18px;
    border-left: 0;
    border-right: 0;
  }

  .size-result {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .isolation-card__media {
    min-height: 260px;
  }

  .isolation-card__body {
    padding: 24px 18px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery__grid figure:first-child {
    grid-row: auto;
  }

  .inline-form {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .request-card__top h2 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media img:first-child {
    opacity: 1;
  }
}
