/* Thrive at Work — subpage shell (shared across How it works / Use cases / Proof / Contact) */

/* Shared answer-first FAQ block (GEO) — used across subpages */
.page-faq { padding: 88px 40px 96px; max-width: 880px; margin: 0 auto; }
.page-faq .eyebrow { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.page-faq h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 26px; }
.page-faq h2 em { font-style: italic; color: var(--clay); }
.page-faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.page-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.page-faq summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--muted); flex-shrink: 0; }
.page-faq details[open] summary::after { content: "–"; }
.page-faq .a { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 14px 0 0; max-width: 70ch; }
.page-faq .a a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .page-faq { padding: 64px 20px 72px; } }


/* Prevent horizontal scrollbars from full-bleed photo sections that break out of .wrap */
html, body { overflow-x: clip; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }

/* v10 local: inked imagotype nav logo */
.nav-logo { display: flex; align-items: center; gap: 0; padding: 2px 0; }
.nav-logo img { height: 34px; width: auto; display: block; }

/* Page hero (smaller than homepage hero) */
.page-hero { padding: 72px 40px 64px; position: relative; }
.page-hero .eyebrow { display: inline-flex; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  /* Fluid size: stays within a safe range so wrapping is predictable */
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 1; letter-spacing: -0.03em; margin: 28px 0 0; color: var(--ink);
  max-width: 820px;
}
.page-hero h1 em { font-style: italic; color: var(--clay); }
.page-hero .lede {
  margin: 64px 0 0; max-width: 680px; font-size: 20px; line-height: 1.45; color: var(--ink); text-wrap: pretty;
}
/* Reserve right-side space for the hero illustration on wider screens */
@media (min-width: 821px) {
  .page-hero h1 { max-width: min(820px, calc(100% - 280px)); padding-right: 12px; }
  .page-hero .eyebrow { max-width: calc(100% - 280px); }
  .page-hero .lede { max-width: min(680px, calc(100% - 280px)); }
}
.page-hero .meta {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  max-width: 1100px;
}
.page-hero .meta span { padding: 4px 24px; border-right: 1px solid var(--line); }
.page-hero .meta span:first-child { padding-left: 0; }
.page-hero .meta span:last-child { border-right: none; }
.page-hero .meta span b { font-family: var(--serif); font-size: 17px; text-transform: none; letter-spacing: -0.01em; color: var(--ink); font-weight: 400; display: block; margin-top: 6px; }

@media (max-width: 1024px) {
  .page-hero .meta { grid-template-columns: repeat(2, 1fr); }
  .page-hero .meta span { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
  .page-hero .meta span:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .page-hero { padding: 56px 20px 48px; }
  .page-hero .lede { font-size: 17px; }
  .page-hero .meta { grid-template-columns: 1fr; }
  .page-hero .meta span { border-right: none; padding: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .section { padding: 64px 20px; }
  .section h2 { font-size: 40px; }
  .mini-cta { padding: 64px 20px; }
  .mini-cta h2 { font-size: 40px; }
  .mini-cta p { font-size: 15px; }
  .mini-cta .actions { gap: 10px; }
}

/* Generic section title scale */
.section { padding: 96px 40px; }
.section + .section { padding-top: 0; }
.section h2 { font-family: var(--serif); font-size: 64px; font-weight: 400; line-height: 1; letter-spacing: -0.025em; margin: 20px 0 16px; max-width: 960px; }
.section h2 em { font-style: italic; color: var(--clay); }
.section .sub { font-size: 16px; color: var(--muted); max-width: 640px; line-height: 1.6; margin-bottom: 56px; }
.section.alt { background: var(--chalk); }

/* Mini-CTA band reused across pages */
.mini-cta { padding: 96px 40px; text-align: center; border-top: 1px solid var(--line); }
.mini-cta h2 { font-family: var(--serif); font-size: 72px; font-weight: 400; line-height: 1; letter-spacing: -0.025em; margin: 0 0 20px; }
.mini-cta h2 em { font-style: italic; color: var(--clay); }
.mini-cta p { max-width: 560px; margin: 0 auto 36px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.mini-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

footer { padding: 56px 40px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer .foot-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px dashed var(--line); }
footer .foot-top .mono { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
footer .foot-links { display: flex; gap: 28px; flex-wrap: wrap; padding: 20px 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
footer .foot-links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color 0.15s, border-color 0.15s; }
footer .foot-links a:hover { color: var(--ink); border-color: var(--line-strong); }
footer .foot-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--muted); letter-spacing: 0.01em; }
footer .foot-legal em { font-style: italic; color: var(--ink); }
footer .mono { font-size: 10px; }
@media (max-width: 640px) { footer { padding: 40px 20px 24px; } footer .foot-top, footer .foot-legal { flex-direction: column; gap: 10px; } }

/* Late mobile overrides — must come AFTER base rules to win on source order */
@media (max-width: 640px) {
  .page-hero { padding: 56px 20px 48px !important; }
  .page-hero .lede { font-size: 17px !important; }
  .page-hero .meta { grid-template-columns: 1fr !important; }
  .page-hero .meta span { border-right: none !important; padding: 0 !important; border-bottom: 1px solid var(--line) !important; padding-bottom: 14px !important; }
  .section { padding: 64px 20px !important; }
  .section h2 { font-size: 40px !important; }
  .mini-cta { padding: 64px 20px !important; }
  .mini-cta h2 { font-size: 36px !important; overflow-wrap: break-word; }
  .mini-cta p { font-size: 15px !important; }
  .mini-cta .actions { gap: 10px !important; }
}
@media (max-width: 380px) {
  .mini-cta h2 { font-size: 30px !important; }
}

/* ─────────────────────────────────────────────
   Editorial illustrations — static line drawings
   ───────────────────────────────────────────── */

/* Hero illustration — larger, vertically centered within the hero section */
.page-hero .hero-ilo {
  position: absolute; top: 50%; right: 40px;
  transform: translateY(-50%);
  width: 460px; height: 360px; pointer-events: none;
  opacity: 1;
}
.page-hero .hero-ilo svg { width: 100%; height: 100%; display: block; overflow: visible; }

@media (min-width: 821px) {
  .page-hero h1 { max-width: min(820px, calc(100% - 420px)) !important; }
  .page-hero .eyebrow { max-width: calc(100% - 420px) !important; }
  .page-hero .lede { max-width: min(680px, calc(100% - 420px)) !important; }
}
@media (max-width: 1280px) {
  .page-hero .hero-ilo { right: 32px; width: 380px; height: 300px; }
  .page-hero h1 { max-width: min(820px, calc(100% - 420px)) !important; }
  .page-hero .eyebrow { max-width: calc(100% - 420px) !important; }
  .page-hero .lede { max-width: min(680px, calc(100% - 360px)) !important; }
}
@media (max-width: 1100px) {
  .page-hero .hero-ilo { right: 24px; width: 300px; height: 240px; opacity: 0.95; }
  .page-hero h1 { max-width: min(820px, calc(100% - 340px)) !important; }
  .page-hero .eyebrow { max-width: calc(100% - 340px) !important; }
  .page-hero .lede { max-width: min(680px, calc(100% - 300px)) !important; }
}
@media (max-width: 820px) {
  .page-hero .hero-ilo { display: none; }
}

/* Section illustration — appears in the top-right of a normal section heading block */
.section-ilo {
  position: absolute; top: 50%; right: 0;
  transform: translateY(-50%);
  width: 300px; height: 220px; pointer-events: none;
  opacity: 0.92;
}
.section-ilo svg { width: 100%; height: 100%; display: block; }
@media (max-width: 1100px) { .section-ilo { width: 220px; height: 160px; } }
@media (max-width: 820px) { .section-ilo { display: none; } }

/* Role-card icon — inline at the top of each .role card */
.role-ilo {
  width: 72px; height: 72px; margin-bottom: 20px; opacity: 0.9;
}
.role-ilo svg { width: 100%; height: 100%; display: block; }

