/*
 * Placeholder-page styles. Ported from the Phase 2 homepage components (Hero, Button,
 * CredentialPill, Footer, index.astro) with the nav, CTAs, stats, expertise cards and contact
 * section removed. tokens.css and global.css are verbatim copies of src/styles — keep it that
 * way so this page stays visually in step with the real site until it is retired at launch.
 */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--night);
  display: flex;
  flex-direction: column;
  min-height: var(--hero-height);
}

.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  object-position: 118% bottom;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--hero-scrim);
}

.hero-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--hero-pad);
}

/* The notice sits where the nav used to be: present and readable, never the headline. */
.notice {
  align-self: flex-end;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(10, 17, 32, 0.55);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--hero-nav-link);
}

/* Wider than the homepage's 540px: the business-card post-nominals ride on the name line, and
   at 540px "Ross S. Delston, CAMS, CTCE" breaks mid-name. 700px keeps the name whole. */
.hero-text {
  margin: auto 0 auto auto;
  width: 700px;
  max-width: 100%;
  text-align: right;
}

.hero-name {
  white-space: nowrap;
}

.hero-eyebrow {
  color: var(--hero-eyebrow);
}

.hero-title {
  font-size: var(--fs-hero);
  line-height: 1.02;
  color: var(--paper);
  margin: 16px 0 0;
}

/* Business-card post-nominals: same line as the name, visibly subordinate to it. */
.hero-postnominals {
  font-size: 0.42em;
  font-variant: normal;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--hero-tagline);
}

.hero-location {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--hero-nav-link);
  margin: 14px 0 0;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
  color: var(--hero-tagline);
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

/* ---------- Button (secondary-dark only) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-control);
  min-height: 44px;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.btn-secondary-dark {
  color: var(--paper);
  background: transparent;
  border: 1.5px solid var(--hero-outline);
  padding: 13px 26px;
}

.btn-secondary-dark:hover {
  color: var(--paper);
  background: transparent;
  border-color: var(--paper);
}

/* ---------- Overview ---------- */
.overview-eyebrow {
  padding-top: 12px;
  white-space: nowrap;
}

.overview-lead {
  font-size: 29px;
  margin: 0;
}

/* ---------- Credibility band ---------- */
.credibility {
  background: var(--surface);
  border-block: 1px solid var(--rule);
}

.credibility-inner {
  padding-block: 64px;
}

.press {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.45;
  color: var(--sapphire);
  text-wrap: pretty;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.credential-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sapphire);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  padding: 8px 15px;
}

.career {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-muted);
}

/* ---------- Footer (no links) ---------- */
footer {
  background: var(--sapphire-deep);
}

.footer-inner {
  max-width: var(--content-max);
  padding: 48px 60px 36px;
  margin-inline: auto;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  font-variant: small-caps;
  letter-spacing: 0.02em;
  color: var(--footer-name);
  margin: 0;
}

.footer-credential,
.footer-location {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--footer-secondary);
  margin: 8px 0 0;
}

.footer-divider {
  border-top: 1px solid var(--footer-divider);
  margin: 32px 0 18px;
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--footer-legal);
  margin: 0;
}

.footer-legal + .footer-legal {
  margin-top: 8px;
}

/* ---------- Responsive (same two breakpoints as the main site) ---------- */
@media (max-width: 1079px) {
  .hero {
    min-height: 620px;
  }

  .hero-inner {
    padding: 36px 40px 44px;
  }

  .hero-text {
    width: auto;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 560px;
  }

  .hero-inner {
    padding: 24px 24px 36px;
  }

  .notice {
    align-self: stretch;
    max-width: none;
    border-radius: var(--radius-control);
  }

  .hero-text {
    width: 100%;
    max-width: none;
    margin-top: 48px;
    text-align: left;
  }

  .hero-title {
    font-size: 40px;
  }

  /* No room for the post-nominals on the name line at phone width: drop them beneath it. */
  .hero-postnominals {
    display: block;
    margin-top: 8px;
    font-size: 0.5em;
  }

  .pn-sep {
    display: none;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .btn {
    display: flex;
    width: 100%;
  }

  .overview-lead {
    font-size: 24px;
  }

  .footer-inner {
    padding: 40px 24px 32px;
  }
}

/* ---------- Contact lines (added 2026-11-13 at Ross's request: phone + email, no fax) ---------- */
.hero-contact {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--hero-nav-link);
}

.hero-contact a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(250, 248, 243, 0.4);
  text-underline-offset: 4px;
}

.hero-contact a:hover,
.footer-contact a:hover {
  color: var(--paper);
  text-decoration-color: var(--paper);
}

.footer-contact {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--footer-secondary);
}

.footer-contact a {
  color: var(--footer-link);
}

@media (max-width: 767px) {
  /* Stack phone and email so each is its own full-width tap target. */
  .hero-contact .sep {
    display: none;
  }

  .hero-contact a {
    display: flex;
  }
}
