/* ==========================================================================
   Who it's for: the index (who-its-for.html) and the industry pages (for/*).
   Loaded after main.css, page-only additions.
   ========================================================================== */

/* Headlines wrap in even lines, no one-word orphans */
main .h1, main .h2, main .h3 { text-wrap: balance; }
.who-clip { overflow: hidden; }
@supports (overflow: clip) { .who-clip { overflow: visible; overflow-x: clip; } }

/* ---------- Hero ---------------------------------------------------------- */
.who-hero { min-height: 82vh; }
.who-hero .h1 { max-width: 1000px; font-size: clamp(42px, 5.4vw, 88px); }
.who-hero .eyebrow, .who-hero .lede, .who-facts { text-shadow: 0 1px 2px rgba(0, 10, 28, .9), 0 0 18px rgba(0, 10, 28, .8); }
.who-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 44px; color: var(--slate); font-size: 15px; font-weight: 500; }
.who-facts li { display: flex; gap: 8px; align-items: baseline; }
.who-facts b { color: var(--white); font-weight: 800; }
.who-facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-right: 20px; align-self: center; opacity: .7; }

/* A square part image as the hero: it sits on the right and fades in from the left */
@media (min-width: 861px) {
  .who-hero--object .backdrop img {
    position: absolute; top: 0; right: 0; width: auto; height: 100%; max-width: none; object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .who-hero--object .backdrop { background: var(--navy-deep); }
  .who-hero--object .backdrop::after { background: linear-gradient(90deg, rgba(0, 15, 38, .9) 0%, rgba(0, 15, 38, .55) 45%, rgba(0, 15, 38, 0) 70%); }
}

/* ---------- Where your week goes ------------------------------------------ */
.who-week { margin-top: clamp(40px, 5vw, 64px); counter-reset: job; }
.who-job { padding: 28px 28px 30px; }
.who-job::before {
  counter-increment: job; content: counter(job, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--amber);
}
.who-job .h4 { margin-top: 12px; }
.who-job p { margin-top: 8px; color: var(--body); font-size: 16px; }
/* Five jobs: the first one runs two columns wide so the grid stays square */
.who-week--5 > :first-child { grid-column: span 2; }

/* ---------- Crew ---------------------------------------------------------- */
.who-crew-head { display: grid; grid-template-columns: 1fr 260px; gap: clamp(32px, 5vw, 80px); align-items: end; }
.who-crew-head__img { width: 260px; height: 260px; border-radius: var(--radius-lg); object-fit: cover; border: 1px solid rgba(91, 212, 255, .2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 60px rgba(61, 155, 217, .18); }
.who-example { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; color: var(--slate); font-size: 15px; font-weight: 500; }
.who-crew { margin-top: clamp(36px, 4.4vw, 56px); }
.who-role { padding: 26px 26px 28px; }
.who-role .label { color: var(--cyan); }
.who-role--lead .label { color: var(--amber); }
.who-role .h4 { margin-top: 8px; }
.who-role p { margin-top: 8px; color: var(--body); font-size: 15.5px; }
.who-aside { margin-top: 24px; padding: clamp(22px, 2.6vw, 32px); display: flex; gap: 14px 24px; align-items: flex-start; }
.who-aside p { color: var(--body); font-size: 16px; }
.who-aside a { font-weight: 700; white-space: nowrap; }
.who-aside--center { margin-top: clamp(36px, 4vw, 56px); }

/* ---------- What stays with you ------------------------------------------- */
.who-keep { align-items: start; }
.who-keep .h2 { margin-top: 18px; }
.who-keep .lede { margin-top: 22px; }
.who-keep .card .label { color: var(--amber); }
.who-keep .check-list { margin-top: 22px; }

/* ---------- The 14 days, short ------------------------------------------- */
.who-days { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(36px, 4.4vw, 56px); }
.who-days .tstep { display: flex; flex-direction: column; }
.who-days .tstep__you { margin-top: auto; padding-top: 14px; color: var(--off-white); display: flex; gap: 8px; align-items: center; }
.who-days .tstep__you::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cyan); flex: 0 0 14px; }
.who-days .glass--warm .tstep__you::before { border-color: var(--amber); }
.who-days__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.who-days__foot p { color: var(--white); font-weight: 700; font-size: 18px; }

/* ---------- FAQ and close ------------------------------------------------- */
.who-faq { margin-top: clamp(36px, 4vw, 56px); }
.who-more { margin-top: 24px; text-align: center; }
.who-more a { font-weight: 700; }
.who-quiet { margin-top: 22px; color: var(--body); font-size: 16px; }
.who-quiet .text-link { margin-left: 6px; }
.who-back { margin-top: 14px; font-size: 15px; }
.who-back a { color: var(--slate); font-weight: 600; }
.who-back a:hover { color: var(--white); }
.who-close .h1 { max-width: 1100px; }

/* ---------- Index: the grid of businesses --------------------------------- */
.who-hero--index .backdrop img { object-position: 50% 50%; }
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.who-card {
  display: grid; grid-template-columns: 136px 1fr; gap: 24px; align-items: center;
  padding: 20px 24px 20px 20px; color: inherit;
  transition: border-color var(--fast), transform var(--fast) var(--ease), box-shadow var(--fast);
}
.who-card:hover { color: inherit; border-color: rgba(91, 212, 255, .6); transform: translateY(-2px); }
.who-card--home:hover { border-color: rgba(255, 179, 71, .7); }
.who-card img { width: 136px; height: 136px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(91, 212, 255, .16); }
.who-card .label { color: var(--cyan); }
.who-card--home .label { color: var(--amber); }
.who-card .h3 { margin-top: 6px; font-size: clamp(20px, 1.7vw, 25px); }
.who-card p { margin-top: 6px; color: var(--body); font-size: 15.5px; line-height: 1.5; }
.who-card .text-link { margin-top: 10px; font-size: 15px; }
.who-card:hover .text-link { color: var(--white); }
.who-same { margin-top: clamp(40px, 5vw, 64px); }
.who-same .card { padding: 30px 26px; }
.who-same .h4 { margin-top: 10px; }
.who-same p { font-size: 15.5px; }

/* ---------- Tablet and phone ---------------------------------------------- */
@media (max-width: 1100px) {
  .who-days { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .who-hero { padding-bottom: 56px; }
  .who-hero .backdrop::after { background: linear-gradient(180deg, rgba(0, 15, 38, .88) 0%, rgba(0, 15, 38, .8) 55%, rgba(0, 15, 38, .55) 100%); }
  .who-hero .h1 { font-size: clamp(36px, 10.4vw, 52px); }
  .who-hero .lede { font-size: 17px; }
  .who-facts { flex-direction: column; gap: 8px; margin-top: 32px; font-size: 14px; }
  .who-facts li + li::before { display: none; }

  .who-week--5 > :first-child { grid-column: auto; }
  .who-job { padding: 22px 22px 24px; }
  .who-crew-head { grid-template-columns: 1fr; }
  .who-crew-head__img { display: none; }
  .who-role { padding: 22px; }
  .who-aside { flex-direction: column; }
  .who-days__foot { flex-direction: column; align-items: flex-start; }
  .who-quiet .text-link { margin-left: 0; display: inline-flex; }

  .who-card { grid-template-columns: 84px 1fr; gap: 16px; padding: 16px; align-items: start; }
  .who-card img { width: 84px; height: 84px; border-radius: 12px; }
  .who-card .h3 { font-size: 19px; }
  .who-card p { font-size: 15px; }
}

@media (max-width: 560px) {
  .who-days { grid-template-columns: 1fr; }
}

/* Close: the extra lines under the button sit low, over the lit part of the photo */
.who-quiet, .who-back, .who-close .lede { text-shadow: 0 1px 2px rgba(0, 10, 28, .95), 0 0 16px rgba(0, 10, 28, .9); }
@media (max-width: 860px) {
  .who-close .backdrop::after { background: linear-gradient(180deg, rgba(0, 15, 38, .92) 0%, rgba(0, 15, 38, .82) 58%, rgba(0, 15, 38, .55) 82%, rgba(0, 15, 38, .75) 100%); }
  .who-card .label { font-size: 11px; letter-spacing: .14em; }
}

/* Hero, desktop: longer owner quotes need a wider line and a darker left side */
@media (min-width: 861px) {
  .who-hero .h1 { max-width: 1120px; font-size: clamp(42px, 4.5vw, 80px); }
  .who-hero:not(.who-hero--object) .backdrop::after { background: linear-gradient(90deg, rgba(0, 15, 38, .95) 0%, rgba(0, 15, 38, .82) 36%, rgba(0, 15, 38, .35) 62%, rgba(0, 15, 38, 0) 82%); }
}
