/* Shared Work focus navigation, /hello gateway and subordinate headings.
   All action arrows use the site's existing local SVG mask system. */
[hidden] { display: none !important; }

/* Quiet, always-visible way to change the homepage composition. */
.focus-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.focus-switch-label {
  margin-right: 8px;
  color: var(--mineral);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.focus-switch a {
  padding: 8px 12px;
  border: 1px solid transparent;
  font-size: .79rem;
  font-weight: 500;
  text-decoration: none;
}
.focus-switch a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-light);
}
.focus-switch a:hover, .focus-switch a:focus-visible { border-color: var(--ink); }

/* The shared /assets/css/typography.css owns subordinate H3 sizing and
   italics as well as the case-study card scale. No per-homepage overrides. */
#stories .story-copy h3 { line-height: 1.1; }

/* A distinct, shareable two-way gateway at /hello, not in the main homepage. */
.audience-gateway {
  padding-block: clamp(50px, 8vw, 115px);
  border-bottom: 1px solid var(--line);
}
.hello-gateway {
  min-height: calc(100vh - var(--header-height) - 132px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.audience-gateway-intro { max-width: 840px; margin-bottom: 44px; }
.audience-gateway-intro .eyebrow { margin-bottom: 20px; }
.audience-gateway-intro h1 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: var(--type-page-size);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}
.audience-gateway-intro > p:last-child { color: var(--ink-soft); max-width: 610px; margin: 0; font-size: 1.08rem; }
.audience-choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.audience-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(25px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--paper-light);
  text-decoration: none;
  min-height: 340px;
  transition: border-color .2s, transform .2s, background .2s;
}
.audience-choice:hover, .audience-choice:focus-visible {
  border-color: var(--ink);
  background: var(--paper-deep);
  transform: translateY(-3px);
}
.audience-choice-type {
  color: var(--mineral);
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.audience-choice strong {
  display: block;
  font-family: var(--serif);
  font-size: var(--type-card-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.04em;
  max-width: 440px;
}
.audience-choice > span:nth-of-type(2) { color: var(--ink-soft); max-width: 390px; }
.audience-choice-action {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: .84rem;
  font-weight: 600;
}
.hello-back { margin: 27px 0 0; }
.hello-back a { text-decoration: none; font-size: .82rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.hello-back a:hover, .hello-back a:focus-visible { color: var(--ink); border-color: var(--ink); }
html[data-audience="consultancy"] .hero,
html[data-audience="permanent"] .hero { min-height: min(740px, 82vh); }
@media (max-width: 720px) {
  .focus-switch { gap: 4px; padding-block: 10px; }
  .focus-switch-label { flex-basis: 100%; }
  .focus-switch a { padding: 7px 9px; font-size: .73rem; }
  .audience-gateway { padding-block: 45px 60px; }
  .audience-gateway-intro { margin-bottom: 30px; }
  .audience-choices { grid-template-columns: 1fr; }
  .audience-choice { min-height: 232px; padding: 28px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .audience-choice { transition: none; }
  .audience-choice:hover { transform: none; }
}