/* ============================================================
   HSEI.IO — partners.css
   /partners: strategic partnership & investors (SPEC 6.5)
   Layout / colour only — typography in typography.css
   ============================================================ */

.ptr-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px 56px;
  overflow-x: clip;
}

/* ---------- DIRECTIONAL ENTRANCE ---------- */
.ptr-enter {
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity 2.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.25s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}
.ptr-enter--from-left { transform: translateX(-64px); }
.ptr-enter--from-right { transform: translateX(64px); }
.ptr-enter--from-up { transform: translateY(48px) scale(0.96); }
.ptr-enter--from-center {
  transform: scaleX(0);
  transform-origin: center center;
  filter: none;
}
.ptr-enter.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.ptr-enter--from-center.is-visible {
  transform: scaleX(1);
}

.ptr-converge-rail {
  height: 2px;
  margin: 12px 0 18px;
  overflow: hidden;
  border-radius: 999px;
}
.ptr-converge-rail span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--teal-accent) 18%,
    var(--gold) 50%,
    rgba(224, 90, 42, 0.65) 82%,
    transparent 100%
  );
  opacity: 0.7;
}

/* ---------- HERO ---------- */
.ptr-hero {
  padding: 44px 0 40px;
  border-bottom: 0.5px solid var(--border-gold);
  text-align: center;
  position: relative;
}
.ptr-hero::before {
  content: "";
  position: absolute;
  inset: -8px -16px 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(14, 207, 180, 0.06), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: auto, 20px 20px;
  border-radius: 14px;
  pointer-events: none;
  z-index: 0;
}
.ptr-hero > * {
  position: relative;
  z-index: 1;
}
.ptr-eyebrow {
  color: var(--teal-accent);
  display: block;
  margin-bottom: 14px;
}
.ptr-title {
  color: var(--text-main);
  margin-bottom: 12px;
}
.ptr-title .gold {
  color: var(--gold);
}
.ptr-sub {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- PRINCIPLE BOX ---------- */
.ptr-principle {
  background: var(--bg-surface);
  border: 0.5px solid var(--border-gold);
  border-radius: var(--radius-card-lg);
  padding: 22px 24px;
  margin: 28px 0;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.ptr-principle-quote {
  color: var(--text-main);
  margin-bottom: 10px;
}
.ptr-principle-note {
  color: var(--text-ghost);
}

/* ---------- SECTIONS ---------- */
.ptr-section {
  padding: 36px 0;
  border-bottom: 0.5px solid var(--border-neutral);
  scroll-margin-top: 100px;
}
.ptr-section:last-of-type {
  border-bottom: none;
}
.ptr-label {
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.ptr-sec-title {
  color: var(--text-main);
  margin-bottom: 14px;
}
.ptr-body {
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ptr-body strong {
  color: var(--text-main);
  font-weight: 500;
}
.ptr-footnote {
  color: var(--text-ghost);
  margin-top: 8px;
}

/* ---------- WHY NOW GRID ---------- */
.ptr-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
}
.ptr-why-card {
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-surface-light);
  border-radius: var(--radius-card);
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.ptr-why-card:hover {
  border-color: var(--border-gold-md);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.ptr-why-icon {
  margin-bottom: 8px;
  opacity: 0.75;
}
.ptr-why-title {
  color: var(--text-main);
  margin-bottom: 5px;
}
.ptr-why-text {
  color: var(--text-ghost);
}

/* ---------- REGENETICS TIMELINE ---------- */
.ptr-timeline-section {
  position: relative;
}
.ptr-timeline-section::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(14, 207, 180, 0.05), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: auto, 22px 22px;
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}
.ptr-timeline {
  position: relative;
  z-index: 1;
  margin: 18px 0;
}
.ptr-tl-window.mac-window {
  background: var(--bg-surface);
  border: 0.5px solid rgba(14, 207, 180, 0.18);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}
.mac-window__titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(14, 207, 180, 0.05);
  border-bottom: 0.5px solid rgba(14, 207, 180, 0.12);
}
.mac-window__controls {
  display: flex;
  gap: 6px;
}
.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
}
.mac-dot--close { background: #ff5f57; }
.mac-dot--minimize { background: #febc2e; }
.mac-dot--maximize { background: #28c840; }
.mac-window__title {
  color: rgba(14, 207, 180, 0.65);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.ptr-tl-body.mac-window__body {
  padding: 20px 22px 24px;
  background: var(--bg-main);
}
.ptr-tl-spectrum {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.ptr-tl-spectrum__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-ghost);
  white-space: nowrap;
}
.ptr-tl-spectrum__track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid var(--border-neutral);
  overflow: hidden;
}
.ptr-tl-spectrum__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--teal-accent) 0%,
    #5ec9a8 30%,
    var(--gold) 65%,
    #d4844a 85%,
    var(--red-signal) 100%
  );
  opacity: 0.9;
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptr-tl-result {
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 0.5px solid var(--border-neutral);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-ghost);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.ptr-tl-result.is-active {
  color: var(--text-muted);
  border-color: rgba(14, 207, 180, 0.35);
  background: rgba(14, 207, 180, 0.06);
}
.ptr-tl-result.is-active strong {
  color: var(--teal-accent);
  font-weight: 500;
}
.ptr-tl-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  padding-top: 8px;
}
.ptr-tl-rail__line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 38px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  pointer-events: none;
}
.ptr-tl-rail__line span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-accent), var(--gold), var(--red-signal));
  border-radius: inherit;
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptr-tl-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 6px 12px;
  background: transparent;
  border: 0.5px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}
.ptr-tl-node:hover,
.ptr-tl-node:focus-visible {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-neutral);
  outline: none;
}
.ptr-tl-node.is-active {
  background: rgba(14, 207, 180, 0.06);
  border-color: rgba(14, 207, 180, 0.28);
  transform: translateY(-2px);
}
.ptr-tl-node--gold.is-active {
  background: rgba(228, 184, 174, 0.08);
  border-color: rgba(228, 184, 174, 0.35);
}
.ptr-tl-node--horizon.is-active {
  background: rgba(224, 90, 42, 0.08);
  border-color: rgba(224, 90, 42, 0.3);
}
.ptr-tl-node__year {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.ptr-tl-node__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--teal-accent);
  background: var(--bg-main);
  box-shadow: 0 0 0 4px rgba(14, 207, 180, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ptr-tl-node--blend .ptr-tl-node__dot {
  border-color: #5ec9a8;
  box-shadow: 0 0 0 4px rgba(94, 201, 168, 0.12);
}
.ptr-tl-node--gold .ptr-tl-node__dot {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(228, 184, 174, 0.12);
}
.ptr-tl-node--horizon .ptr-tl-node__dot {
  border-color: var(--red-signal);
  box-shadow: 0 0 0 4px rgba(224, 90, 42, 0.12);
}
.ptr-tl-node.is-active .ptr-tl-node__dot {
  transform: scale(1.15);
}
.ptr-tl-node__title {
  color: var(--text-ghost);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.35;
  max-width: 120px;
  transition: color 0.25s ease;
}
.ptr-tl-node.is-active .ptr-tl-node__title {
  color: var(--text-muted);
}
.ptr-tl-panels {
  position: relative;
  min-height: 320px;
}
.ptr-tl-panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.ptr-tl-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ptr-tl-panel[hidden] {
  display: none;
}
.ptr-tl-panel:not(.is-active) {
  visibility: hidden;
}
.ptr-tl-panel__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.ptr-tl-panel__year {
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  min-width: 72px;
}
.ptr-tl-panel__title {
  color: var(--text-main);
  margin-bottom: 4px;
}
.ptr-tl-panel__tagline {
  color: var(--teal-accent);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.ptr-tl-panel__essence {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: var(--gold-dim2);
  border-radius: 0 8px 8px 0;
  color: var(--text-main);
  font-style: italic;
}
.ptr-tl-panel__intro,
.ptr-tl-panel__desc {
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ptr-tl-panel__list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.ptr-tl-panel__list li {
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.ptr-tl-panel__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal-accent);
  opacity: 0.7;
}
.ptr-tl-panel__close {
  color: var(--text-ghost);
  padding-top: 8px;
  border-top: 0.5px solid var(--border-neutral);
}

/* ---------- PARTNER TYPES ---------- */
.ptr-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.ptr-partner-card {
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-surface-light);
  border-radius: var(--radius-card);
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.ptr-partner-card:hover {
  border-color: var(--border-gold-md);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.ptr-partner-card.featured {
  border-color: rgba(228, 184, 174, 0.3);
  background: var(--gold-dim2);
}
.ptr-pc-type {
  color: var(--gold);
  opacity: 0.8;
  display: block;
  margin-bottom: 8px;
}
.ptr-pc-name {
  color: var(--text-main);
  margin-bottom: 6px;
}
.ptr-pc-desc {
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ptr-pc-examples {
  color: var(--text-ghost);
  font-style: italic;
}

/* ---------- OFFER LIST ---------- */
.ptr-offer-list {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ptr-offer-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-surface-light);
  border-radius: var(--radius-card);
}
.ptr-oi-num {
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 2px;
}
.ptr-oi-title {
  color: var(--text-main);
  margin-bottom: 3px;
}
.ptr-oi-desc {
  color: var(--text-ghost);
}

/* ---------- NOT OFFER ---------- */
.ptr-not-offer {
  background: var(--red-dim);
  border: 0.5px solid rgba(224, 90, 42, 0.2);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  margin: 16px 0;
}
.ptr-no-label {
  color: var(--red-signal);
  display: block;
  margin-bottom: 8px;
}
.ptr-no-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ptr-no-item {
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}
.ptr-no-item::before {
  content: '✗';
  color: var(--red-signal);
  flex-shrink: 0;
}

/* ---------- CONTACT ---------- */
.ptr-contact {
  background: linear-gradient(
    165deg,
    rgba(14, 207, 180, 0.06) 0%,
    var(--bg-surface) 40%,
    rgba(228, 184, 174, 0.06) 100%
  );
  border: 0.5px solid var(--border-gold);
  border-radius: var(--radius-card-lg);
  padding: 32px 28px;
  margin: 28px 0 0;
  text-align: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}
.ptr-cb-title {
  color: var(--text-main);
  margin-bottom: 10px;
}
.ptr-cb-sub {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.ptr-cb-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.ptr-cb-form .cb-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 12px;
  background: var(--bg-surface-light);
  border: 0.5px solid var(--border-neutral-md);
  border-radius: var(--radius-btn);
  outline: none;
  transition: border-color 0.18s ease;
}
.ptr-cb-form .cb-input:focus {
  border-color: var(--border-gold-md);
}
.ptr-cb-form .cb-input::placeholder {
  color: var(--text-ghost);
}
.ptr-cb-note {
  color: var(--text-ghost);
  margin-top: 6px;
}
.ptr-form-status {
  margin-top: 8px;
  color: var(--teal-accent);
}
.ptr-form-status.is-error {
  color: var(--red-signal);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
  .ptr-page {
    padding: 0 16px 40px;
  }
  .ptr-why-grid,
  .ptr-partner-grid {
    grid-template-columns: 1fr;
  }
  .ptr-tl-rail {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ptr-tl-rail__line {
    display: none;
  }
  .ptr-tl-panel__head {
    flex-direction: column;
    gap: 8px;
  }
  .ptr-tl-body.mac-window__body {
    padding: 16px 14px 18px;
  }
  .ptr-cb-form {
    flex-direction: column;
  }
  .ptr-cb-form .cb-input {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptr-enter {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
  .ptr-why-card:hover,
  .ptr-partner-card:hover,
  .ptr-tl-node.is-active {
    transform: none;
  }
}
