.page-home {
  --section-pad: calc(32px + 4vw);
  --card-radius: var(--radius-lg);
  --tilt: -1.2deg;
  --diagonal: 8deg;
  background: var(--light);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.page-home .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-home .panel {
  position: relative;
  padding: var(--section-pad) 0;
}

.page-home .panel--blue {
  background: var(--blue);
  color: #fff;
}

.page-home .panel--teal {
  background: var(--teal);
  color: #fff;
}

.page-home .panel--wine {
  background: var(--wine);
  color: #fff;
}

.page-home .panel--light {
  background: var(--light);
  color: var(--text);
}

.page-home .section-head {
  margin-bottom: 32px;
}

.page-home .section-head--inverse .section-title,
.page-home .section-head--inverse .section-desc {
  color: #fff;
}

.page-home .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}

.page-home .section-title-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.page-home .section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 640px;
}

.page-home .section-head--inverse .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

/* ===== Hero Cover ===== */
.page-home .page-hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 64px;
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.page-home .hero-bg-img {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 60vw);
  height: auto;
  max-width: none;
  opacity: 0.18;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.page-home .hero-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 160px;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .hero-copy {
  max-width: 640px;
}

.page-home .hero-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(242, 101, 34, 0.9);
  padding: 6px 14px;
  border-radius: var(--pill);
  margin: 0 0 20px;
}

.page-home .hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 720px;
}

.page-home .hero-lead {
  font-size: 1.06rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 28px;
  max-width: 600px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.page-home .btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}

.page-home .btn:hover {
  transform: translateY(-3px);
}

.page-home .hero-toc {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--card-radius);
  padding: 24px;
  align-self: center;
}

.page-home .toc-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
}

.page-home .hero-toc a {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-home .hero-toc a:last-child {
  border-bottom: 0;
}

.page-home .hero-toc a:hover,
.page-home .hero-toc a[aria-current="location"] {
  color: #fff;
  padding-left: 8px;
}

.page-home .hero-toc a[aria-current="location"] {
  color: var(--orange);
}

/* ===== Updates ===== */
.page-home .updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .update-card {
  position: relative;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transform: rotate(var(--tilt));
  border: 1px solid var(--line);
}

.page-home .update-card:nth-child(2) {
  --tilt: 0.8deg;
}

.page-home .update-card:nth-child(3) {
  --tilt: -0.6deg;
}

.page-home .update-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: var(--shadow-md);
}

.page-home .update-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.page-home .update-card-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.page-home .update-card:nth-child(2) .update-card-no {
  background: var(--orange);
}

.page-home .update-card:nth-child(3) .update-card-no {
  background: var(--purple);
}

.page-home .update-card h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.page-home .update-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 16px;
}

.page-home .img-frame {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--light);
}

.page-home .img-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.page-home .update-card:hover .img-frame img {
  transform: scale(1.02);
}

/* ===== Quick Links ===== */
.page-home .page-quicklinks {
  background: var(--teal);
  overflow: hidden;
}

.page-home .page-quicklinks::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-10 30 Q 30 10 50 40 T 110 50' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='2'/%3E%3Cpath d='M-10 70 Q 40 50 60 80 T 110 90' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.page-home .quick-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-home .quick-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--pill);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .quick-link-card:hover {
  background: rgba(242, 101, 34, 0.9);
  border-color: rgba(242, 101, 34, 0.9);
  transform: translateY(-3px);
}

/* ===== News ===== */
.page-home .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .news-timeline {
  position: relative;
  padding-left: 24px;
}

.page-home .news-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), var(--green), var(--purple));
}

.page-home .news-item {
  position: relative;
  padding: 0 0 28px 16px;
}

.page-home .news-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.2);
}

.page-home .news-item:nth-child(2)::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 110, 78, 0.2);
}

.page-home .news-item:nth-child(3)::before {
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(90, 74, 119, 0.2);
}

.page-home .news-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--wine);
  background: rgba(122, 46, 79, 0.08);
  padding: 4px 12px;
  border-radius: var(--pill);
  margin: 0 0 8px;
}

.page-home .news-item h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.4;
}

.page-home .news-item p:last-child {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .news-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-home .stat-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
  margin: 0;
}

.page-home .stat-unit {
  font-size: 1rem;
  color: var(--orange);
}

.page-home .stat-card p:last-child {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 8px 0 0;
}

/* ===== Feedback ===== */
.page-home .page-feedback {
  overflow: hidden;
}

.page-home .page-feedback::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.page-home .feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .feedback-copy .section-title {
  color: #fff;
}

.page-home .feedback-copy > p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin: 0 0 24px;
}

.page-home .keyword-highlight {
  color: #fff;
  font-weight: 600;
  background: rgba(242, 101, 34, 0.28);
  padding: 2px 6px;
  border-radius: 6px;
}

.page-home .contact-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.page-home .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.page-home .contact-icon {
  width: 20px;
  height: 20px;
  fill: var(--orange);
  flex-shrink: 0;
}

.page-home .feedback-visual {
  display: grid;
  gap: 16px;
}

.page-home .feedback-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .feedback-img img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .feedback-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--pill);
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .page-home .hero-grid {
    grid-template-columns: 1fr 280px;
    align-items: end;
  }

  .page-home .quick-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .news-layout {
    grid-template-columns: 1fr 240px;
  }

  .page-home .news-stats {
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
  }
}

@media (min-width: 960px) {
  .page-home .updates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .page-home .quick-links-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-home .feedback-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .page-home .feedback-visual {
    grid-template-columns: 1fr;
  }

  .page-home .page-hero {
    min-height: 640px;
  }

  .page-home .hero-bg-img {
    width: 480px;
  }
}

@media (min-width: 1200px) {
  .page-home .container {
    padding: 0 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
