/* ==========================================================================
   site.css - page sections for the Peterson Agencies careers site.
   base.css is the design contract and is loaded first. Nothing here restyles
   a base component; this file only adds the layouts base.css does not carry.
   The application flow has its own file (apply.css), owned by another agent.

   Direction, revision 2 (2026-09-21): the public site sells the briefing, the
   briefing sells the position. Short blocks, generous whitespace, a strong
   type hierarchy, visual rhythm (white / tint / navy), thin lines, line icons.

   INDEX
     chrome     .nav-scroll  .topbar__call  .foot-grid  .foot-addr  .foot-links
                .actionbar  .actionbar__btn
     hero       .hero  .hero__grid  .hero__copy  .hero__panel  .hero__reassure
                .hero__actions
     choices    .choices  .choice  .choice__body  .choice__title  .choice__hint
     tiles      .tiles  .tile  .tile__icon  .tile__title
     roles      .rolecard  .rolecard__head  .rolecard__tagline  .chips  .kicker
                .hl
     path       .ladder  .ladder__rung  .ladder__title
     flow       .flow  .flow__step  .flow__title
     media      .photo  .photo__mark  .photo__label  .photo__cap  .ph-block
     content    .prose  .crumb  .lede-row  .split  .note  .qa  .linklist
                .bignum  .factrow
     review     .reviewbadge
   ========================================================================== */

/* --------------------------------------------------------------- actions */
/* The quiet partner to .btn--onnavy, for the second action in a navy band. */
.btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; border-color: #FFFFFF; }

/* ---------------------------------------------------------------- chrome */
.topbar__call { margin: 0; font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
.topbar__call a { font-weight: 600; white-space: nowrap; }

/* The compact link row for phones. base.css hides .nav below 860px. */
.nav-scroll {
  position: sticky; top: var(--topbar-h); z-index: 40;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.nav-scroll .wrap {
  display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-scroll .wrap::-webkit-scrollbar { display: none; }
.nav-scroll a {
  flex: none; padding: 13px 0; font-size: .875rem; font-weight: 500;
  color: var(--muted); text-decoration: none; white-space: nowrap;
}
.nav-scroll a:hover, .nav-scroll a[aria-current="page"] { color: var(--accent-text); }
@media (min-width: 860px) { .nav-scroll { display: none; } }
@media (max-width: 559px) {
  .brand__tag { display: none; }
  .brand { font-size: 1rem; }
  .topbar .btn { padding: 12px 15px; }
}

.foot-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; } }
.foot-brand h2 { margin-bottom: 12px; font-size: 1.0625rem; letter-spacing: -.01em; text-transform: none; color: #FFFFFF; }
.foot-addr { line-height: 1.7; margin-bottom: 12px; }
.foot-links { margin-bottom: 20px; }
.footer--min { padding-block: 40px 32px; }

/* Sticky Apply / Call bar. Phones only, public pages only: it ships inside the
   full footer partial, so the application pages and /welcome/ never get it. */
.actionbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-2); border-top: 1px solid var(--line-2);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 12px 16px;
  background: var(--ground); color: var(--ink);
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.actionbar__btn--primary { background: var(--accent); color: var(--on-accent); }
.actionbar__btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
@media (max-width: 719px) {
  .actionbar { display: grid; }
  body:has(.actionbar) { padding-bottom: 68px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(130% 95% at 82% 4%, #000 0%, transparent 70%);
  mask-image: radial-gradient(130% 95% at 82% 4%, #000 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--on-navy-line); pointer-events: none;
}
.hero .wrap { position: relative; }
.hero__grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
}
.hero__copy .lead { color: var(--on-navy-muted); max-width: 40ch; text-wrap: pretty; }
.hero__actions { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 420px) { .hero__actions { grid-auto-flow: column; justify-content: start; } }
.hero__alt { margin: 18px 0 0; color: var(--on-navy-muted); }
.hero__alt a { font-weight: 600; }
.hero__panel { padding: 22px; border-radius: var(--radius-lg); }
@media (min-width: 720px) { .hero__panel { padding: 28px; } }
.hero__reassure { margin: 16px 0 0; color: var(--on-navy-muted); }

/* --------------------------------------------------------------- choices */
/* Plain links, so the first application question works with no JavaScript. */
.choices { display: grid; gap: 10px; margin-top: 18px; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 64px; padding: 14px 16px; text-decoration: none; color: var(--on-navy);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--on-navy-line);
  border-radius: var(--radius); transition: background-color .12s, border-color .12s;
  -webkit-tap-highlight-color: transparent;
}
.choice:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .42); color: var(--on-navy); }
.choice__body { display: grid; gap: 2px; min-width: 0; }
.choice__title { font-weight: 600; line-height: 1.3; }
.choice__hint { font-size: var(--fs-small); line-height: 1.4; color: var(--on-navy-muted); }
.choice svg { flex: none; opacity: .75; }
.choice:hover svg { opacity: 1; }

/* ----------------------------------------------------------------- tiles */
/* Hairline grid: the gap IS the rule, so the block reads as one ruled panel. */
.tiles {
  display: grid; gap: 1px; margin: 0; padding: 0; list-style: none;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 620px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Three across instead of four, for the six trait tiles. Declared after the
   four-column rule so it wins at the same specificity. */
@media (min-width: 1000px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--ground); padding: 28px 24px; display: grid; gap: 12px; align-content: start; }
.tile__icon { color: var(--accent); }
.tile__title { margin: 0; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.tile p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* ----------------------------------------------------------------- roles */
.kicker { font-size: var(--fs-label); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.rolecard { display: flex; flex-direction: column; }
.rolecard__head { margin-bottom: 14px; }
.rolecard__tagline { margin: 14px 0 0; font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.rolecard__actions { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
@media (min-width: 420px) { .rolecard__actions { grid-template-columns: auto auto; justify-content: start; align-items: center; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none; }
.chips li { margin: 0; }

/* Highlights: three short lines, each opened by a thin accent rule. */
.hl { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.hl li { position: relative; padding-left: 22px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.hl li::before { content: ""; position: absolute; left: 0; top: .68em; width: 12px; height: 1px; background: var(--accent); }
.section--navy .hl li { color: var(--on-navy-muted); }
.section--navy .hl li::before { background: #FFFFFF; opacity: .7; }

/* ------------------------------------------------------------------ path */
/* The leadership ladder. Titles only: no numbers, no timelines, ever. */
.ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ladder__rung {
  display: flex; align-items: center; padding: 16px 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--on-navy-line);
  border-left: 2px solid rgba(255, 255, 255, .55);
}
.ladder__title { font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
@media (min-width: 900px) {
  .ladder { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; align-items: end; }
  .ladder__rung {
    align-items: flex-start; padding: 16px 14px;
    border-left: 1px solid var(--on-navy-line);
    border-bottom: 2px solid rgba(255, 255, 255, .55);
  }
  .ladder__rung:nth-child(1) { min-height: 96px; }
  .ladder__rung:nth-child(2) { min-height: 118px; }
  .ladder__rung:nth-child(3) { min-height: 140px; }
  .ladder__rung:nth-child(4) { min-height: 162px; }
  .ladder__rung:nth-child(5) { min-height: 184px; }
  .ladder__rung:nth-child(6) { min-height: 206px; background: rgba(255, 255, 255, .12); }
  .ladder__title { font-size: .9375rem; }
}

/* ------------------------------------------------------------------ flow */
.flow { list-style: none; padding: 0; margin: 0; counter-reset: flow; display: grid; gap: 0; }
.flow__step { counter-increment: flow; padding: 22px 0; border-top: 1px solid var(--line); }
.flow__step:last-child { border-bottom: 1px solid var(--line); }
.flow__step::before {
  content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 10px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em;
  color: var(--accent-text);
}
.flow__title { margin: 0 0 6px; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.flow__step p { margin: 0; font-size: .9375rem; color: var(--muted); max-width: 40ch; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .flow__step { padding: 20px 0 0; border-top: 2px solid var(--line-2); }
  .flow__step:last-child { border-bottom: 0; }
}

/* ----------------------------------------------------------------- media */
/* A photo slot that looks designed while it is still empty: navy panel, a
   faint rule grid, one line mark, one caption. The .needs note saying which
   real photograph belongs here shows only in review mode (base.css). */
.photo {
  position: relative; overflow: hidden; min-height: 240px;
  display: grid; align-content: end; gap: 6px; padding: 22px;
  background: var(--navy); border: 1px solid var(--navy-deep); border-radius: var(--radius-lg);
  color: var(--on-navy);
}
.photo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(125% 90% at 76% 10%, #000 0%, transparent 74%);
  mask-image: radial-gradient(125% 90% at 76% 10%, #000 0%, transparent 74%);
}
.photo__mark { position: absolute; top: 20px; left: 20px; color: rgba(255, 255, 255, .34); }
/* One neutral caption, never a description of a photograph that is not there
   yet. What the agency still has to supply is a .needs note beside the slot,
   so the director sees the ask in review mode and a visitor never does. */
.photo__cap {
  position: relative; margin: 0; padding-top: 14px; border-top: 1px solid var(--on-navy-line);
  font-size: 1.0625rem; line-height: 1.4; color: #FFFFFF; max-width: 30ch;
}
.photo--tall { min-height: 360px; }
.ph-block {
  display: grid; place-items: center; min-height: 190px; padding: 24px; text-align: center;
  color: var(--muted); font-size: var(--fs-small); line-height: 1.5;
  background:
    repeating-linear-gradient(135deg, var(--surface) 0 10px, var(--surface-2) 10px 20px);
  border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
}
.ph-block span { max-width: 34ch; }

/* --------------------------------------------------------------- content */
.crumb { font-size: var(--fs-small); color: var(--muted); margin: 0 0 18px; }
.crumb a { color: var(--muted); }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-h2); margin-top: 44px; margin-bottom: 14px; }
.prose h3 { font-size: var(--fs-h3); margin-top: 30px; margin-bottom: 8px; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: 1em; }
.prose li + li { margin-top: 6px; }
.prose dl.facts { max-width: none; }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.split--wide { gap: 28px; }
@media (min-width: 900px) { .split--wide { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; } }
.lede-row { max-width: 68ch; }
.note {
  border-left: 3px solid var(--accent); background: var(--accent-tint);
  padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0;
}
.note--warn { border-left-color: #D9B45B; background: var(--warn-tint); }
.bignum { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.bignum a { text-decoration: none; }
.bignum a:hover { text-decoration: underline; }
.factrow-list { margin: 0; }
.factrow { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.factrow:last-of-type { border-bottom: 1px solid var(--line); }
.factrow dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.factrow dd { margin: 0; }
.qa { display: grid; gap: 0; }
.qa__item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.qa__item:first-child { border-top: 1px solid var(--line); }
.qa__q { font-size: var(--fs-h3); letter-spacing: -.01em; line-height: 1.3; margin-bottom: 8px; }
.qa__a { max-width: 68ch; color: var(--ink); }
.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist li:first-child { border-top: 1px solid var(--line); }
.linklist a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; text-decoration: none; font-weight: 500; }
.linklist a:hover { color: var(--accent-hover); }
.cta-band .btn { margin-top: 8px; }
.cta-band .cluster { justify-content: center; }

/* ------------------------------------------------------------------ band */
/* A slim full-width row for one ask. Deliberately much shorter than a
   .section, so it reads as a passing offer rather than another chapter. */
.band { padding-block: 26px; background: var(--ground); border-block: 1px solid var(--line); }
.band__inner { display: grid; gap: 14px; align-items: center; }
@media (min-width: 720px) { .band__inner { grid-template-columns: 1fr auto; gap: 28px; } }
.band__text { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.band__sub { margin: 4px 0 0; font-size: var(--fs-small); color: var(--muted); }

/* The one thing a page most wants you to do, set apart from the rest of it. */
.mainask {
  display: grid; gap: 20px; padding: 28px;
  background: var(--accent-tint); border: 1px solid var(--accent-border); border-radius: var(--radius-lg);
}
@media (min-width: 820px) { .mainask { grid-template-columns: 1fr auto; align-items: center; gap: 36px; padding: 36px; } }
.mainask .lead { max-width: 52ch; color: var(--ink); }

/* ---------------------------------------------------------------- review */
.reviewbadge {
  position: fixed; left: 12px; bottom: 12px; z-index: 90;
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  font-family: var(--mono); font-size: .75rem; line-height: 1.2; color: var(--warn);
  background: var(--warn-tint); border: 1px dashed #D9B45B; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.reviewbadge a { color: var(--warn); font-weight: 600; }
@media (max-width: 719px) { .reviewbadge { bottom: 78px; } }
@media print { .reviewbadge, .nav-scroll, .actionbar { display: none !important; } }
