.page-contact {
  --pc-line: rgba(42, 58, 102, .85);
  --pc-soft: rgba(232, 244, 255, .76);
  background: var(--ink-0);
  color: var(--white);
  overflow-x: clip;
}

.page-contact h1,
.page-contact h2,
.page-contact h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: .04em;
}

.page-contact h1 {
  font-size: clamp(34px, 7.5vw, 66px);
  line-height: 1.12;
}

.page-contact h2 {
  font-size: clamp(23px, 4vw, 38px);
  line-height: 1.24;
}

.page-contact h3 {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.45;
}

.page-contact p {
  margin: 0;
}

.page-contact .breadcrumb {
  padding-top: clamp(14px, 3vw, 26px);
}

/* ---------- Hero ---------- */
.page-contact .contact-hero {
  position: relative;
  padding-bottom: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(90% 70% at 88% 0%, rgba(25, 227, 209, .16), transparent 62%),
    radial-gradient(60% 55% at 0% 100%, rgba(255, 122, 26, .1), transparent 62%),
    linear-gradient(180deg, var(--ink-1) 0%, var(--ink-0) 82%);
  border-bottom: 1px solid var(--pc-line);
}

.page-contact .contact-hero__inner {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding-top: clamp(18px, 4vw, 40px);
  align-items: start;
}

.page-contact .lede {
  margin-top: 18px;
  max-width: 34em;
  color: var(--pc-soft);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.8;
}

.page-contact .contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-contact .hero-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 14px;
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--pc-line);
}

.page-contact .hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-contact .hero-facts__k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-contact .hero-facts__v {
  font-family: var(--font-mono);
  font-size: 15.5px;
  color: var(--white);
}

/* ---------- Status board ---------- */
.page-contact .status-board {
  position: relative;
  padding: clamp(18px, 3vw, 26px);
  background: linear-gradient(160deg, rgba(18, 28, 56, .96), rgba(11, 18, 38, .96));
  border: 1px solid var(--pc-line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  min-width: 0;
}

.page-contact .status-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.page-contact .status-board__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pc-line);
}

.page-contact .status-board__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(25, 227, 209, .16);
  animation: pc-breathe 2.6s var(--ease) infinite;
  flex: none;
}

.page-contact .status-board__title {
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--white);
}

.page-contact .status-board__code {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--cyan);
}

.page-contact .status-board__list {
  margin: 0;
  padding: 14px 0 0;
  display: grid;
  gap: 12px;
}

.page-contact .status-board__list > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.page-contact .status-board__list dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-contact .status-board__list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--white);
  word-break: break-word;
}

.page-contact .status-board__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--pc-line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Section scaffolding ---------- */
.page-contact .pc-section {
  padding-block: clamp(38px, 6.5vw, 88px);
}

.page-contact .pc-section + .pc-section {
  border-top: 1px solid var(--pc-line);
}

.page-contact .pc-head {
  display: grid;
  gap: 12px;
  max-width: 60ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-contact .pc-head__sub {
  color: var(--pc-soft);
  line-height: 1.78;
  font-size: 15.5px;
}

/* ---------- Channels ---------- */
.page-contact .channel-grid {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.page-contact .channel-card {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 3vw, 32px);
  background: linear-gradient(155deg, var(--panel) 0%, var(--ink-1) 72%);
  border: 1px solid var(--pc-line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.page-contact .channel-card__media {
  position: relative;
  height: clamp(130px, 20vw, 188px);
  margin: calc(-1 * clamp(18px, 3vw, 32px)) calc(-1 * clamp(18px, 3vw, 32px)) clamp(18px, 3vw, 26px);
  overflow: hidden;
}

.page-contact .channel-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 15, .1) 0%, rgba(5, 7, 15, .82) 100%);
}

.page-contact .channel-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.page-contact .channel-list {
  margin: 0;
  display: grid;
  gap: clamp(16px, 2.5vw, 22px);
}

.page-contact .channel-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--pc-line);
}

.page-contact .channel-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-contact .channel-item dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-contact .channel-item dd {
  margin: 0;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.page-contact .channel-item__value {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.2vw, 19px);
  color: var(--white);
  word-break: break-word;
}

.page-contact .channel-item__value--big {
  font-size: clamp(26px, 6.4vw, 44px);
  line-height: 1.1;
  letter-spacing: .03em;
  color: var(--cyan);
}

.page-contact .channel-item__value--addr {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.9vw, 16px);
  line-height: 1.7;
}

.page-contact .channel-item__hint {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.page-contact .channel-side {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(200deg, rgba(18, 28, 56, .68), rgba(5, 7, 15, .92));
  border-left: 2px solid var(--cyan);
}

.page-contact .channel-side__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-contact .path-list {
  position: relative;
  list-style: none;
  margin: 18px 0 0;
  padding: 0 0 0 26px;
  display: grid;
  gap: clamp(16px, 2.5vw, 22px);
}

.page-contact .path-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--grid) 58%, var(--orange));
}

.page-contact .path-list li {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.page-contact .path-list li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink-0);
  border: 2px solid var(--cyan);
}

.page-contact .path-list strong {
  font-size: 14.5px;
  letter-spacing: .04em;
}

.page-contact .path-list span {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Routing ---------- */
.page-contact .routing {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-contact .routing__figure {
  border: 1px solid var(--pc-line);
  background: var(--ink-1);
  overflow: hidden;
  min-width: 0;
}

.page-contact .routing__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  opacity: .92;
}

.page-contact .routing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  min-width: 0;
}

.page-contact .routing-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 26px);
  padding: clamp(18px, 2.6vw, 26px) 0;
  border-top: 1px solid var(--pc-line);
}

.page-contact .routing-item:last-child {
  border-bottom: 1px solid var(--pc-line);
}

.page-contact .routing-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width .45s var(--ease);
}

.page-contact .routing-item:hover::after,
.page-contact .routing-item:focus-within::after {
  width: 100%;
}

.page-contact .routing-item__num {
  font-family: var(--font-mono);
  font-size: clamp(19px, 3vw, 26px);
  line-height: 1;
  color: var(--grid);
  transition: color .3s var(--ease);
}

.page-contact .routing-item:hover .routing-item__num,
.page-contact .routing-item:focus-within .routing-item__num {
  color: var(--cyan);
}

.page-contact .routing-item__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.page-contact .routing-item__body p {
  color: var(--pc-soft);
  font-size: 15px;
  line-height: 1.75;
}

.page-contact .routing-item__need {
  font-family: var(--font-mono);
  font-size: 12.5px !important;
  letter-spacing: .02em;
  color: var(--muted) !important;
  word-break: break-word;
}

.page-contact .routing-item .link-arrow {
  justify-self: start;
}

/* ---------- Hours ---------- */
.page-contact .pc-hours {
  background: linear-gradient(180deg, var(--ink-1), var(--ink-0));
}

.page-contact .hours-band {
  padding: clamp(20px, 3.4vw, 36px);
  background: rgba(11, 18, 38, .62);
  border: 1px solid var(--pc-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-contact .hours-band__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--muted);
}

.page-contact .hours-band__bar {
  height: 6px;
  margin: 10px 0 clamp(20px, 3vw, 30px);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 60%, var(--orange) 100%);
  opacity: .85;
}

.page-contact .hours-cards {
  margin: 0;
  display: grid;
  gap: clamp(16px, 2.5vw, 26px);
}

.page-contact .hours-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 14px;
  border-top: 2px solid var(--grid);
}

.page-contact .hours-card--hot {
  border-top-color: var(--orange);
}

.page-contact .hours-card dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-contact .hours-card--hot dt {
  color: var(--orange);
}

.page-contact .hours-card dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--pc-soft);
}

/* ---------- Details ---------- */
.page-contact .detail-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.page-contact .detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.page-contact .detail-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
}

.page-contact .detail-list__num {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-0);
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.page-contact .detail-list h3 {
  margin-bottom: 5px;
}

.page-contact .detail-list p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--pc-soft);
}

.page-contact .detail-template {
  min-width: 0;
  padding: clamp(16px, 2.6vw, 24px);
  background: linear-gradient(160deg, var(--panel), var(--ink-1));
  border: 1px solid var(--grid);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.page-contact .detail-template__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-contact .detail-template pre {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--white);
  white-space: pre-wrap;
  word-break: break-word;
}

.page-contact .detail-template__note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Cooperation ---------- */
.page-contact .pc-coop {
  position: relative;
  background: linear-gradient(140deg, var(--cyan-deep) 0%, var(--ink-1) 52%, var(--ink-0) 100%);
  border-top: 1px solid var(--pc-line);
}

.page-contact .pc-coop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25, 227, 209, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 227, 209, .07) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.page-contact .pc-coop__inner {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-contact .pc-coop__lead p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 40ch;
  color: var(--pc-soft);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-contact .pc-coop__lead .link-arrow {
  display: inline-block;
  margin-top: 18px;
}

.page-contact .coop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(16px, 2.6vw, 24px);
  min-width: 0;
}

.page-contact .coop-list li {
  padding-left: 18px;
  border-left: 2px solid var(--grid);
  transition: border-color .3s var(--ease);
}

.page-contact .coop-list li:hover {
  border-left-color: var(--orange);
}

.page-contact .coop-list h3 {
  margin-bottom: 6px;
}

.page-contact .coop-list p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--pc-soft);
}

/* ---------- Closing ---------- */
.page-contact .pc-cta {
  padding-block: clamp(34px, 5vw, 64px);
  background: var(--ink-0);
  border-top: 1px solid var(--pc-line);
}

.page-contact .pc-cta__inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

.page-contact .pc-cta__inner p {
  margin-top: 12px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--pc-soft);
}

.page-contact .pc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-contact .pc-cta__legal {
  margin-top: clamp(20px, 3vw, 28px);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-contact .pc-cta__legal a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-contact a:focus-visible,
.page-contact .link-arrow:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@keyframes pc-breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(25, 227, 209, .16); }
  50% { box-shadow: 0 0 0 8px rgba(25, 227, 209, .04); }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .status-board__dot {
    animation: none;
  }
  .page-contact .routing-item::after,
  .page-contact .routing-item__num,
  .page-contact .coop-list li {
    transition: none;
  }
}

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 820px) {
  .page-contact .hours-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-contact .pc-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 900px) {
  .page-contact .contact-hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
  }

  .page-contact .pc-head--split {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: end;
    gap: clamp(24px, 4vw, 56px);
  }

  .page-contact .pc-head--split .pc-head__sub {
    justify-self: end;
    text-align: right;
  }

  .page-contact .channel-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: start;
  }

  .page-contact .detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  }

  .page-contact .pc-coop__inner {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }
}

@media (min-width: 960px) {
  .page-contact .routing {
    grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-contact .routing__figure {
    position: sticky;
    top: 96px;
  }

  .page-contact .routing__figure img {
    max-height: none;
    aspect-ratio: 5 / 6;
  }
}
