/* Top LP and research detail only; shared case-study pages keep their layout. */
.office-flow { line-height: 1.8; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.office-flow .sticky { padding-bottom: env(safe-area-inset-bottom); background: #000; }
.office-flow :is(a, button, summary):focus-visible { outline: 3px solid #c70202; outline-offset: 4px; }
.office-flow [id] { scroll-margin-top: 90px; }
.flow-wrap { width: min(1100px, 90%); margin-inline: auto; }
.flow-section { padding: 64px 0; margin: 0; }
.flow-section.flow-wrap { margin-inline: auto; }
.flow-section h1, .flow-section h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.55; text-align: center; letter-spacing: .04em; }
.flow-section h3 { font-size: 1.15rem; line-height: 1.6; }
.flow-eyebrow { color: #616161; font-size: .9rem; letter-spacing: .1em; text-align: center; margin-bottom: 10px; }
.flow-lead { text-align: center; margin: 20px auto 28px; max-width: 760px; }
.flow-overview, .flow-quality { background: #f7f7f7; }
.flow-facts, .flow-nav, .flow-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.flow-facts li { background: #fff; border-radius: 30px; padding: 6px 18px; font-weight: 700; }
.flow-section .flow-small-heading { font-size: 1.4rem; margin: 40px 0 22px; }
.flow-conditions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.flow-conditions article { background: #fff; border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.flow-conditions .flow-eyebrow { text-align: left; color: #c70202; font-weight: 700; margin: 0; }
.flow-conditions a { margin-top: auto; }
.flow-conditions a, .flow-research a, .research-intro>a, .flow-text-link { color: #111; text-decoration: underline; text-underline-offset: 4px; padding-block: 10px; display: inline-block; }
.flow-nav { margin-top: 28px; }
.flow-nav a { padding: 10px 22px; border: 1px solid #111; border-radius: 28px; background: #fff; color: #111; }
.flow-button { display: block; width: fit-content; max-width: 100%; padding: 15px 28px; border: 1px solid #111; border-radius: 40px; background: #111; color: #fff; margin: 24px auto 0; text-align: center; font-weight: 700; }
.flow-button:hover { color: #fff; background: #333; }
.flow-button-secondary { color: #111; background: #fff; }
.flow-button-secondary:hover { color: #111; background: #eee; }
.flow-cta { background: #f7f7f7; text-align: center; }
.flow-cta p:not(.flow-eyebrow) { margin-top: 18px; }
.flow-actions .flow-button { margin-inline: 0; }
.flow-note { font-size: .9rem; color: #555; }
/* Native scrolling keeps every card accessible without JavaScript. */
.flow-carousel { width: min(1200px, 100%); margin: 28px auto 0; }
.flow-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 8px; overscroll-behavior-x: contain; padding: 10px 8px 18px; scrollbar-width: thin; scrollbar-color: #999 #eee; }
.flow-track > * { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; scroll-snap-align: start; }
.flow-case-card { display: flex; flex-direction: column; border-radius: 10px; color: #111; background: #fff; box-shadow: 0 0 11px rgba(134,134,134,.25); overflow: hidden; }
.flow-case-card:hover { color: #111; box-shadow: 0 5px 14px rgba(134,134,134,.4); }
.flow-case-card>img { aspect-ratio: 16/9; object-fit: cover; }
.flow-card-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 20px; }
.flow-tags { display: flex; gap: 6px; flex-wrap: wrap; font-size: .8rem; }
.flow-tag, .flow-industry { border-radius: 20px; padding: 3px 12px; color: #fff; background: #c70202; }
.flow-industry { background: #616161; }
.flow-card-body .flow-company { color: #616161; font-size: .9rem; margin-top: auto; padding-top: 8px; }
.flow-card-cta { background: #000; color: #fff; text-align: center; padding: 12px; }
.flow-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; max-width: 1100px; margin: 28px auto 0; }
.flow-menu-item { min-width: 0; margin: 0; }
.flow-menu-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; }
.flow-menu-item figcaption { margin-top: 12px; color: #111; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.flow-menu-note { margin-top: 24px; color: #616161; font-size: .85rem; text-align: center; }
.flow-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.flow-controls button { min-width: 44px; height: 44px; border: 1px solid #bbb; border-radius: 24px; background: #fff; color: #111; font: inherit; cursor: pointer; }
.flow-controls button[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
.flow-controls button:disabled { opacity: .35; cursor: default; }
.flow-status { text-align: center; color: #616161; margin-top: 6px; font-size: .85rem; }
.office-flow .menu { padding-inline: 5%; }
.office-flow .menu .h2_txt { margin-bottom: 20px; }
.office-flow .step { padding-block: 32px 50px; margin-bottom: 0; }
.office-flow .faq { margin: 0 auto; padding-block: 48px; }
.flow-quality details { border-bottom: 1px solid #ccc; }
.flow-quality summary { position: relative; padding: 20px 40px 20px 6px; list-style: none; font-weight: 700; cursor: pointer; }
.flow-quality summary::-webkit-details-marker { display: none; }
.flow-quality summary::marker { content: ""; }
.flow-quality summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.flow-quality details[open] > summary::after { transform: translateY(-20%) rotate(-135deg); }
.flow-quality .youth, .flow-quality .media { padding: 24px 0; margin: 0; }
.flow-quality .youth .list { width: 100%; }
.flow-quality .media img { max-width: 900px; margin-inline: auto; }
.flow-research { border-top: 3px solid #c70202; margin-top: 32px; padding-top: 24px; }
.flow-research p { margin-top: 10px; }
.research-intro { padding-top: 110px; }
.research-intro>a { margin-bottom: 24px; }
.research-page .flow-text-link { display: block; width: fit-content; margin: 16px auto 0; }
@media (max-width: 767px) {
  .flow-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .flow-menu-item figcaption { margin-top: 8px; font-size: .9rem; }
  .flow-section { padding: 40px 0; }
  .flow-conditions { grid-template-columns: 1fr; gap: 14px; }
  .flow-conditions article { padding: 20px; }
  .flow-track { gap: 16px; padding-inline: 6px; scroll-padding-inline: 6px; }
  .flow-track>* { flex-basis: 88%; }
  .flow-card-body { padding: 18px; }
  .flow-controls { gap: 4px; }
  .flow-section .flow-small-heading { margin-top: 28px; }
  .flow-actions { gap: 0; }
  .flow-actions .flow-button { width: 100%; }
  .flow-nav a { padding: 10px 14px; }
  .research-intro { padding-top: 36px; }
  .office-flow .mv .cta { margin-bottom: 24px; }
}
@media (min-width: 768px) { .office-flow { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .office-flow .text_scroll { animation: none; } }
