:root {
  --red: #d71920;
  --red-dark: #9f1015;
  --red-soft: #fff1f2;
  --ink: #211f20;
  --muted: #6b6466;
  --line: #eadadd;
  --surface: #ffffff;
  --page: #fffafa;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(215, 25, 32, 0.06) 1px, transparent 1px),
    var(--page);
  background-size: 44px 44px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 44px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid var(--red);
  background: var(--surface);
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.brand-subtitle {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--red-dark);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.brand,
.primary-action {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  align-items: end;
  padding: 28px 0 22px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 0 18px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  font-weight: 800;
}

.primary-action:hover,
.nav a:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #ffffff;
}

.project-visual {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.12), rgba(255, 255, 255, 0.2)),
    #ffffff;
}

.project-visual::before {
  position: absolute;
  inset: 24px;
  content: "";
  border: 2px solid var(--red);
}

.project-visual::after {
  position: absolute;
  right: -16px;
  bottom: 28px;
  width: 78%;
  height: 58%;
  content: "";
  border: 14px solid var(--red);
  background:
    linear-gradient(90deg, transparent 22%, rgba(215, 25, 32, 0.12) 22% 24%, transparent 24%),
    linear-gradient(180deg, transparent 34%, rgba(215, 25, 32, 0.14) 34% 37%, transparent 37%),
    #ffffff;
}

.visual-item {
  position: absolute;
  left: 48px;
  right: 68px;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(159, 16, 21, 0.11);
}

.visual-item:nth-child(1) {
  top: 58px;
}

.visual-item:nth-child(2) {
  top: 126px;
  left: 78px;
}

.visual-item:nth-child(3) {
  top: 194px;
}

.visual-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.visual-line,
.visual-short {
  height: 10px;
  border-radius: 99px;
  background: var(--red-soft);
}

.visual-short {
  background: rgba(215, 25, 32, 0.28);
}

.description {
  max-width: 820px;
  margin-top: 28px;
  padding: 28px 0 0;
  border-top: 2px solid var(--red);
}

.section-label {
  margin: 0 0 10px;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.description h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.description p:not(.section-label) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-row span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--red-dark);
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 260px;
  }

}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 18px;
  }

  .topbar {
    display: grid;
    gap: 16px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 14px;
  }

  .visual-item {
    left: 30px;
    right: 30px;
  }

  .visual-item:nth-child(2) {
    left: 48px;
  }
}
