.page-home {
  --home-pad: clamp(20px, 4vw, 40px);
  --home-gap-wide: clamp(18px, 3vw, 32px);
  position: relative;
  overflow: clip;
}
.page-home .home-hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 28px;
  background:
    linear-gradient(135deg, rgba(0, 76, 255, 0.22), transparent 58%),
    radial-gradient(640px 320px at 90% 0%, rgba(0, 217, 255, 0.14), transparent 72%);
}
.page-home .home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.page-home .home-hero-copy {
  position: relative;
  z-index: 2;
}
.page-home .home-hero-kicker {
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.page-home .home-hero h1 {
  font-family: var(--display-font);
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 20px;
}
.page-home .home-hero-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0;
}
.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-home .home-hero-actions .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.page-home .home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.page-home .home-hero-meta li {
  color: var(--text-soft);
  font-size: 0.9rem;
}
.page-home .home-hero-meta li::before {
  content: "▪";
  color: var(--cyan);
  display: inline-block;
  margin-right: 8px;
}
.page-home .home-hero-visual {
  position: relative;
  z-index: 1;
}
.page-home .home-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.page-home .home-hero-tag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(10, 14, 26, 0.76);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  backdrop-filter: blur(8px);
}
.page-home .home-hero-tag span {
  color: var(--orange);
  font-family: var(--display-font);
  font-weight: 700;
  margin-right: 4px;
}
.page-home .glow-orb--cyan {
  top: 8%;
  left: -10%;
  width: 360px;
  height: 360px;
}
.page-home .glow-orb--orange {
  bottom: 4%;
  right: -8%;
  width: 280px;
  height: 280px;
}
.page-home .home-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}
.page-home .home-section-head .section-index {
  flex-shrink: 0;
  font-family: var(--display-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
}
.page-home .home-section-head h2 {
  font-family: var(--display-font);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 10px;
}
.page-home .home-section-head p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.96rem;
  max-width: 780px;
  margin: 0;
}
.page-home .home-dir-tagline {
  margin-top: 12px;
  font-family: var(--display-font);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cyan) !important;
  letter-spacing: 0.02em;
}
.page-home .home-dir {
  padding: clamp(48px, 7vw, 84px) 0 clamp(16px, 3vw, 28px);
}
.page-home .home-dir-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.page-home .home-dir-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(0, 217, 255, 0.14);
  border-radius: var(--radius-s);
  padding: 24px 22px;
  text-decoration: none;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.page-home .home-dir-card:hover,
.page-home .home-dir-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 217, 255, 0.5);
  background: var(--surface-2);
  box-shadow: var(--glow);
}
.page-home .home-dir-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.page-home .home-dir-index {
  font-family: var(--display-font);
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.page-home .home-dir-card h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--text);
}
.page-home .home-dir-card p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}
.page-home .home-dir-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  transition: color 180ms var(--ease);
}
.page-home .home-dir-card:hover .home-dir-more,
.page-home .home-dir-card:focus-visible .home-dir-more {
  color: var(--orange);
}
.page-home .home-archive {
  padding: clamp(28px, 5vw, 56px) 0;
}
.page-home .home-archive-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--home-pad);
  position: relative;
}
.page-home .home-archive-media img,
.page-home .home-weekend-image img,
.page-home .home-history-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-s);
}
.page-home .home-archive-copy h3,
.page-home .home-history-copy h3 {
  font-family: var(--display-font);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text);
  margin: 0 0 12px;
}
.page-home .home-archive-copy p,
.page-home .home-history-copy p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.95rem;
}
.page-home .home-archive-copy .btn,
.page-home .home-history-copy .btn {
  margin-top: 10px;
}
.page-home .home-weekend {
  padding: clamp(32px, 5vw, 60px) 0;
}
.page-home .home-weekend-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.page-home .home-weekend-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--home-pad);
  position: relative;
  overflow: hidden;
}
.page-home .home-weekend-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 400px at 100% -10%, var(--orange-soft), transparent 70%);
}
.page-home .home-weekend-copy {
  position: relative;
}
.page-home .home-weekend-copy h3 {
  font-family: var(--display-font);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text);
  margin: 16px 0 12px;
}
.page-home .home-weekend-copy p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.95rem;
}
.page-home .home-weekend-copy .btn {
  margin-top: 14px;
}
.page-home .home-weekend-note h3 {
  font-family: var(--display-font);
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 14px;
}
.page-home .home-weekend-note .archive-list {
  margin-bottom: 16px;
}
.page-home .home-history {
  padding: clamp(28px, 5vw, 56px) 0;
}
.page-home .home-history-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--home-pad);
}
.page-home .home-history-panel .archive-list {
  margin: 18px 0;
}
.page-home .home-features {
  padding: clamp(28px, 5vw, 56px) 0;
}
.page-home .home-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.page-home .home-feature-card {
  border: 1px solid rgba(0, 217, 255, 0.12);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.page-home .home-feature-card:hover,
.page-home .home-feature-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 217, 255, 0.45);
  background: var(--surface-2);
  box-shadow: var(--glow);
}
.page-home .home-feature-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.page-home .home-feature-card h3 {
  font-family: var(--display-font);
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 10px;
}
.page-home .home-feature-card p {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.92rem;
  margin: 0;
}
.page-home .home-start {
  padding: clamp(40px, 6vw, 72px) 0 80px;
}
.page-home .home-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.page-home .home-start-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 30px 26px;
  overflow: hidden;
}
.page-home .home-start--new {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}
.page-home .home-start--old {
  background: linear-gradient(135deg, var(--surface), rgba(255, 107, 53, 0.08));
}
.page-home .home-start-num {
  font-family: var(--display-font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}
.page-home .home-start--old .home-start-num {
  color: var(--orange);
}
.page-home .home-start-card h3 {
  font-family: var(--display-font);
  font-size: 1.3rem;
  color: var(--text);
  margin: 16px 0 10px;
}
.page-home .home-start-card p {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.page-home .home-start-card .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (min-width: 960px) {
  .page-home .home-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    min-height: 72vh;
  }
  .page-home .home-hero-copy {
    padding: 40px 0;
  }
  .page-home .home-hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }
  .page-home .home-hero-text {
    font-size: 1.12rem;
  }
  .page-home .home-dir-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .page-home .home-archive-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
    padding: 36px;
    margin-right: 8%;
  }
  .page-home .home-weekend-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: stretch;
  }
  .page-home .home-weekend-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 36px;
  }
  .page-home .home-history-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
    padding: 36px;
    margin-left: 6%;
  }
  .page-home .home-history-panel .home-history-media {
    order: 2;
  }
  .page-home .home-history-panel .home-history-copy {
    order: 1;
  }
  .page-home .home-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .page-home .home-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .page-home .home-start-card {
    padding: 36px;
  }
}
