.page-home {
  --home-ink: #2A2622;
  --home-muted: #4A6B8F;
  --home-soft: #E8E6E1;
  --home-cream: #F5F0E8;
  --home-oxford: #001F3F;
  --home-orange: #FF5A36;
  --home-mut: rgba(74, 107, 143, 0.32);
  background-color: var(--color-cream);
  color: var(--home-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-home .container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 48px) 72px;
}

.page-home .breadcrumb {
  margin: 0 0 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-muted-blue);
}

.page-home .breadcrumb a {
  color: var(--color-oxford);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 31, 63, 0.3);
}

.page-home .breadcrumb-sep {
  margin: 0 10px;
  color: var(--color-orange);
}

.page-home .home-section {
  padding: 42px 0;
}

.page-home .home-section + .home-section {
  border-top: 1px dashed rgba(0, 31, 63, 0.16);
}

.page-home .section-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.page-home .section-head__copy {
  flex: 1;
  min-width: 0;
}

.page-home .section-number {
  font-family: var(--font-mono);
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-orange);
}

.page-home .section-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-oxford);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
}

.page-home .section-note {
  margin: 0;
  max-width: 58ch;
  font-size: 14px;
  color: var(--color-muted-blue);
}

.page-home .hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-top: 8px;
  border-top: none;
}

.page-home .hero-rail {
  display: none;
}

.page-home .hero-main {
  min-width: 0;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(0, 31, 63, 0.08);
  color: var(--color-oxford);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-home .page-hero-desc {
  max-width: 56ch;
  margin: 18px 0 24px;
  font-size: 16px;
  color: #4a4643;
}

.page-home .hero-title-sep {
  color: var(--color-orange);
  font-weight: 300;
}

.page-home .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hero-frame {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255, 90, 54, 0.35);
  outline: 1px solid rgba(0, 31, 63, 0.12);
  outline-offset: 6px;
  padding: 12px;
  background: var(--color-white);
  box-shadow: 0 24px 60px rgba(0, 31, 63, 0.1);
}

.page-home .hero-frame__img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 90, 54, 0.14), transparent 45%),
    linear-gradient(145deg, rgba(0, 31, 63, 0.04), rgba(245, 240, 232, 0.3)),
    var(--color-cream);
}

.page-home .hero-frame__img::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(var(--home-mut) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.page-home .hero-frame__img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.95;
}

.page-home .hero-index {
  position: absolute;
  top: -20px;
  right: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: clamp(46px, 8vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  color: var(--color-oxford);
  opacity: 0.18;
  pointer-events: none;
}

.page-home .hero-frame__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 6px 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted-blue);
}

.page-home .panel-grid {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.page-home .stat-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(231, 229, 224, 0.9);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.page-home .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 54, 0.5);
  box-shadow: 0 14px 34px rgba(0, 31, 63, 0.12);
}

.page-home .stat-card--lead {
  border: none;
  background: linear-gradient(160deg, var(--color-oxford), #12365c);
  color: var(--color-cream);
}

.page-home .stat-card--lead .stat-label {
  color: rgba(245, 240, 232, 0.78);
}

.page-home .stat-card--lead .stat-value {
  color: var(--color-orange);
}

.page-home .stat-card--lead .stat-meta {
  color: rgba(245, 240, 232, 0.66);
}

.page-home .stat-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--color-muted-blue);
}

.page-home .stat-value {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-oxford);
}

.page-home .stat-meta {
  font-size: 13px;
  color: var(--color-muted-blue);
}

.page-home .shoot-panel {
  margin-top: 36px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 90, 54, 0.2), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    var(--color-oxford);
  background-size: auto, 24px 24px, 24px 24px, auto;
  color: var(--color-cream);
}

.page-home .shoot-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .shoot-note {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.7);
}

.page-home .shoot-bars {
  display: grid;
  gap: 16px;
}

.page-home .shoot-bar-row {
  display: grid;
  grid-template-columns: 84px 1fr 44px;
  gap: 12px;
  align-items: center;
}

.page-home .team-label {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.85);
}

.page-home .bar-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.14);
  overflow: hidden;
}

.page-home .bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-orange), #ff7a5c);
  font-size: 0;
  color: transparent;
}

.page-home .bar-fill--away {
  background: linear-gradient(90deg, var(--color-muted-blue), #7ea6c8);
}

.page-home .bar-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-cream);
}

.page-home .shoot-note--foot {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(245, 240, 232, 0.65);
}

.page-home .timeline {
  position: relative;
  margin-left: 6px;
  padding-left: 26px;
  display: grid;
  gap: 20px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(74, 107, 143, 0.45) 0 8px, transparent 8px 16px);
}

.page-home .timeline-item {
  position: relative;
  border: 1px solid rgba(231, 229, 224, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 4px var(--color-cream), 0 0 0 5px rgba(255, 90, 54, 0.3);
}

.page-home .timeline-item[open] {
  border-color: rgba(255, 90, 54, 0.4);
}

.page-home .timeline-item summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-home .timeline-item summary::-webkit-details-marker {
  display: none;
}

.page-home .timeline-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-orange);
}

.page-home .timeline-item[open] summary::after {
  content: "–";
}

.page-home .timeline-time {
  min-width: 100px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-muted-blue);
}

.page-home .timeline-title {
  flex: 1 1 200px;
  font-weight: 700;
  color: var(--color-oxford);
}

.page-home .timeline-metrics {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-soft-gray);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--home-ink);
}

.page-home .timeline-desc {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .timeline-desc img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.page-home .timeline-text {
  flex: 1;
  max-width: 60ch;
  font-size: 14px;
  color: #4a4643;
}

.page-home .timeline-text p {
  margin: 0;
}

.page-home .doc-grid {
  display: grid;
  gap: 22px;
}

.page-home .doc-block {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(231, 229, 224, 0.9);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.page-home .doc-block--soft {
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.page-home .doc-block--dark {
  border: none;
  padding: 24px;
  background: linear-gradient(160deg, #12365c, var(--color-oxford));
  color: var(--color-cream);
}

.page-home .doc-block--dark h3 {
  color: var(--color-cream);
}

.page-home .doc-block--dark p {
  color: rgba(245, 240, 232, 0.75);
}

.page-home .doc-media {
  min-height: 180px;
  max-height: 260px;
  width: 100%;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.page-home .doc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .doc-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  flex: 1;
}

.page-home .doc-body h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-oxford);
}

.page-home .doc-body p {
  margin: 0;
  font-size: 14px;
  color: #4a4643;
}

.page-home .commute-layout {
  display: grid;
  gap: 24px;
}

.page-home .commute-illustration {
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid rgba(231, 229, 224, 0.9);
  overflow: hidden;
}

.page-home .commute-illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.page-home .commute-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .commute-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-orange);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 3px rgba(0, 31, 63, 0.04);
}

.page-home .commute-num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-orange);
}

.page-home .commute-item strong {
  display: block;
  font-weight: 700;
  color: var(--color-oxford);
}

.page-home .commute-item span {
  font-size: 14px;
  color: #4a4643;
}

.page-home .home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 720px) {
  .page-home .panel-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .stat-card {
    grid-column: span 4;
  }

  .page-home .stat-card:nth-child(2) {
    margin-top: 26px;
  }

  .page-home .stat-card:nth-child(3) {
    margin-top: 12px;
  }

  .page-home .timeline-desc {
    flex-direction: row;
    align-items: flex-start;
  }

  .page-home .timeline-desc img {
    width: 240px;
    flex-shrink: 0;
  }
}

@media (min-width: 900px) {
  .page-home .hero-section {
    grid-template-columns: 76px minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 28px;
    padding-bottom: 54px;
  }

  .page-home .hero-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
  }

  .page-home .rail-number {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-orange);
  }

  .page-home .rail-line {
    flex: 1;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--color-orange) 0 6px, transparent 6px 14px);
  }

  .page-home .rail-caption {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted-blue);
  }

  .page-home .commute-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-home .doc-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

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