/* Portal: a plain login handoff. No form, no inputs. */
  body { min-height: 100vh; display: flex; flex-direction: column; }
  .portal-shell { flex: 1; display: flex; flex-direction: column; }
  .portal-page {
    flex: 1;
    display: flex; flex-direction: column;
    position: relative;
  }
  .portal-hero {
    flex: 1;
    position: relative;
    display: grid; grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }
  .portal-hero-copy {
    position: relative;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: clamp(48px, 8vw, 112px) var(--pad-x);
  }
  .portal-hero h1 {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: clamp(48px, 7.4vw, 112px);
    letter-spacing: var(--display-tracking);
    line-height: 0.95;
    margin: 0 0 24px;
    color: var(--ink);
    text-wrap: balance;
  }
  .portal-hero h1 em {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent-ink);
  }
  .portal-hero .sub {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--ink-2);
    margin: 0 0 32px;
    line-height: 1.6;
    max-width: 48ch;
  }
  .portal-hero .hero-mark { margin-right: var(--pad-x); }

  /* Footer for the portal: logo with wordmark below it, then legal row. */
  .portal-foot {
    border-top: 1px solid var(--hair-2);
    padding: 28px 0 20px;
    font-size: 14px;
    color: var(--ink-3);
  }
  .portal-foot-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    padding: 0 var(--pad-x);
  }
  .portal-foot-brand { flex: 1 0 100%; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 8px; color: var(--ink); }
  .portal-foot-brand .brand-wordmark { font-size: 13px; }

  @media (max-width: 980px) {
    .portal-hero { grid-template-columns: 1fr; }
  }
