/* =====================================================================
   VXIT — Client Portal page
   3 action cards, contact panel, HQ footer block.
   Shared chrome lives in chrome.css.
   ===================================================================== */

.portal {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 3vh, 48px) clamp(16px, 4vw, 56px) clamp(40px, 6vh, 80px);
  gap: clamp(32px, 5vh, 56px);
  width: 100%;
}

/* ---------- Page header ---------- */
.portal__head {
  text-align: center;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.portal__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.portal__eyebrow .pipe {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--vxit-pink);
  vertical-align: -0.05em;
  margin: 0 0.6em;
}
.portal__title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--vxit-white);
  margin: 0;
  text-wrap: balance;
}
.portal__title .hl-pink { color: var(--vxit-pink); }
.portal__sub {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  max-width: 560px;
  margin: 0;
}

/* ---------- 3-up action cards ---------- */
.actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
  max-width: 1240px;
}
@media (max-width: 1040px) { .actions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .actions { grid-template-columns: 1fr; } }

.action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(24px, 2.8vw, 36px);
  min-height: clamp(220px, 28vh, 280px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--vxit-white);
  overflow: hidden;
  text-align: left;
  transition: transform 360ms var(--ease-snap),
              border-color 360ms var(--ease-snap),
              box-shadow 360ms var(--ease-snap),
              background 360ms var(--ease-snap);
}
.action::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.20;
  transition: opacity 360ms var(--ease-snap);
  background: radial-gradient(ellipse 70% 70% at 90% -10%, rgba(218, 19, 141, 0.45), transparent 65%);
}
.action--orange::after {
  background: radial-gradient(ellipse 70% 70% at 90% -10%, rgba(242, 99, 34, 0.45), transparent 65%);
}
.action:hover,
.action:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 24px 60px -20px rgba(218, 19, 141, 0.4),
              0 0 0 1px rgba(218, 19, 141, 0.25) inset;
  outline: none;
}
.action--orange:hover,
.action--orange:focus-visible {
  box-shadow: 0 24px 60px -20px rgba(242, 99, 34, 0.4),
              0 0 0 1px rgba(242, 99, 34, 0.25) inset;
}
.action:hover::after,
.action:focus-visible::after { opacity: 0.55; }

.action__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--vxit-pink);
}
.action--orange .action__icon { color: var(--vxit-orange); }

.action__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--vxit-white);
  margin: 0;
}
.action__sub {
  position: relative;
  z-index: 1;
  font-size: clamp(14px, 1.1vw, 15px);
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
  margin: 0;
  max-width: 32ch;
}
.action__cta {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-bold);
  font-size: 13px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--vxit-white);
}
.action__cta svg { transition: transform 360ms var(--ease-snap); }
.action:hover .action__cta svg,
.action:focus-visible .action__cta svg { transform: translateX(4px); }
.action__cta-host {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

/* ---------- Contact strip ---------- */
.contact-strip {
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(24px, 2.8vw, 32px) clamp(20px, 2.5vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 600px) {
  .contact-strip { grid-template-columns: 1fr; gap: 18px; }
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-item__label {
  font-size: 11px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-item__label--orange { color: var(--vxit-orange); }
.contact-item__label--pink   { color: var(--vxit-pink); }
.contact-item__pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--vxit-pink);
  box-shadow: 0 0 12px var(--vxit-pink);
  animation: vxPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.contact-item__value {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--vxit-white);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 200ms var(--ease-snap);
}
.contact-item__value:hover { color: var(--vxit-pink); }
.contact-item__value svg { opacity: 0.6; }
.contact-item__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- "Not yet a client?" nudge ---------- */
.nudge {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 2.5vw, 28px);
  border: 1px solid rgba(242, 99, 34, 0.25);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(242, 99, 34, 0.08) 0%, rgba(218, 19, 141, 0.04) 100%);
  flex-wrap: wrap;
  transition: border-color 360ms var(--ease-snap), background 360ms var(--ease-snap);
}
.nudge:hover {
  border-color: rgba(242, 99, 34, 0.5);
  background: linear-gradient(90deg, rgba(242, 99, 34, 0.14) 0%, rgba(218, 19, 141, 0.06) 100%);
}
.nudge__text {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}
.nudge__text strong {
  font-weight: var(--fw-black);
  color: var(--vxit-white);
}
.nudge__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--vxit-orange);
}

/* ---------- HQ Footer block ---------- */
.hq {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: clamp(40px, 6vh, 72px) clamp(16px, 4vw, 56px) clamp(24px, 4vh, 40px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .hq { grid-template-columns: 1fr; gap: 24px; }
}
.hq__brand img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.hq__email {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--vxit-white);
  display: inline-block;
  margin-bottom: 12px;
}
.hq__email:hover { color: var(--vxit-pink); }
.hq__address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.6;
}
.hq__address strong {
  display: block;
  color: var(--vxit-white);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 6px;
}
.hq__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 720px) {
  .hq__right { align-items: flex-start; }
}
.hq__links {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}
@media (max-width: 720px) {
  .hq__links { text-align: left; }
}
.hq__links a:hover { color: var(--vxit-white); }
.hq__copyright {
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
