.page-contact {
  --ct-cut: 20px;
  --ct-row-gap: 28px;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
}

.page-contact .section {
  padding-block: clamp(48px, 7vw, 92px);
  position: relative;
}

.page-contact .contact-h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 12px 0 0;
}

.page-contact .contact-lede {
  max-width: 66ch;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ---------- HERO ---------- */
.contact-hero {
  position: relative;
  padding: clamp(36px, 6vw, 84px) 0 clamp(36px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(920px 460px at 88% -14%, rgba(255, 106, 26, 0.3), transparent 62%),
    radial-gradient(760px 440px at 4% 112%, rgba(47, 210, 255, 0.16), transparent 66%),
    linear-gradient(180deg, var(--ink-3) 0%, var(--ink) 78%);
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  pointer-events: none;
}

.contact-hero .shell {
  position: relative;
  z-index: 1;
}

.contact-hero .breadcrumb {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.contact-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  max-width: 18ch;
}

.contact-hero__brand {
  display: inline-block;
  background: var(--grad-flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-inline: 0.06em;
}

.contact-hero__lede {
  max-width: 62ch;
  margin: clamp(18px, 2.6vw, 28px) 0 0;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.85;
  color: var(--text-soft);
}

.contact-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 3.4vw, 38px);
  padding: 14px 24px;
  background: rgba(21, 26, 35, 0.78);
  border: 1px solid var(--line-strong);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.contact-pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  animation: ct-pulse 2.6s var(--ease) infinite;
}

@keyframes ct-pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 224, 161, 0.55); }
  70% { box-shadow: 0 0 0 13px rgba(53, 224, 161, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 224, 161, 0); }
}

.contact-hero__status-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.5;
}

.contact-hero__status-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.contact-hero__status-text span {
  font-size: 13px;
  color: var(--mist);
}

.hero-rail {
  position: absolute;
  right: clamp(14px, 3vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 1;
}

.hero-rail__line {
  display: block;
  width: 1px;
  height: 132px;
  background: linear-gradient(180deg, transparent, var(--flame) 55%, transparent);
}

/* ---------- CHANNELS ---------- */
.contact-channels {
  background: var(--ink);
}

.contact-plate {
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 2px solid var(--steel);
}

.contact-plate__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.contact-plate__num {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--flame);
}

.contact-plate__body {
  min-width: 0;
}

.contact-plate__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mist);
  margin-bottom: 8px;
}

.contact-plate__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(18px, 3.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
  word-break: break-word;
}

.contact-plate__note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 56ch;
}

.contact-plate__badge {
  justify-self: start;
  align-self: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--volt);
  border: 1px solid rgba(47, 210, 255, 0.4);
  padding: 8px 14px;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.page-contact .copy-btn {
  justify-self: start;
  align-self: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 11px 20px;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-contact .copy-btn:hover,
.page-contact .copy-btn:focus-visible {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--ink);
}

.page-contact .copy-btn.is-done {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
}

.contact-glass {
  margin-top: clamp(28px, 4vw, 52px);
  max-width: 780px;
  border-color: var(--steel);
}

/* ---------- TOPICS ---------- */
.contact-topics {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-3) 100%);
  border-top: 1px solid var(--line);
}

.topic-list {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.topic[open] {
  border-left-color: var(--flame);
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.07) 0%, var(--ink-2) 42%);
}

.topic__sum {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 16px;
  padding: 20px 20px 18px;
  cursor: pointer;
  list-style: none;
}

.topic__sum::-webkit-details-marker {
  display: none;
}

.topic__num {
  grid-column: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--flame);
  letter-spacing: 0.14em;
}

.topic__name {
  grid-column: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.4;
  color: var(--text);
}

.topic__mark {
  grid-column: 3;
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--flame);
}

.topic__mark::before {
  content: "+";
}

.topic[open] .topic__mark::before {
  content: "−";
}

.topic__hint {
  grid-column: 2 / 4;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.topic__body {
  padding: 0 20px 22px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 18px;
}

.topic__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 68ch;
}

.topic__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.topic__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 2px;
  background: var(--volt);
}

.topic__jump {
  margin-top: 16px !important;
  font-size: 14px !important;
  color: var(--mist) !important;
}

.topic__jump a,
.contact-legal__links a {
  color: var(--volt);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 210, 255, 0.45);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.topic__jump a:hover,
.contact-legal__links a:hover {
  color: var(--flame);
  border-bottom-color: var(--flame);
}

/* ---------- VISIT ---------- */
.contact-visit {
  background: var(--ink-3);
  border-top: 1px solid var(--line);
}

.visit-grid {
  margin-top: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.visit-grid__map {
  border-color: var(--steel);
}

.visit-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.visit-card__slab {
  position: relative;
  padding: 26px 26px 30px;
  background: linear-gradient(102deg, rgba(255, 106, 26, 0.2) 0%, rgba(226, 58, 30, 0.06) 62%, transparent 100%);
  border-left: 3px solid var(--flame);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.visit-card__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--flame);
  margin-bottom: 12px;
}

.visit-card__addr {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2.3vw, 23px);
  line-height: 1.6;
  color: var(--text);
}

.visit-card__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.visit-card__list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

.visit-card__list .mono {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist);
  padding-top: 3px;
}

/* ---------- PROCESS ---------- */
.contact-process {
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.flow {
  list-style: none;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.flow__item {
  position: relative;
  background: var(--ink-2);
  padding: 26px 22px 28px;
  overflow: hidden;
}

.flow__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-flame);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.flow__item:hover::before {
  transform: scaleX(1);
}

.flow__num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--volt);
}

.flow__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.4;
  color: var(--text);
  margin: 14px 0 0;
}

.flow__item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-soft);
}

/* ---------- LEGAL ---------- */
.contact-legal {
  padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px) !important;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-4) 100%);
  border-top: 1px solid var(--line);
}

.legal-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 24px 28px;
  background: linear-gradient(102deg, rgba(47, 210, 255, 0.12) 0%, rgba(21, 26, 35, 0.9) 58%);
  border: 1px solid var(--steel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.legal-band__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--volt);
}

.legal-band__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(17px, 2.4vw, 26px);
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
  word-break: break-all;
}

.legal-band__region {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mist);
  margin-left: auto;
}

.contact-legal__links {
  margin: 26px 0 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--mist);
  max-width: 70ch;
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 700px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .contact-plate__row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: var(--ct-row-gap);
    align-items: center;
    padding: 30px 0;
  }

  .contact-plate__num {
    font-size: 15px;
    padding-top: 2px;
    align-self: start;
  }

  .contact-plate__row .copy-btn {
    align-self: center;
  }

  .visit-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .hero-rail {
    display: flex;
  }

  .contact-hero__title {
    max-width: 16ch;
  }
}

@media (max-width: 559px) {
  .contact-hero__status {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 14px 18px;
  }

  .legal-band {
    padding: 20px 18px;
  }

  .legal-band__region {
    margin-left: 0;
  }

  .visit-card__list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .contact-plate__value {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-pulse {
    animation: none;
  }

  .page-contact .copy-btn,
  .topic,
  .flow__item::before {
    transition: none;
  }
}
