@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #191a18;
  --text: #f6f3ed;
  --muted: #b9bab2;
  --gold: #c3a16a;
  --line: #393a35;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, h1, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
::selection { background: var(--gold); color: var(--background); }
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 14px 20px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.page {
  display: grid;
  grid-template-columns: minmax(380px, .86fr) minmax(0, 1.44fr);
  min-height: 100svh;
  max-width: 2200px;
  margin-inline: auto;
}
.information {
  display: flex;
  flex-direction: column;
  padding: 48px clamp(32px, 4.4vw, 84px) 30px;
}
.site-header { padding-bottom: 64px; }
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand img { flex: none; width: 52px; height: 58px; }
.brand-type {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.02em;
}
.brand-description {
  display: block;
  margin-top: 11px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.content { margin-block: auto; padding-block: 16px 40px; }
.content:focus { outline: none; }
.accent-line { display: block; width: 34px; height: 2px; margin-bottom: 26px; background: var(--gold); }
h1 { font-size: clamp(36px, 3.4vw, 54px); line-height: 1.18; font-weight: 400; letter-spacing: -.035em; }
.intro { max-width: 300px; margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.contacts { margin-top: 32px; font-style: normal; }
.contact { display: flex; align-items: center; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); min-height: 80px; }
.contact > svg { color: var(--gold); flex: none; }
.contact > span:not(.contact-arrow) { min-width: 0; }
.contact-label { display: block; margin-bottom: 6px; font-size: 11px; color: var(--muted); }
.contact-value { display: block; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-arrow { margin-left: auto; color: var(--gold); font-size: 21px; transition: transform .2s; }
.site-footer { padding-top: 36px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1.1fr .75fr;
  gap: 8px;
  padding: 12px 12px 12px 0;
  height: 100svh;
  min-height: 680px;
  max-height: 1400px;
  align-self: center;
}
.photo { overflow: hidden; min-height: 0; background: #34352f; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-main { grid-row: 1 / 4; }
.photo-main img { object-position: 54% center; }
.photo-keyboards img { object-position: 50% 57%; }
.photo-console img { object-position: 50% 66%; }
.photo-registers img { object-position: 50% 44%; }
.error-page { min-height: 100svh; display: grid; place-items: center; padding: 32px; }
.error-content { width: min(100%, 480px); }
.error-content h1 { margin-top: 56px; }
.back-link { display: inline-flex; align-items: center; min-height: 48px; margin-top: 28px; gap: 20px; color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
@media (hover: hover) {
  .contact:hover .contact-value { color: var(--gold); }
  .contact:hover .contact-arrow { transform: translate(2px, -2px); }
}
@media (prefers-reduced-motion: no-preference) {
  .photo { animation: reveal .8s ease-out both; }
  .photo-keyboards { animation-delay: .08s; }
  .photo-console { animation-delay: .16s; }
  .photo-registers { animation-delay: .24s; }
  @keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 1100px) {
  .information { padding-inline: 32px; }
  .page { grid-template-columns: minmax(345px, .9fr) minmax(0, 1.1fr); }
  .brand { gap: 12px; }
  .brand-type { font-size: 36px; }
  .brand img { width: 44px; height: 50px; }
  .mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 6px; }
  .contact { gap: 12px; }
  .contact-value { font-size: 13px; }
}
@media (max-width: 760px) {
  .page { display: flex; flex-direction: column; }
  .information { padding: 30px 28px 0; }
  .site-header { padding-bottom: 44px; }
  .brand-type { font-size: 36px; }
  .brand-description { font-size: 8px; }
  .content { margin: 0; padding: 0; }
  .accent-line { margin-bottom: 18px; width: 28px; }
  h1 { font-size: 34px; }
  h1 br { display: none; }
  .intro { margin-top: 16px; max-width: 330px; }
  .contacts { margin-top: 18px; }
  .contact { padding-block: 16px; min-height: 76px; }
  .contact-value { font-size: 14px; }
  .site-footer { padding-block: 22px; font-size: 10px; }
  .mosaic { width: 100%; height: auto; min-height: 0; padding: 0 8px 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(200px, 64vw, 370px)); gap: 6px; }
  .photo-main { grid-row: auto; }
  .photo-main img { object-position: 60% center; }
  .photo-registers img { object-position: center; }
}
@media (max-width: 370px) {
  .information { padding-inline: 22px; }
  .brand-type { font-size: 33px; }
  h1 { font-size: 30px; }
  .contact-value { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .accent-line { background: CanvasText; }
  .contact { border-color: CanvasText; }
}
