/* ─── Hosting page (hosting.html) ─────────────────────────────────────
   One viewport panel, then the site footer. Tokens only, so both themes work.
   Class prefix: hp-                                                       */

:root { --hp-nav: 96px; }

.hp-panel {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--hp-nav) + clamp(8px, 2vh, 24px)) var(--gutter) clamp(24px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}
.hp-panel .grid-bg { z-index: -1; }
main + footer { margin-top: 0; }

.hp-inner {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hp-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hp-head .eyebrow { justify-content: center; }
.hp-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, min(6vw, 8.6vh), 96px);
  line-height: .96;
  letter-spacing: -.025em;
  margin-top: clamp(10px, 1.8vh, 18px);
  color: var(--paper);
}
.hp-h1 em { font-style: italic; color: var(--paper-dim); }
.hp-head .lead {
  margin: clamp(12px, 2vh, 22px) auto 0;
  max-width: 68ch;
  text-align: center;
  font-size: clamp(15px, min(1.2vw, 2.3vh), 19px);
}

.hp-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(20px, 3.6vh, 40px);
}
.hp-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(16px, 2.4vh, 28px) clamp(18px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: border-color .25s, transform .25s;
}
.hp-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.hp-num { letter-spacing: .12em; color: var(--amber); }
.hp-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, min(2.4vw, 4vh), 36px);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--paper);
}
.hp-text { color: var(--paper-dim); font-size: clamp(14px, min(1.05vw, 2vh), 16px); line-height: 1.5; }
.hp-link {
  margin-top: auto;
  padding-top: 6px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  transition: border-color .25s, color .25s;
}
.hp-link .arrow { color: var(--amber); transition: transform .3s; }
.hp-link:hover { border-color: var(--amber); }
.hp-link:hover .arrow { transform: translate(4px, -2px); }

.hp-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(18px, 3.2vh, 34px);
}

@media (max-width: 720px) {
  .hp-panel { padding-top: calc(var(--hp-nav) + 8px); }
  .hp-cards { grid-template-columns: minmax(0, 1fr); }
  .hp-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hp-actions .btn { justify-content: center; }
}
