/* Shared navigation lives in studio-system.css. */
.home-flow-world {
  --flow-hero-height: clamp(760px, 100svh, 1060px);
  --flow-ink: #101118;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f8f5f0;
  background: var(--flow-ink);
}
.home-flow-art {
  position: absolute;
  inset: 0 0 auto;
  height: var(--flow-field-height, calc(var(--flow-hero-height) + 760px));
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: linear-gradient(#000 0%, #000 94%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 94%, transparent 100%);
}
.home-flow-fallback, .home-flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-flow-fallback { background: url('assets/home-fusion-light.webp') center / 100% 100% no-repeat; }
.home-flow-canvas { display: block; opacity: 0; transition: opacity .6s ease; }
.home-flow-canvas.is-ready { opacity: 1; }
.home-flow-hero {
  position: relative;
  min-height: var(--flow-hero-height);
  padding: clamp(142px, 17svh, 190px) clamp(24px, 5vw, 80px) 132px;
  display: flex;
  align-items: flex-start;
}
.home-flow-inner { width: min(1180px, 100%); margin: 0 auto; }
.home-flow-label { margin: 0 0 22px; color: #c9c8ca; font: 400 11px/1.6 'Inter', sans-serif; letter-spacing: .25em; text-transform: uppercase; text-align: center; }
.home-flow-title {
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto;
  color: #f5f1e9;
  font-size: 0;
  line-height: 0;
}
.home-wordmark { display: block; width: 100%; height: auto; aspect-ratio: 750 / 280; }
.home-flow-detail { width: min(900px, 100%); margin: 24px auto 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.home-flow-detail p { color: #bec2ca; font: 400 clamp(15px, 1.4vw, 18px)/1.65 'Inter', sans-serif; }
.home-flow-detail p strong { display: inline-block; margin-bottom: 6px; color: #f5f1e9; font-weight: 500; }
.home-flow-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin: 0; justify-self: end; }
.home-flow-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px; border: 1px solid #f5f1e9; border-radius: 100px;
  background: #f5f1e9; color: #101118; text-decoration: none; font: 600 14px/1.4 'Inter', sans-serif;
  transition: background .2s ease, border-color .2s ease;
}
.home-flow-primary:hover { background: #ff5c13; border-color: #ff5c13; }
.home-flow-secondary { color: #f5f1e9; text-decoration: none; border-bottom: 1px solid #757983; padding: 7px 0; font: 400 12px/1.5 'Inter', sans-serif; }
.home-flow-secondary:hover { border-color: #ff5c13; }
.home-flow-foot {
  position: absolute; bottom: 34px; left: max(5vw, calc((100% - 1180px) / 2)); right: max(5vw, calc((100% - 1180px) / 2));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  color: #aaaab2; font: 400 11px/1.65 'Inter', sans-serif;
}
.home-flow-foot b { font-weight: 400; color: #e0dcd8; }
.home-flow-world .discipline-switcher { position: relative; background: transparent; padding-top: 150px; scroll-margin-top: 120px; }
.home-flow-world .discipline-intro { position: relative; color: #f8f5f0; }
.home-flow-world .discipline-intro h2 { font-weight: 700; font-size: clamp(42px, 5.4vw, 76px); }
.home-flow-world .discipline-intro p { color: #c4c2c2; }
.home-flow-toggle { display: block; margin-top: 12px; padding: 4px 0; background: none; color: #c9bbad; font: inherit; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; }
.home-flow-toggle[hidden] { display: none; }
.home-flow-world a:focus-visible, .home-flow-toggle:focus-visible { outline: 2px solid #ff5c13; outline-offset: 6px; }
@media (min-width: 1700px) {
  .home-flow-hero { padding-top: 190px; }
}
@media (max-width: 760px) {
  .home-flow-world { --flow-hero-height: max(780px, 100svh); }
  .home-flow-hero { padding: 146px 24px 150px; }
  .home-flow-label { font-size: 9px; letter-spacing: .16em; margin-bottom: 26px; }
  .home-flow-detail { margin-top: 28px; max-width: 400px; grid-template-columns: 1fr; gap: 24px; }
  .home-flow-detail p { font-size: 15px; }
  .home-flow-actions { gap: 14px; margin: 0; justify-self: start; }
  .home-flow-primary { padding: 13px 24px; min-height: 50px; }
  .home-flow-foot { left: 24px; right: 24px; bottom: 30px; }
  .home-flow-world .discipline-switcher { padding-top: 130px; }
  .home-flow-fallback { background-image: url('assets/home-fusion-light-mobile.webp'); }
  .home-flow-world .discipline-intro { gap: 20px; }
  .home-flow-world .discipline-intro p { max-width: 360px; }
}
@media (max-width: 370px) {
  .home-flow-hero { padding-left: 20px; padding-right: 20px; }
  .home-flow-actions { gap: 16px; }
  .home-flow-primary { padding-inline: 22px; font-size: 13px; }
  .home-flow-secondary { font-size: 12px; }
  .home-flow-desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-flow-canvas, .home-flow-primary { transition: none; }
  .home-page #nav, .home-page #nav .n-links, .home-page #nav .n-cta,
  .home-page #nav .n-links a::after, .home-page #nav .n-menu-toggle span,
  .home-page #nav .n-menu-toggle::before, .home-page #nav .n-menu-toggle::after { transition: none; }
}
