:root {
  --ink: #11131a;
  --paper: #f6f7f3;
  --white: #ffffff;
  --blue: #1e3cff;
  --blue-dark: #1028c9;
  --yellow: #ffd84a;
  --muted: #676b76;
  --line: #cfd2d9;
  --shadow: 0 18px 46px rgba(17, 19, 26, 0.08);
  --page: min(1320px, calc(100vw - 112px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-left: 34px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 48px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.catalog-spine {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 34px;
  padding: 20px 0;
  color: var(--white);
  background: var(--blue);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.site-header,
.hero,
.products-section,
.about-section,
footer {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 15px;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

nav a {
  padding-block: 8px;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: clamp(40px, 8vw, 120px);
  min-height: 680px;
  padding: clamp(72px, 9vw, 130px) 0 88px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 34px;
  font-family: "Arial Black", "Microsoft YaHei", sans-serif;
  font-size: clamp(58px, 8.4vw, 126px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

h1 span {
  color: var(--blue);
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
}

.catalog-link {
  display: inline-block;
  padding: 13px 20px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 7px 7px 0 var(--yellow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.catalog-link:hover,
.catalog-link:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--yellow);
}

.catalog-note {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: var(--white);
  background: var(--blue);
}

.catalog-note::after {
  position: absolute;
  right: -25px;
  bottom: -58px;
  width: 120px;
  height: 120px;
  border: 22px solid var(--yellow);
  border-radius: 50%;
  content: "";
}

.catalog-note p {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.catalog-note strong {
  display: block;
  margin-bottom: 38px;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 92px;
  letter-spacing: -0.08em;
  line-height: 1;
}

.catalog-note ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.catalog-note li {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.products-section {
  padding: 100px 0 120px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 54px;
  align-items: end;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: "Arial Black", "Microsoft YaHei", sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.section-heading > p {
  max-width: 480px;
  margin: 0 0 8px auto;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 16px;
}

.product-card {
  min-width: 0;
}

.product-card figure {
  overflow: hidden;
  height: clamp(280px, 30vw, 460px);
  margin: 0 0 18px;
  background: #e4e5e0;
  box-shadow: var(--shadow);
}

.product-card img {
  filter: saturate(0.88) contrast(1.02);
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 250ms ease;
}

.product-card:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.025);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-index {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  letter-spacing: 0;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
}

.product-card > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 56px, 920px);
  }

  .hero {
    grid-template-columns: 1fr minmax(220px, 0.38fr);
    min-height: 600px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card figure {
    height: min(58vw, 520px);
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100% - 36px);
  }

  body {
    padding: 7px 0 0;
  }

  .catalog-spine {
    position: absolute;
    inset: 0 0 auto;
    flex-direction: row;
    width: 100%;
    height: 7px;
    padding: 0;
    font-size: 0;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 12px;
  }

  nav {
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: auto;
    padding: 70px 0 72px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .catalog-note {
    padding: 28px;
  }

  .catalog-note strong {
    font-size: 76px;
  }

  .products-section {
    padding: 76px 0 90px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    margin-left: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-card figure {
    height: 118vw;
    max-height: 520px;
  }

  footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .catalog-link,
  .product-card img {
    transition: none;
  }
}
