:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f7f7f8;
  --ink: #111111;
  --muted: #555555;
  --quiet: #8a8a8a;
  --line: #d7d7d7;
  --accent: #ff4f00;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --outer: clamp(18px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.42;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header__grid {
  display: grid;
  min-height: 72px;
  align-items: stretch;
  grid-template-columns: minmax(190px, 1fr) minmax(360px, auto) minmax(190px, 1fr);
  padding: 0 var(--outer);
}

.brand,
.site-nav,
.header-phone {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ink);
  color: #ffffff;
  font-size: 17px;
  font-weight: 780;
  line-height: 1;
}

.brand__name {
  letter-spacing: -0.01em;
}

.site-nav {
  justify-content: center;
  border-right: 1px solid var(--line);
}

.site-nav a {
  display: flex;
  min-height: 100%;
  align-items: center;
  padding: 0 clamp(12px, 1.6vw, 26px);
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition:
    color 160ms var(--ease),
    background 160ms var(--ease);
}

.site-nav a:hover {
  background: var(--panel);
  color: var(--ink);
}

.header-phone {
  justify-content: flex-end;
  padding-left: 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 730;
  font-variant-numeric: tabular-nums;
}

.hero {
  padding: 0 var(--outer);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero__headline {
  grid-column: 1 / 9;
  padding: clamp(58px, 7vw, 104px) clamp(18px, 3vw, 44px) clamp(38px, 5vw, 76px) 0;
  border-right: 1px solid var(--line);
}

.eyebrow,
.section__label,
.contact__label,
.service-row__index,
.quick-item span {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
}

.eyebrow {
  margin-bottom: 28px;
}

.hero h1,
.section-title,
.machine h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(64px, 10.4vw, 156px);
  line-height: 0.89;
}

.hero h1 span {
  display: block;
}

.hero__aside {
  display: grid;
  grid-column: 10 / 13;
  align-content: end;
  min-height: 360px;
  padding: clamp(34px, 5vw, 70px) 0 clamp(42px, 5.5vw, 82px) clamp(20px, 2.6vw, 40px);
}

.hero__aside p {
  max-width: 360px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.phone-display {
  width: max-content;
  margin-top: 30px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.phone-display:hover,
.contact-phone:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  width: max-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 720;
  line-height: 1;
  transition:
    background 160ms var(--ease),
    color 160ms var(--ease),
    transform 160ms var(--ease);
}

.button:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.button--inverse {
  margin-top: 26px;
}

.hero__product {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-column: 1 / 10;
  min-height: clamp(380px, 44vw, 640px);
  place-items: end center;
  margin: 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--panel);
  background-size: 96px 96px;
}

.hero__product::after {
  position: absolute;
  right: 12%;
  bottom: 42px;
  left: 13%;
  height: 34px;
  background: rgba(17, 17, 17, 0.18);
  content: "";
  filter: blur(22px);
  transform: skewX(-12deg);
}

.hero__product img {
  position: relative;
  z-index: 1;
  width: min(1120px, 104%);
  max-height: clamp(340px, 42vw, 600px);
  object-fit: contain;
  transform: translate3d(0, calc(var(--hero-shift, 0) * 0.16px), 0);
  transition: transform 80ms linear;
}

.model-mark {
  display: flex;
  grid-column: 10 / 13;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 34px 0 0 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--accent);
  font-size: clamp(92px, 15vw, 238px);
  font-weight: 760;
  letter-spacing: -0.08em;
  line-height: 0.76;
  font-variant-numeric: tabular-nums;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 var(--outer);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quick-item {
  min-height: 174px;
  padding: 22px clamp(18px, 2.4vw, 34px) 26px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}

.quick-item:last-child {
  border-right: 0;
}

.quick-item h2 {
  margin: 22px 0 8px;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.quick-item p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section {
  display: grid;
  grid-template-columns: minmax(160px, 2fr) minmax(0, 10fr);
  gap: 0;
  padding: 104px var(--outer) 0;
}

.section__label {
  display: flex;
  min-height: 100%;
  justify-content: space-between;
  padding: 0 24px 0 0;
  border-right: 1px solid var(--line);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.section__body {
  min-width: 0;
  padding-left: clamp(22px, 4vw, 64px);
}

.section-title {
  max-width: 890px;
  font-size: clamp(48px, 6.2vw, 104px);
  line-height: 0.94;
}

.service-list {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  align-items: center;
  grid-template-columns: 56px minmax(270px, 2.4fr) minmax(300px, 4.3fr);
  gap: clamp(16px, 2.4vw, 36px);
  min-height: 178px;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  margin: 0;
  font-size: clamp(31px, 3.25vw, 50px);
  font-weight: 710;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.service-row p,
.machine p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.28;
}

.gallery-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: zoom-in;
}

.gallery-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02);
}

.machine {
  display: grid;
  grid-template-columns: minmax(0, 4.8fr) minmax(280px, 2.7fr) minmax(420px, 4.5fr);
  gap: 0;
  margin: 112px var(--outer) 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.machine__copy,
.machine__facts,
.machine__product {
  min-width: 0;
}

.machine__copy {
  padding: clamp(30px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.machine h2 {
  max-width: 560px;
  font-size: clamp(42px, 5.4vw, 88px);
  line-height: 0.94;
}

.machine p {
  max-width: 520px;
  margin-top: 28px;
}

.machine__facts {
  margin: 0;
  border-right: 1px solid var(--line);
}

.machine__facts div {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.machine__facts div:last-child {
  border-bottom: 0;
}

.machine__facts dt {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 720;
}

.machine__facts dd {
  margin: 0;
  color: var(--muted);
}

.machine__product {
  position: relative;
  display: grid;
  margin: 0;
  place-items: end center;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #ffffff;
  background-size: 84px 84px;
}

.machine__product::after {
  position: absolute;
  right: 10%;
  bottom: 40px;
  left: 14%;
  height: 26px;
  background: rgba(17, 17, 17, 0.16);
  content: "";
  filter: blur(18px);
}

.machine__product img {
  position: relative;
  z-index: 1;
  width: min(108%, 780px);
  max-height: 520px;
  object-fit: contain;
}

.gallery {
  padding-bottom: 112px;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: clamp(180px, 22vw, 310px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  border: 1px solid var(--line);
  background: var(--line);
}

.gallery-card {
  border: 0;
}

.gallery-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card--wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    filter 240ms var(--ease),
    transform 520ms var(--ease);
}

.contact {
  display: grid;
  grid-template-columns: minmax(160px, 2fr) minmax(0, 5fr) minmax(300px, 5fr);
  gap: 0;
  margin: 0 var(--outer);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact__label {
  padding: 34px 24px 34px 0;
  border-right: 1px solid var(--line);
}

.contact__main,
.contact__action {
  padding: clamp(30px, 4vw, 54px);
}

.contact__main {
  border-right: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(42px, 5.8vw, 92px);
  line-height: 0.92;
}

.contact p {
  max-width: 520px;
  margin-top: 24px;
}

.contact__action {
  display: grid;
  align-content: center;
}

.contact-phone {
  width: max-content;
  max-width: 100%;
  font-size: clamp(29px, 3.8vw, 58px);
  font-weight: 740;
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-variant-numeric: tabular-nums;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 86px;
  align-items: center;
  margin: 0 var(--outer);
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 14px;
}

.site-footer span,
.site-footer a {
  min-height: 86px;
  align-content: center;
  border-right: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 740;
}

.site-footer a {
  border-right: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mobile-call {
  position: fixed;
  z-index: 35;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 16px;
  font-weight: 720;
}

.mobile-call strong {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.lightbox {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px 22px 22px;
  background: rgba(17, 17, 17, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(1120px, 100%);
  max-height: calc(100vh - 110px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.reveal {
  opacity: 1;
  transform: translateY(16px);
  transition: transform 520ms var(--ease);
}

.reveal.is-visible {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

  .brand {
    border-right: 0;
  }

  .site-nav {
    display: none;
  }

  .hero__headline,
  .hero__aside,
  .hero__product,
  .model-mark {
    grid-column: 1 / -1;
  }

  .hero__headline {
    border-right: 0;
  }

  .hero__aside {
    min-height: 0;
    padding: 0 0 46px 0;
  }

  .hero__aside p {
    max-width: 720px;
  }

  .model-mark {
    justify-content: flex-start;
    border-left: 0;
    padding: 26px 0 0 0;
  }

  .machine,
  .contact {
    grid-template-columns: 1fr;
  }

  .machine__copy,
  .machine__facts,
  .contact__main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 84px;
  }

  .site-header__grid,
  .hero,
  .quick-grid,
  .section,
  .machine,
  .contact,
  .site-footer {
    margin-right: 0;
    margin-left: 0;
  }

  .site-header__grid {
    min-height: 66px;
    padding: 0 14px;
  }

  .header-phone {
    display: none;
  }

  .brand {
    font-size: 13px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 0 14px;
  }

  .hero__grid {
    border-right: 0;
    border-left: 0;
  }

  .hero__headline {
    padding-top: 44px;
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 86px);
    line-height: 0.92;
  }

  .hero__aside p {
    font-size: 24px;
  }

  .hero__product {
    min-height: 268px;
    background-size: 72px 72px;
  }

  .hero__product img {
    width: min(100%, 760px);
    max-height: 268px;
  }

  .model-mark {
    display: none;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
  }

  .quick-item {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-item:last-child {
    border-bottom: 0;
  }

  .section {
    grid-template-columns: 1fr;
    padding: 76px 14px 0;
  }

  .section__label {
    display: flex;
    width: 100%;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    writing-mode: horizontal-tb;
    transform: none;
  }

  .section__body {
    padding-left: 0;
    padding-top: 26px;
  }

  .section-title,
  .machine h2,
  .contact h2 {
    font-size: clamp(42px, 13vw, 74px);
  }

  .service-list {
    margin-top: 42px;
  }

  .service-row {
    grid-template-columns: 52px 1fr;
    gap: 14px 18px;
    padding: 22px 0;
  }

  .service-row p {
    grid-column: 2 / -1;
  }

  .machine {
    margin: 82px 14px 0;
  }

  .machine__copy,
  .machine__facts div,
  .contact__main,
  .contact__action {
    padding: 24px;
  }

  .machine__product {
    min-height: 330px;
    background-size: 70px 70px;
  }

  .machine__product img {
    width: min(112%, 680px);
    max-height: 330px;
  }

  .gallery {
    padding-bottom: 82px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    margin-top: 42px;
  }

  .gallery-card--large,
  .gallery-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact {
    margin: 0 14px;
  }

  .contact__label {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-phone {
    width: auto;
    font-size: clamp(29px, 10vw, 48px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    margin: 0 14px;
    padding-bottom: 102px;
  }

  .site-footer span,
  .site-footer a {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .site-footer a {
    border-bottom: 0;
  }

  .mobile-call {
    display: flex;
  }
}

@media (max-width: 390px) {
  .phone-display,
  .contact-phone {
    font-size: 27px;
  }

  .mobile-call {
    display: grid;
    justify-items: start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__product img {
    transform: none;
  }
}
