@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #201820;
  --muted: #5e535b;
  --surface: #fcf7f8;
  --surface-strong: #fff0f2;
  --line: #eadce0;
  --red: #b50826;
  --hero: #b30726;
  --link: #a40825;
  --focus: #a40825;
  --radius: 21px;
  --content: 1200px;
  --gutter: clamp(16px, 4.15vw, 62px);
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  scroll-padding-top: 112px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1a1518;
  --ink: #fff4f6;
  --muted: #d4bec7;
  --surface: #241b21;
  --surface-strong: #362027;
  --line: #533740;
  --red: #f99fae;
  --hero: #890a25;
  --link: #ffadba;
  --focus: #ffb0bc;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
address { font-style: normal; }

.wrap {
  width: min(var(--content), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--paper);
  border-block-start: 4px solid #dd031c;
  border-block-end: 1px solid var(--line);
}

.header-inner {
  min-height: 79px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
}

.brand { flex: none; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: auto; }
[data-theme="dark"] .brand {
  padding: 7px 10px;
  margin-inline-start: -10px;
  border-radius: 8px;
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  margin-inline-start: auto;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover, .site-footer a:not(.brand):hover { color: var(--link); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding-inline: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--link);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.portal-link:hover { border-color: var(--red); }

.theme-picker, .filters {
  display: flex;
  align-items: center;
  padding: 4px;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.theme-picker[hidden], .filters[hidden], .product[hidden], [data-product-group][hidden] { display: none; }
.theme-picker { flex: none; }

.theme-picker button, .filters button {
  color: var(--muted);
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 700;
  min-height: 38px;
  padding: 5px 13px;
}

.theme-picker button { padding-inline: 10px; }
.theme-picker button span { font-size: 1.04em; }
.theme-picker button[aria-pressed="true"] { background: var(--paper); color: var(--link); box-shadow: 0 1px 4px #21101819; }
.filters button[aria-pressed="true"] { background: var(--red); color: var(--paper); }
.theme-picker button:hover, .filters button:not([aria-pressed="true"]):hover { color: var(--link); }

.hero { padding-block-start: clamp(18px, 3.3vw, 44px); }
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: var(--hero);
  color: white;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(32px, 5.3vw, 77px);
  padding-inline-end: clamp(25px, 4vw, 58px);
  background: linear-gradient(145deg, #ffffff16, #26040a38 85%);
}

.hero h1 {
  font-size: clamp(2.85rem, 5.2vw, 5.05rem);
  line-height: .99;
  letter-spacing: -.066em;
  font-weight: 700;
  max-width: 9ch;
  text-wrap: balance;
}

.hero-copy > p {
  color: #fff5f6;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  max-width: 34ch;
  margin-block-start: 23px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 31px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: .9375rem;
  border: 1px solid transparent;
  border-radius: 8px;
}

.button-white { background: #fff; color: #9a0b26; }
.button-white:hover { background: #ffe8eb; }
.button-outline { border-color: #ffffff9c; color: white; }
.button-outline:hover { background: #fff2; border-color: #fff; }
.hero a:focus-visible, .contact-intro a:focus-visible { outline-color: #fff; }

.hero-media {
  display: block;
  position: relative;
  min-height: 493px;
  background: #572634;
  isolation: isolate;
  overflow: hidden;
  touch-action: pan-y;
}

.hero-frame { position: absolute; inset: 0; opacity: 0; }
.hero-frame.is-active { z-index: 1; opacity: 1; }
.hero-media img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 32px clamp(12px, 2.4vw, 26px) 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 8px;
  background: linear-gradient(transparent, #160b11d9);
}
.hero-caption { font-size: .95rem; font-weight: 700; }
.hero-controls { display: flex; align-items: center; gap: 2px; }
.hero-controls[hidden] { display: none; }
.hero-controls button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.hero-dot {
  width: 27px;
  height: 38px;
  display: grid;
  place-items: center;
}
.hero-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #ffffff32;
}
.hero-dot[aria-pressed="true"]::before { background: white; }
.hero-controls .hero-playback {
  min-height: 36px;
  padding-inline: 8px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.hero-controls button:focus-visible { outline-color: #fff; outline-offset: -2px; }

.go-section { margin-block-start: clamp(22px, 3.1vw, 36px); }
.go-banner {
  padding: clamp(20px, 3.4vw, 38px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 28px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--surface-strong);
}
.go-banner h2 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); line-height: 1.14; letter-spacing: -.035em; }
.go-copy p { margin-block-start: 8px; color: var(--muted); max-width: 60ch; }
.go-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
  flex-shrink: 0;
}

.section { padding-block: clamp(49px, 6.4vw, 89px); }
.section h2 {
  font-size: clamp(2rem, 3.9vw, 3.25rem);
  letter-spacing: -.052em;
  line-height: 1.08;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-block-end: 23px;
}

.section-head p, .service-intro p { color: var(--muted); margin-block-start: 11px; }
.filters { flex-wrap: wrap; border-radius: 25px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.5vw, 34px);
  min-height: 226px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.product-category, .screen-label {
  font-size: .875rem;
  color: var(--link);
  font-weight: 700;
  margin-block-end: 13px;
}
.product h3, .product h4 { font-size: clamp(1.21rem, 1.75vw, 1.53rem); letter-spacing: -.027em; line-height: 1.18; }
.product p:not(.product-category) { margin-block: 9px 20px; color: var(--muted); }
.product a { margin-block-start: auto; }
.product a, .text-link {
  color: var(--link);
  font-size: .9375rem;
  font-weight: 700;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}
.product a:hover, .text-link:hover { text-decoration-thickness: 2px; }

.integrated-catalog > h3 {
  margin-block-end: 17px;
  font-size: clamp(1.52rem, 2.8vw, 2.24rem);
  letter-spacing: -.035em;
  line-height: 1.13;
}
.product-grid:not([hidden]) + .integrated-catalog {
  margin-block-start: clamp(32px, 5vw, 64px);
}

.showcase.section { padding-block-end: 0; }
.showcase-grid, .screen-grid, .profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
}
.showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase-card, .screen-card, .profile-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.showcase-card, .screen-card { background: var(--paper); }
.showcase-card { display: flex; flex-direction: column; }
.showcase-media, .screen-zoom {
  display: block;
  position: relative;
  background: var(--surface-strong);
}
.showcase-media img, .screen-zoom img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.showcase-media img { aspect-ratio: 8 / 5; object-fit: cover; }
.showcase-media:focus-visible, .screen-zoom:focus-visible { outline-offset: -4px; }
.showcase-body, .screen-card figcaption { padding: clamp(17px, 2.7vw, 30px); }
.showcase-body .product-category, .screen-label { margin-block-end: 7px; }
.showcase-body h3, .screen-card h3, .profile-card h3 {
  font-size: clamp(1.22rem, 2.2vw, 1.62rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.showcase-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.showcase-body p:not(.product-category) { margin-block: 9px 16px; color: var(--muted); }
.showcase-body > .text-link { margin-block-start: auto; }
.profile-card ul {
  margin-block: 10px 14px;
  padding-inline-start: 1.15em;
  color: var(--muted);
}
.profile-card li + li { margin-block-start: 4px; }
.profile-card li::marker, .feature-list li::marker { color: var(--link); }

.profile-band { border-block-start: 1px solid var(--line); }
.profile-heading { text-align: center; margin: 0 auto clamp(22px, 3vw, 37px); max-width: 68ch; }
.profile-heading p { margin-block-start: 13px; color: var(--muted); }
.profile-card { padding: clamp(20px, 3vw, 36px); background: var(--surface-strong); }
.profile-card p, .profile-card ul { margin-block-start: 8px; color: var(--muted); }
.profile-card h3:not(:first-child) { margin-block-start: 19px; }
.profile-card strong { color: var(--ink); }
.profile-card ul { margin-block-end: 0; }
.profile-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.detail { padding-block: clamp(22px, 4vw, 49px) clamp(46px, 6vw, 83px); }
.breadcrumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 9px;
  color: var(--muted);
  font-size: .9375rem;
  margin-block-end: 14px;
}
.breadcrumb a { color: var(--link); font-weight: 700; text-underline-offset: .19em; }
.detail-heading { padding: clamp(23px, 5vw, 63px); border-radius: var(--radius); background: var(--surface-strong); }
.detail-heading h1 {
  font-size: clamp(2.13rem, 5.6vw, 4.35rem);
  letter-spacing: -.057em;
  line-height: 1.04;
  text-wrap: balance;
}
.detail-heading > p:last-child { max-width: 69ch; margin-block-start: 14px; color: var(--muted); font-size: 1.06rem; }
.detail-section { margin-block-start: clamp(32px, 5.2vw, 62px); }
.detail-section h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); line-height: 1.12; letter-spacing: -.038em; margin-block-end: 17px; }
.detail-section-intro { margin-block: -6px 16px; color: var(--muted); }
.detail-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.detail-groups article {
  padding: clamp(17px, 2.45vw, 27px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.detail-groups h3 { font-size: 1.16rem; line-height: 1.25; }
.detail-groups p, .detail-groups ul { margin-block: 8px 0; color: var(--muted); }
.detail-groups ul { padding-inline-start: 1.2em; }
.detail-groups li + li { margin-block-start: 4px; }
.detail-groups li::marker { color: var(--link); }
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.feature-list li {
  padding: 14px 17px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--red);
  border-radius: 8px;
}
.screen-card figcaption p:last-child { color: var(--muted); margin-block-start: 5px; }
.screen-zoom span {
  position: absolute;
  inset: auto 10px 10px auto;
  padding: 5px 11px;
  border-radius: 7px;
  color: var(--link);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: .875rem;
  font-weight: 700;
}
.screen-zoom:hover span { background: var(--surface-strong); }
.detail-contact {
  margin-block-start: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}
.button-primary { background: var(--red); color: var(--paper); }
.button-primary:hover { background: var(--link); }
.screen-dialog {
  width: min(1060px, calc(100vw - 22px));
  max-height: calc(100dvh - 22px);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.screen-dialog::backdrop { background: #13090cbe; }
.screen-dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-block-end: 1px solid var(--line);
}
.screen-dialog h2 { font-size: 1.07rem; line-height: 1.24; }
.screen-dialog button {
  padding: 7px 13px;
  background: var(--surface-strong);
  color: var(--link);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
}
.screen-dialog img { width: 100%; max-height: calc(100dvh - 94px); object-fit: contain; }

.service-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.service-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 8vw, 115px); }
.service-intro p { max-width: 34ch; }
.service-intro a { display: inline-block; margin-block-start: 20px; }
.service-list { border-block-start: 1px solid var(--line); }
.service-list div { padding-block: 15px; border-block-end: 1px solid var(--line); }
.service-list dt { color: var(--ink); font-size: 1.1rem; font-weight: 700; }
.service-list dd { color: var(--muted); margin-block-start: 3px; }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.4fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
}
.contact-intro {
  padding: clamp(26px, 4vw, 49px);
  color: #fff;
  background: var(--hero);
}
.contact-intro p { margin-block: 11px 20px; color: #fff5f6; max-width: 28ch; }
.email-link { display: inline-block; font-weight: 700; text-underline-offset: .19em; }
.office { padding: clamp(23px, 3.5vw, 43px); }
.office h3 { font-size: 1.2rem; line-height: 1.25; }
.phone-link {
  display: inline-block;
  margin-block: 8px;
  color: var(--link);
  font-size: clamp(1.03rem, 1.6vw, 1.34rem);
  font-weight: 700;
  text-underline-offset: .18em;
  white-space: nowrap;
}
.office address { color: var(--muted); margin-block-end: 9px; }

.site-footer { border-block-start: 1px solid var(--line); }
.footer-inner {
  padding-block: 23px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 23px;
  color: var(--muted);
}
.site-footer small { font-size: .875rem; }
.site-footer a:not(.brand) { margin-inline-start: auto; font-size: .875rem; text-underline-offset: .18em; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link:focus {
  position: fixed;
  z-index: 4;
  inset: 10px auto auto 10px;
  padding: 10px 16px;
  background: var(--paper);
}

@media (max-width: 950px) {
  .hero-media { min-height: 403px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  :root { scroll-padding-top: 130px; }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 9px;
    min-height: 0;
    padding-block-start: 9px;
  }
  .site-header .brand { justify-self: start; }
  .site-header .brand img { width: 119px; }
  .header-tools { justify-self: end; }
  .main-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    width: 100%;
    margin-inline-start: 0;
    justify-content: space-between;
    gap: 10px;
    border-block-start: 1px solid var(--line);
  }
  .go-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .hero-panel { grid-template-columns: 1fr; }
  .hero-copy { padding: clamp(25px, 7vw, 48px); }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 4rem); }
  .hero-copy > p { margin-block-start: 15px; }
  .hero-actions { margin-block-start: 21px; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; }
  .service-content { grid-template-columns: 1fr; }
  .profile-grid, .showcase-grid, .screen-grid, .feature-list { grid-template-columns: 1fr; }
  .detail-groups { grid-template-columns: 1fr; }
  .profile-photo { height: auto; aspect-ratio: 3 / 2; }
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 0; }
  .site-footer a:not(.brand) { margin-inline-start: 0; }
  .header-tools { gap: 7px; }
  .site-header .brand img { width: clamp(84px, 26vw, 115px); }
  .theme-picker button { padding-inline: 7px; }
  .theme-picker button span { display: none; }
  .portal-link { padding-inline: 9px; }
  .go-actions { justify-content: flex-start; }
  .hero-overlay { justify-content: flex-start; }
  .hero-caption { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .hero-frame { transform: scale(1.035); transition: opacity .55s ease, transform .65s ease; }
  .hero-frame.is-active { transform: scale(1); }
}
