:root {
  color-scheme: light;
  --paper: #f4f4f1;
  --ink: #171714;
  --muted: #50504b;
  --line: #c9c9c1;
  --red: #ac211b;
  --silver-1: #d3d3ce;
  --silver-2: #f2f2ef;
  --silver-3: #b9b9b3;
  --ease: cubic-bezier(.2,.7,.2,1);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
figure, p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
a:hover { color: var(--red); }
img { display: block; width: 100%; height: auto; background: #deded7; }
.shell { width: min(100% - 112px, 1280px); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 12px;
  background: white;
  transform: translateY(-180%);
}
.skip:focus { transform: translateY(0); }
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 77px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.name { font-weight: 700; white-space: nowrap; }
.name span { margin-left: 4px; font-weight: 400; }
nav { display: flex; gap: clamp(12px, 3vw, 42px); }
nav a, .name, .footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.arrow {
  position: relative;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-top: 1px solid;
  border-right: 1px solid;
}
.arrow::after {
  content: "";
  position: absolute;
  top: 3px;
  right: -2px;
  width: 12px;
  border-top: 1px solid;
  transform: rotate(-45deg);
}
.arrow-up { color: var(--red); transform: rotate(-45deg) scale(.7); }
section { scroll-margin-top: 20px; }
section:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  gap: clamp(28px, 5.4vw, 78px);
  align-items: end;
  padding-block: 32px 76px;
}
.hero-side { display: grid; gap: clamp(24px, 3.4vw, 49px); }
.intro { padding-top: 5px; }
.label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
h1, h2 { font-weight: 500; letter-spacing: -0.07em; line-height: 0.96; }
h1 { font-size: clamp(48px, 6.35vw, 94px); margin-block: 18px 16px; }
.lead { font-size: 17px; line-height: 1.45; color: var(--muted); }
.installation img { aspect-ratio: 1.82; object-fit: cover; object-position: center 38%; }
.space { border-top: 1px solid var(--line); padding-block: 34px 80px; }
h2 { font-size: clamp(50px, 7vw, 100px); }
.space-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
}
.space h2 { font-size: clamp(40px, 4.6vw, 66px); }
.count {
  font-size: 12px;
  letter-spacing: 0.13em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.count span { color: var(--red); font-weight: 700; }

/* Space / Service stage: one large frame, silver backdrop, three image tabs. */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 248px);
  gap: 22px;
  align-items: stretch;
}
.stage-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(128deg, var(--silver-1), var(--silver-2) 46%, var(--silver-3));
}
.stage-panel img { height: 100%; object-fit: cover; background: transparent; }
.stage-panel.is-portrait img { object-fit: contain; }
.stage-panel:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.no-js .stage { grid-template-columns: minmax(0, 1fr); }
.no-js .stage-frame { aspect-ratio: auto; display: grid; gap: 22px; background: none; }
.no-js .stage-panel.is-portrait img { height: auto; }
.no-js .stage-tabs { display: none; }
.js .stage-panel { position: absolute; inset: 0; }
.js .stage-panel[hidden] { display: none; }

.stage-tabs {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.stage-tab {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 56px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  text-align: start;
  cursor: pointer;
}
.stage-tab img {
  position: absolute;
  inset: 0 0 38px 0;
  height: calc(100% - 38px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(1.06);
}
.stage-tab::before {
  content: "";
  position: absolute;
  inset-inline-start: -12px;
  top: 0;
  bottom: 10px;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
}
.tab-text { display: flex; align-items: baseline; gap: 10px; min-height: 28px; }
.tab-no { font-size: 11px; letter-spacing: 0.13em; font-variant-numeric: tabular-nums; }
.stage-tab:hover { color: var(--ink); }
.stage-tab:hover img { filter: grayscale(.4) brightness(1.02); }
.stage-tab[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.stage-tab[aria-selected="true"] .tab-no { color: var(--red); }
.stage-tab[aria-selected="true"] img { filter: none; }
.stage-tab[aria-selected="true"]::before { transform: scaleY(1); }
.stage-tab:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.stage-tab:active img { transform: scale(.97); }

.visit {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 36px;
  padding: clamp(30px, 5vw, 72px);
  background: #a82019;
  color: #fff;
}
.visit h2 { margin-top: 19px; }
.visit .dot { background: currentColor; }
.contact { display: grid; }
.contact a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-top: 1px solid #ffffff80;
  font-size: 16px;
}
.contact a:last-child { border-bottom: 1px solid #ffffff80; }
.contact a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.contact a:focus-visible { outline-color: white; }
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 17px;
  font-size: 12px;
  color: var(--muted);
}
.footer a { flex-shrink: 0; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a { transition: color 160ms ease; }
  .stage-tab { transition: color 160ms ease; }
  .stage-tab img { transition: filter 220ms var(--ease), transform 120ms var(--ease); }
  .stage-tab::before { transition: transform 220ms var(--ease); transform-origin: top; }
  .js .stage-panel:not([hidden]) { animation: stage-in 260ms var(--ease); }
  @keyframes stage-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 28px; }
  .stage { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; border-top: 0; padding-top: 11px; }
  .stage-tab { grid-template-rows: auto auto; gap: 8px; border-bottom: 0; padding-bottom: 0; }
  .stage-tab img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .stage-tab { min-height: 0; }
  .tab-text { display: grid; gap: 2px; }
  .stage-tab::before { inset-inline-start: 0; top: -11px; bottom: auto; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; }
  .stage-tab[aria-selected="true"]::before { transform: scaleX(1); }
}
@media (max-width: 680px) {
  .masthead { min-height: 62px; font-size: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 29px; padding-block: 20px 53px; }
  .hero-side { gap: 23px; }
  h1 { font-size: clamp(48px, 10vw, 66px); margin-block: 12px 10px; }
  .lead { font-size: 16px; }
  .space { padding-block: 24px 48px; }
  .space-head { margin-bottom: 16px; }
  .stage-frame { aspect-ratio: 4 / 3.4; }
  .stage-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; }
  .stage-tab { font-size: 13px; }
  .stage-tab::before { inset-inline-start: 0; top: -11px; bottom: auto; width: 100%; height: 2px; transform: scaleX(0); }
  .stage-tab[aria-selected="true"]::before { transform: scaleX(1); }
  .visit { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; gap: 24px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 36px); }
}
