.page-home {
  --home-hero-gap: 24px;
  --home-card-clip: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  background: var(--foam);
  color: var(--ink);
  overflow-x: clip;
}
.page-home img {
  max-width: 100%;
  height: auto;
}
.page-home .section {
  padding: 56px 0;
}
.page-home .section-header {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 28px;
  position: relative;
}
.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  letter-spacing: -0.03em;
  transform: skewX(-2deg);
  margin: 0;
  color: var(--deep-sea);
  display: block;
  line-height: 1.1;
}
.page-home .section-index {
  font-family: var(--font-data);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--deep-sea);
  opacity: 0.32;
  margin-top: 4px;
}
.page-home .section .rail-note {
  color: var(--cloud);
  margin-left: auto;
}

.page-hero {
  padding: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  margin: 0;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-shape-left {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(160deg, rgba(5, 32, 73, 0.98), rgba(11, 58, 117, 0.94));
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
}
.page-hero-shape-right {
  display: none;
}
.page-hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-height) + 32px) 20px 56px;
  display: grid;
  gap: var(--home-hero-gap);
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-hero-copy {
  color: var(--foam);
}
.page-hero-kicker {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--coral);
  display: inline-block;
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.7rem, 10vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  transform: skewX(-2deg);
  text-shadow: 0 10px 36px rgba(5, 32, 73, 0.45);
  margin: 0;
}
.page-hero-accent {
  color: var(--coral);
}
.page-hero-desc {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(244, 248, 252, 0.86);
  font-size: 1rem;
  line-height: 1.8;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-hero-panel {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 48px rgba(5, 32, 73, 0.38);
  padding: 20px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.page-hero-panel-label {
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin: 0 0 16px;
}
.page-hero-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-hero-panel-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--foam);
  font-size: 0.92rem;
}
.page-hero-panel-list .num {
  font-family: var(--font-data);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
}
.page-hero-panel-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  color: rgba(244, 248, 252, 0.7);
}
.page-hero-scroll-hint {
  display: none;
}

.page-metrics {
  background: var(--foam);
  position: relative;
}
.page-metrics::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--bright-blue) 55%, var(--neon-green));
}
.page-metrics-desc,
.page-corridor-desc,
.page-services-desc,
.page-news-desc,
.page-trust-desc {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--cloud);
  line-height: 1.7;
}
.page-metrics-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-metric-card {
  background: #fff;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--coral);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(5, 32, 73, 0.18);
}
.page-metric-card:nth-child(2) {
  border-top-color: var(--bright-blue);
}
.page-metric-card:nth-child(3) {
  border-top-color: var(--wave);
}
.page-metric-card:nth-child(4) {
  border-top-color: var(--neon-green);
}
.page-metric-value {
  font-family: var(--font-data);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--deep-sea);
}
.page-metric-unit {
  font-size: 0.85rem;
  color: var(--cloud);
  margin-left: 4px;
}
.page-metric-label {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--cloud);
  line-height: 1.55;
}

.page-corridor {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #fff 0%, var(--foam) 100%);
}
.page-corridor-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}
.page-corridor-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.page-corridor-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(11, 58, 117, 0.1);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
}
.page-corridor-list .num {
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--coral);
  font-size: 1.1rem;
}
.page-corridor-figure {
  margin: 0;
  position: relative;
}
.page-corridor-figure img {
  width: 100%;
  display: block;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  border: 1px solid rgba(37, 198, 212, 0.5);
}
.page-corridor-figure::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--neon-green);
}
.page-corridor-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 20px 2px 8px;
  scroll-snap-type: x proximity;
  margin-top: 28px;
}
.page-corridor-track-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--deep-sea);
  color: var(--foam);
  padding: 14px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: background 0.25s ease, transform 0.25s ease;
}
.page-corridor-track-item:hover {
  background: var(--sea);
  transform: translateY(-2px);
}
.page-corridor-track-num {
  font-family: var(--font-data);
  color: var(--neon-green);
  font-size: 1.15rem;
  font-weight: 700;
}
.page-corridor-track-arrow {
  margin-left: auto;
  color: var(--coral);
}

.page-services {
  background: linear-gradient(150deg, var(--deep-sea) 0%, var(--sea) 100%);
  color: var(--foam);
  overflow: hidden;
  position: relative;
}
.page-services .section-index {
  color: rgba(255, 255, 255, 0.35);
}
.page-services .section-title {
  color: #fff;
}
.page-services .rail-note {
  color: rgba(244, 248, 252, 0.6);
}
.page-services-desc {
  color: rgba(244, 248, 252, 0.72);
}
.page-services-banner {
  margin: 0 0 28px;
  position: relative;
}
.page-services-banner img {
  width: 100%;
  display: block;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.page-services-banner figcaption {
  padding: 10px 14px;
  background: var(--coral);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.page-services-grid {
  display: grid;
  gap: 16px;
}
.page-service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 22px;
  color: var(--foam);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: clip-path 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.page-service-card:hover {
  background: rgba(255, 255, 255, 0.12);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: translateY(-6px);
}
.page-service-index {
  font-family: var(--font-data);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral);
  display: block;
  margin-bottom: 8px;
}
.page-service-grid .page-service-card:nth-child(1) .page-service-index {
  color: var(--coral);
}
.page-service-card:nth-child(2) .page-service-index {
  color: var(--bright-blue);
}
.page-service-card:nth-child(3) .page-service-index {
  color: var(--neon-green);
}
.page-service-card:nth-child(4) .page-service-index {
  color: var(--wave);
}
.page-service-title {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
}
.page-service-desc {
  margin: 0 0 14px;
  color: rgba(244, 248, 252, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}
.page-service-link {
  color: var(--neon-green);
  text-decoration: none;
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--neon-green);
  padding-bottom: 2px;
}

.page-news {
  background: var(--foam);
}
.page-news-header {
  align-items: center;
}
.page-news-more {
  margin-left: auto;
  align-self: center;
}
.page-news-grid {
  display: grid;
  gap: 24px;
}
.page-news-list {
  display: grid;
  gap: 16px;
}
.page-news-item {
  background: #fff;
  padding: 20px 18px;
  border-left: 4px solid var(--bright-blue);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.page-news-item:hover {
  transform: translateY(-4px);
}
.page-news-item:nth-child(2) {
  border-left-color: var(--coral);
}
.page-news-item:nth-child(3) {
  border-left-color: var(--wave);
}
.page-news-tagline {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.7rem;
  color: var(--coral);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-news-item h3 {
  margin: 8px 0 6px;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--deep-sea);
}
.page-news-item p {
  margin: 0 0 12px;
  color: var(--cloud);
  font-size: 0.92rem;
  line-height: 1.65;
}
.page-news-link {
  color: var(--deep-sea);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--bright-blue);
  padding-bottom: 2px;
}
.page-news-figure {
  margin: 0;
}
.page-news-figure img {
  width: 100%;
  display: block;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.page-news-figure figcaption {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--cloud);
  padding-left: 12px;
  border-left: 2px solid var(--wave);
}

.page-trust {
  background: var(--deep-sea);
  color: var(--foam);
  padding: 56px 0 64px;
}
.page-trust .section-index {
  color: rgba(255, 255, 255, 0.35);
}
.page-trust .section-title {
  color: #fff;
}
.page-trust-desc {
  color: rgba(244, 248, 252, 0.7);
}
.page-trust-panel {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 20px;
  margin-top: 24px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}
.page-trust-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  line-height: 1.6;
}
.page-trust-item:last-child {
  border-bottom: 0;
}
.page-trust-item p {
  margin: 0;
}
.page-trust-item strong {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 2px;
}
.page-trust-dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  background: var(--neon-green);
}
.page-trust-note {
  color: rgba(244, 248, 252, 0.62);
  font-size: 0.85rem;
  margin: 20px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--coral);
  line-height: 1.7;
}
.page-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@keyframes page-hero-scroll-bob {
  0%,
  100% {
    transform: scaleY(0.8);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1.2);
    transform-origin: top;
  }
}

@media (min-width: 640px) {
  .page-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-services-banner figcaption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    max-width: 72%;
    background: rgba(5, 32, 73, 0.88);
    border-left: 3px solid var(--neon-green);
  }
}

@media (min-width: 1024px) {
  .page-home .section {
    padding: 72px 0;
  }
  .page-hero {
    align-items: center;
  }
  .page-hero-shape-left {
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: 62%;
    height: 100%;
    background: linear-gradient(155deg, var(--deep-sea), var(--sea));
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
  }
  .page-hero-shape-right {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 38%;
    height: 100%;
    z-index: -1;
    background: rgba(244, 248, 252, 0.94);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  }
  .page-hero-inner {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .page-hero-copy {
    padding-right: 40px;
  }
  .page-hero-scroll-hint {
    display: flex;
    position: absolute;
    right: 16px;
    bottom: 64px;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    writing-mode: vertical-rl;
    font-family: var(--font-data);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }
  .page-hero-scroll-hint i {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, var(--coral), transparent);
    display: block;
    animation: page-hero-scroll-bob 1.8s ease-in-out infinite;
  }
  .page-corridor-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .page-corridor-track-item {
    flex: 1;
  }
  .page-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-news-grid {
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
  }
  .page-trust-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
  .page-trust-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .page-trust-links {
    justify-content: flex-end;
  }
}
