/* Homepage only (index.html). Built as the test homepage 2026-11-02 and made the
   real homepage the same day on Joe's word. Loaded only by index.html.
   Adds: situation tiles in the hero, a dark proof band of real case
   headlines, a featured note from Joe, and a tools column in place of the
   empty video placeholders. */

/* ---------- Hero: "What happened to your pay?" tiles ---------- */
.th-hero .hero-copy { padding-bottom: 36px; }
.th-ask {
  font-family: "Libre Baskerville", serif;
  font-size: 1.25rem; color: var(--ink);
  margin: 22px 0 12px;
}
.th-tiles {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.th-tiles a {
  position: relative; display: block; height: 100%;
  padding: 14px 40px 14px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 27, 45, .05);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.th-tiles a:hover, .th-tiles a:focus-visible {
  border-color: var(--sunset); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 86, 26, .14);
}
.th-tiles strong { display: block; font-size: 1rem; line-height: 1.3; }
.th-tiles span { display: block; font-size: .86rem; color: var(--muted); margin-top: 3px; }
.th-tiles i {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-style: normal; color: var(--sunset); font-weight: 700;
}

/* ---------- Proof band (the one dark band on the page) ---------- */
.th-proof { background: var(--ink); color: #e9edf3; padding: 84px 0; }
.th-proof-head { display: grid; grid-template-columns: 1fr; gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.th-proof .eyebrow { color: var(--gold); }
.th-proof h2 { color: var(--white); max-width: 22ch; margin: 0; }
.th-counts { display: flex; gap: 40px; }
.th-counts div { display: flex; flex-direction: column; }
.th-counts strong {
  font-family: "Libre Baskerville", serif; font-size: 3.4rem; line-height: 1;
  color: var(--gold);
}
.th-counts span { font-size: .95rem; color: #b9c3d1; margin-top: 6px; }
.th-cases {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.th-cases a {
  display: block; height: 100%; padding: 20px 22px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; color: var(--white); text-decoration: none;
  transition: background .15s, border-color .15s;
}
.th-cases a:hover, .th-cases a:focus-visible { background: rgba(255, 255, 255, .1); border-color: var(--gold); }
.th-cases strong { display: block; font-size: 1.02rem; line-height: 1.4; font-weight: 600; }
.th-tag {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.th-pending { background: rgba(196, 86, 26, .22); color: #f2a77c; }
.th-resolved { background: rgba(201, 150, 47, .2); color: #e6c47a; }
.th-proof-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.th-btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .4); }
.th-btn-ghost:hover { border-color: var(--white); }
.th-fine { margin: 18px 0 0; font-size: .85rem; color: #93a0b2; }

/* ---------- Joe's note, featured ---------- */
.th-note-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.th-note-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; position: sticky; top: 110px; }
.th-note-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.th-pull {
  font-family: "Libre Baskerville", serif; font-size: 1.85rem; line-height: 1.3;
  color: var(--ink); margin: 0 0 22px;
}
.th-note .th-note-body { max-width: none; margin: 0; padding: 0; box-shadow: none; background: none; border: 0; }
.th-note .more { display: inline-block; margin-top: 18px; color: var(--sunset); font-weight: 700; }

/* ---------- Tools column beside the question box ---------- */
.th-tools { display: flex; flex-direction: column; gap: 14px; }
.th-tool {
  position: relative; display: block; padding: 22px 48px 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.th-tool:hover, .th-tool:focus-visible { border-color: var(--sunset); transform: translateY(-2px); }
.th-tool strong { display: block; font-family: "Libre Baskerville", serif; font-size: 1.15rem; }
.th-tool span { display: block; color: var(--muted); margin-top: 4px; }
.th-tool i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--sunset); font-weight: 700; font-size: 1.2rem; }

/* ---------- Narrow screens ---------- */
@media (max-width: 980px) {
  .th-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-proof-head { grid-template-columns: 1fr; }
  .th-note-grid { grid-template-columns: 1fr; gap: 28px; }
  .th-note-photo { position: static; max-width: 320px; }
}
@media (max-width: 640px) {
  .th-tiles, .th-cases { grid-template-columns: 1fr; }
  .th-proof { padding: 60px 0; }
  .th-counts strong { font-size: 2.6rem; }
  .th-pull { font-size: 1.8rem; }
}

/* ---------- Homepage colors (site-wide navy, khaki, and header rules live in styles.css) ---------- */
/* Khaki hero around Joe's photo: one even color, no fade, no gold glow. */
.th-hero { background: var(--khaki); border-bottom: 1px solid var(--khaki-dk); }
.th-hero::before { display: none; }
.th-tiles a:hover, .th-tiles a:focus-visible { box-shadow: 0 8px 20px rgba(31, 58, 95, .16); }

/* Proof band in navy with two white buttons. */
.th-proof { background: var(--sunset); }
.th-proof .th-btn-ghost { background: #fff; color: var(--ink); border-color: #fff; }
.th-proof .th-btn-ghost:hover { background: var(--cream-2); color: var(--ink); }
.th-fine { color: #b9c6d8; }

/* Case cards: white with navy print so they read as clickable (Joe chose these over a white outline). */
.th-cases a { background: #fff; border: 1px solid #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); transition: transform .15s, box-shadow .15s, border-color .15s; }
.th-cases a:hover, .th-cases a:focus-visible { background: #fff; border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .26); }
.th-cases strong { color: var(--ink); }
.th-pending { background: rgba(31, 58, 95, .1); color: var(--sunset); }
.th-resolved { background: rgba(201, 150, 47, .2); color: #7a5712; }

/* Reviews and Ask sections in the hero khaki (Joe and his stylist chose it over sage),
   with a navy line between them. .section-cream appears once on this page. */
.section-cream { background: var(--khaki); }
.section-cream .eyebrow { color: var(--ink); }
.ask-watch { background: var(--khaki); border-top: 4px solid var(--sunset); }
.ask-watch .eyebrow { color: var(--ink); }

/* Firm seal centered in the khaki above Joe's photo. The photo column stretches to the
   full hero height so the seal can center in the gap. */
.th-hero .hero-photo { align-self: stretch; display: flex; flex-direction: column; margin-top: -126px; }  /* 78px section + 48px grid padding: column reaches the top of the khaki */
.th-hero .hero-photo img { flex: none; }
.th-hero .hero-photo::before {
  content: ""; display: block; width: 280px; height: 280px; margin: auto;  /* auto top and bottom centers it in the space above the photo */
  flex: none;
  background: url("../images/logo-full.png") center / 109% no-repeat;
  border-radius: 50%;  /* the file has a white square corner; clip to the seal */
  filter: drop-shadow(0 10px 24px rgba(15, 27, 45, .22));
}
@media (max-width: 980px) { .th-hero .hero-photo::before { display: none; } .th-hero .hero-photo { margin-top: 0; } }

/* Intro video spot (2026-11-11): play button over Joe's note photo, and the
   player window it opens. Hidden until index.html sets data-youtube. */
.th-note-photo { position: relative; }
.th-note-photo.has-video img { transition: transform .4s ease; }
.th-play { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; padding: 0 0 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px;
  background: linear-gradient(to top, rgba(13,27,48,.78) 0%, rgba(13,27,48,.15) 45%, rgba(13,27,48,0) 70%); color: #fff; font: inherit; }
.th-play[hidden] { display: none; }
.th-play-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 8px 24px rgba(0,0,0,.35);
  position: relative; transition: transform .2s ease; }
.th-play-icon::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #0d1b30; }
.th-play-label { font-weight: 700; letter-spacing: .3px; font-size: 1rem; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.th-play:hover .th-play-icon, .th-play:focus-visible .th-play-icon { transform: scale(1.08); }
.th-play:focus-visible { outline: 3px solid #c9962f; outline-offset: -3px; }
.th-note-photo.has-video:hover img { transform: scale(1.03); }
.vid-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(8,14,26,.86); display: flex; align-items: center; justify-content: center; padding: 16px; }
.vid-frame { position: relative; width: min(960px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.vid-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; display: block; }
.vid-frame video { width: 100%; height: 100%; border-radius: 10px; display: block; background: #000; }
.vid-close { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #0d1b30; font-size: 1.6rem; line-height: 1; cursor: pointer; }
