:root {
  --navy: #071827;
  --slate: #667381;
  --line: #dde3ea;
  --surface: #f5f7fa;
  --accent: #e4572e;
  --ink: #101820;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  background: var(--surface);
}

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

button {
  font: inherit;
  cursor: pointer;
}

.equipment-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(221, 227, 234, .82);
  background: rgba(245, 247, 250, .92);
  backdrop-filter: blur(16px);
}

.equipment-header img {
  width: 158px;
  display: block;
}

.equipment-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.equipment-header nav a.active,
.equipment-header nav a:hover {
  color: var(--accent);
}

main {
  width: min(1180px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 72px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

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

h1 {
  max-width: 820px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  font-weight: 900;
  word-break: keep-all;
}

.equipment-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .46fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.equipment-intro p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 22px;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.equipment-note {
  padding: 26px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.equipment-note strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
}

.equipment-note span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.equipment-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 24, 39, .06);
}

.equipment-open {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: #101820;
}

.equipment-open img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform .28s ease;
}

.equipment-card:hover img {
  transform: scale(1.025);
}

.equipment-card-body {
  padding: 22px;
}

.equipment-card-body span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.equipment-card-body h2 {
  margin-top: 10px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}

.equipment-card-body p {
  margin-top: 10px;
  color: var(--slate);
  line-height: 1.65;
}

.equipment-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(7, 24, 39, .82);
}

.equipment-modal-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #101820;
}

.equipment-modal-panel img {
  width: 100%;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.equipment-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .equipment-intro,
  .equipment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .equipment-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 16px;
  }

  .equipment-header nav {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }

  main {
    width: calc(100vw - 32px);
    padding-top: 46px;
  }

  h1 {
    font-size: 38px;
  }
}
