/* Public site. Layout: dark industrial hero with a layered crane scene (parallax), then light content bands.
   Cards over imagery use frosted glass; everything else stays flat and quiet. */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11, 17, 24, .86); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--on-dark); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.logo .mk { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), #F7A23B); display: grid; place-items: center; color: var(--on-orange); }
.logo .mk svg { width: 21px; height: 21px; }
.menu { display: flex; gap: 2px; align-items: center; margin-left: auto; }
.menu > li { list-style: none; position: relative; }
.menu > li > a { display: block; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 12px; border-radius: 9px; }
.menu > li > a:hover, .menu > li:focus-within > a { background: rgba(255, 255, 255, .08); }
.menu > li > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.menu .dd { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; padding: 8px; border-radius: 14px; background: rgba(20, 28, 37, .96); border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-lg); display: none; flex-direction: column; }
.menu > li:hover .dd, .menu > li:focus-within .dd { display: flex; }
.menu .dd a { color: var(--on-dark); text-decoration: none; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; display: flex; flex-direction: column; }
.menu .dd a small { color: var(--on-dark-muted); font-size: 12.5px; }
.menu .dd a:hover { background: rgba(255, 255, 255, .07); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { min-height: 38px; }
.nav-cta .btn-ghost { color: var(--on-dark); }
.nav-cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
#navToggle { display: none; background: transparent; border: 0; color: #fff; width: 42px; height: 42px; border-radius: 10px; margin-left: auto; }

/* hero */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background: radial-gradient(1100px 520px at 78% 18%, rgba(240, 124, 27, .22), transparent 60%), linear-gradient(180deg, #0B1118 0%, #15202C 62%, #1B2735 100%); }
.hero .scene { position: absolute; inset: 0; pointer-events: none; }
.hero .scene svg { position: absolute; bottom: 0; left: 50%; width: max(1500px, 120%); height: auto; transform: translateX(-50%); }
.hero .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero .wrap { position: relative; padding-block: clamp(56px, 9vw, 120px) clamp(120px, 15vw, 220px); }
.eyebrow { font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #F7A55E; margin: 0 0 14px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--orange); }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); line-height: 1.02; letter-spacing: -.035em; font-weight: 850; margin: 0; max-width: 15ch; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #FFB067, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-muted); max-width: 58ch; margin: 20px 0 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn:not(.btn-accent):not(.btn-primary) { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
.hero .btn:not(.btn-accent):not(.btn-primary):hover { background: rgba(255, 255, 255, .12); }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--on-dark-muted); font-size: 14px; }
.hero .proof span { display: inline-flex; gap: 7px; align-items: center; }
.hero .proof .ic { color: #6FD39A; width: 16px; height: 16px; }
.page-hero .wrap { padding-block: clamp(44px, 6vw, 80px) clamp(70px, 8vw, 110px); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); max-width: 20ch; }

/* stat strip (real product numbers only) */
.stats { position: relative; margin-top: -64px; z-index: 2; }
.stats .glass { background: color-mix(in srgb, var(--surface) 92%, transparent); border-radius: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); box-shadow: var(--shadow); overflow: hidden; }
.stats .s { padding: 20px 22px; border-left: 1px solid var(--line); }
.stats .s:first-child { border-left: 0; }
.stats b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 850; letter-spacing: -.03em; font-family: var(--font); }
.stats span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* bands */
.band { padding-block: clamp(56px, 7vw, 96px); }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.band.dark { background: linear-gradient(180deg, #111922, #19232E); color: var(--on-dark); }
.band.dark .lede, .band.dark p { color: var(--on-dark-muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 850; letter-spacing: -.03em; line-height: 1.08; margin: 0; max-width: 22ch; text-wrap: balance; }
.sec-head p { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }
.kicker { font-size: 12.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-strong); margin: 0 0 10px; }
.band.dark .kicker { color: #F7A55E; }

/* module cards */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.module { position: relative; border-radius: 18px; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; background: #1B2735 center / cover no-repeat; isolation: isolate; }
.module::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 17, 24, 0) 0%, rgba(11, 17, 24, 0) 30%, rgba(11, 17, 24, .78) 52%, rgba(11, 17, 24, .97) 100%); z-index: -1; }
.module .bgimg { position: absolute; inset: 0 0 auto 0; height: 62%; z-index: -2; background: #E9EEF3 center 30% / cover no-repeat; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.module:hover .bgimg { transform: scale(1.04); }
.module .in { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.module .tag { align-self: flex-start; }
.module h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.module p { margin: 0; color: #C8D2DD; font-size: 15px; }
.module ul { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.module li { font-size: 12.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); }
.module .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #FFB067; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.feature .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.feature .fi .ic { width: 22px; height: 22px; }
.feature h3 { margin: 4px 0 0; font-size: 17.5px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.band.dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.band.dark .feature .fi { background: rgba(240, 124, 27, .16); color: #FFB067; }
.band.dark .feature h3 { color: #fff; }

/* calculator showcase */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.show + .show { margin-top: clamp(48px, 6vw, 80px); }
.show.flip > :first-child { order: 2; }
.show h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; margin: 0 0 10px; line-height: 1.15; }
.show p { color: var(--muted); margin: 0 0 14px; }
.show ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.show li { display: flex; gap: 10px; align-items: flex-start; }
.show li .ic { color: var(--good); margin-top: 3px; width: 18px; height: 18px; }
.shot { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.shot .badge { position: absolute; left: 14px; bottom: 14px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; color: var(--ink); }
.shot .badge b { font-family: var(--mono); color: var(--good); }

/* workflow */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.flow li { list-style: none; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); position: relative; }
.flow li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; font-weight: 700; color: #FFB067; display: block; margin-bottom: 8px; }
.flow b { display: block; color: #fff; margin-bottom: 4px; }
.flow span { font-size: 14px; color: var(--on-dark-muted); }

/* courses */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.course { padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.course:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.course .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.course h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.course p { margin: 0; color: var(--muted); font-size: 14.5px; }
.course .facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); }
.course .facts span { display: inline-flex; gap: 5px; align-items: center; }
.course .facts .ic { width: 15px; height: 15px; color: var(--muted); }
.course .price { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.course .price b { font-size: 22px; font-weight: 850; letter-spacing: -.02em; }
.course .price small { color: var(--muted); font-size: 13px; }
.course.planned { background: var(--surface-2); border-style: dashed; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cats button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 650; font-size: 14px; color: var(--ink-2); }
.cats button[aria-pressed="true"] { background: var(--steel-800); color: #fff; border-color: var(--steel-800); }
.course-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.course-detail article h2 { font-size: 20px; margin: 26px 0 8px; }
.course-detail article p, .course-detail article li { color: var(--ink-2); }
.course-detail aside { position: sticky; top: 86px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.facts-tbl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14.5px; }
.facts-tbl dt { color: var(--muted); font-weight: 600; }
.facts-tbl dd { margin: 0; font-weight: 650; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.plan.main { border: 2px solid var(--orange); box-shadow: var(--shadow); position: relative; }
.plan.main::before { content: 'Most popular'; position: absolute; top: -12px; left: 24px; background: var(--orange); color: var(--on-orange); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan .amt { font-size: 46px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.plan .amt small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; }
.plan li .ic { color: var(--good); width: 18px; height: 18px; margin-top: 3px; }

/* testimonials, faq, articles */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.quote { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.quote p { margin: 0; font-size: 16.5px; }
.quote footer { color: var(--muted); font-size: 14px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--orange-strong); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); max-width: 72ch; }
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.art { padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s; }
.art:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.art h3 { margin: 0; font-size: 18.5px; letter-spacing: -.01em; line-height: 1.3; }
.art p { margin: 0; color: var(--muted); font-size: 15px; }
.prose { max-width: 74ch; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; margin: 34px 0 10px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 14px 0; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: left; }
.prose th { background: var(--surface-2); }
.prose .note { padding: 14px 16px; border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 10px 10px 0; color: var(--ink); }
.prose figure { margin: 20px 0; } .prose figure img { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.prose figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.formcard { padding: 26px; display: flex; flex-direction: column; gap: 14px; }

/* cta and footer */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(700px 300px at 85% 0%, rgba(240, 124, 27, .35), transparent 70%), linear-gradient(135deg, #15202C, #0B1118); color: #fff; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 20px; align-items: center; }
.cta-band h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.cta-band p { margin: 8px 0 0; color: var(--on-dark-muted); }
.foot { background: #0B1118; color: var(--on-dark-muted); padding-block: 48px 30px; font-size: 14.5px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.foot a { color: var(--on-dark-muted); text-decoration: none; display: block; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot .legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

@media (max-width: 1020px) {
  .menu, .nav-cta .btn-ghost { display: none; }
  #navToggle { display: grid; place-items: center; }
  .nav.open .menu { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #0F171F; padding: 10px 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.open .menu .dd { display: flex; position: static; box-shadow: none; background: transparent; border: 0; padding: 0 0 6px 12px; }
  .modules, .features, .plans { grid-template-columns: minmax(0, 1fr); }
  .module { min-height: 360px; }
  .show, .course-detail, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .show.flip > :first-child { order: 0; }
  .flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats .glass { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .s:nth-child(3) { border-left: 0; }
  .stats .s:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .course-detail aside { position: static; }
}
@media (max-width: 560px) { .flow { grid-template-columns: minmax(0, 1fr); } .nav-cta .btn-accent { display: none; } }
@media (prefers-reduced-motion: reduce) { .module .bgimg, .course, .art { transition: none; } }
@media (max-width: 700px) { .hero .scene { opacity: .35; } }

/* ===== v5 identity: rated-plate steel, condensed signage type, one live rigging demo =====
   Palette: steel #13202B, plate #1C2B38, concrete #EEF1F3, signal orange #F07C1B (actions), wire blue #2563C9 (links, data), load-line yellow #FFC93C (the demo only). */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); }
:root { --display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif; --steel: #13202B; --plate: #1C2B38; --loadline: #FFC93C; }
.hero h1, .sec-head h2, .show h3, .cta-band h2, .aud h3, .page-hero h1, .plan .amt, .course .price b { font-family: var(--display); font-weight: 700; letter-spacing: -.005em; }
.hero h1 { font-size: clamp(48px, 7vw, 92px); line-height: .94; max-width: 11ch; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: .98; max-width: 18ch; }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1; }
.show h3 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.02; }
.eyebrow, .kicker { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 650; }
.eyebrow::before { display: none; }
.foot h4 { text-transform: none; letter-spacing: 0; font-size: 15px; }
.nav { background: rgba(19, 32, 43, .92); }
.hero { background: var(--steel); }
.hero .grid { background-size: 64px 64px; opacity: .8; }
.page-hero { background: linear-gradient(180deg, var(--steel), #18283A); }

/* home hero: copy left, live sling demo right */
.home-hero .wrap.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(80px, 9vw, 120px); }
.home-hero .sub { max-width: 46ch; }
.hero ul.proof { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; }
.hero ul.proof li { display: flex; gap: 8px; align-items: center; color: var(--on-dark-muted); font-size: 14.5px; }
.hero ul.proof .ic { color: #6FD39A; width: 16px; height: 16px; }

.rig { margin: 0; background: var(--plate); border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px 6px 18px 18px; padding: 18px 20px 20px; color: var(--on-dark); position: relative; }
.rig::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--loadline); border-radius: 6px 6px 0 0; }
.rig figcaption { font-weight: 650; color: var(--on-dark-muted); font-size: 14px; margin-bottom: 4px; }
.rig svg { width: 100%; height: auto; display: block; overflow: visible; }
.rig-crane line, .rig-crane path { stroke: #9FB0C1; stroke-width: 3; fill: none; stroke-linecap: round; }
.rig-crane path:first-of-type { fill: #9FB0C1; stroke: none; }
.rig-leg { stroke: var(--loadline); stroke-width: 4; stroke-linecap: round; }
.rig-plumb { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-dasharray: 4 6; }
.rig-arc { fill: none; stroke: #fff; stroke-width: 1.5; }
.rig-arct { fill: #fff; font: 700 15px var(--mono); }
.rig-beam { fill: #5B6E80; stroke: #A9B6C4; stroke-width: 1.5; }
.rig-cog { fill: none; stroke: #fff; stroke-width: 2; }
.rig-read { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 14px; }
.rig-read div { background: rgba(0, 0, 0, .22); border-radius: 10px; padding: 10px 12px; }
.rig-read span { display: block; font-size: 13px; color: var(--on-dark-muted); }
.rig-read b { font-family: var(--mono); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.rig-ctl { display: grid; gap: 4px; margin-top: 8px; font-size: 14px; color: var(--on-dark-muted); }
.rig-ctl span { display: flex; justify-content: space-between; }
.rig-ctl output { font-family: var(--mono); color: #fff; font-weight: 700; }
.rig-ctl input { width: 100%; accent-color: var(--loadline); height: 28px; }
.rig-note { margin: 12px 0 8px; padding: 9px 12px; border-radius: 10px; font-weight: 650; font-size: 14.5px; background: rgba(111, 211, 154, .14); color: #8FE3B4; }
.rig-note[data-s="warn"] { background: rgba(255, 201, 60, .16); color: #FFD76A; }
.rig-note[data-s="bad"] { background: rgba(255, 118, 104, .16); color: #FF9D93; }
.rig-go { color: #FFB067; font-weight: 700; font-size: 14.5px; }
@media (prefers-reduced-motion: no-preference) {
  .rig.ready .rig-leg { animation: rigdraw .9s cubic-bezier(.2, .7, .2, 1) both; stroke-dasharray: 260; }
  .rig.ready .rig-lift { animation: riglift 1.1s cubic-bezier(.2, .7, .2, 1) .5s both; }
  @keyframes rigdraw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
  @keyframes riglift { from { transform: translateY(14px); } to { transform: none; } }
}

/* rated data plate under the hero */
.plate-wrap { position: relative; margin-top: -46px; z-index: 2; }
.plate { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #E6EBEF; border: 1px solid #C3CDD6; border-radius: 10px; box-shadow: var(--shadow); padding: 6px; gap: 6px; }
.plate div { background: #F4F6F8; border: 1px solid #D3DBE2; border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column-reverse; gap: 2px; }
.plate dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.6vw, 46px); line-height: 1; color: var(--steel); }
.plate dt { color: #4A5868; font-size: 14px; font-weight: 600; }
:root[data-theme="dark"] .plate { background: #1A2430; border-color: #33424F; }
:root[data-theme="dark"] .plate div { background: #141C25; border-color: #26323F; }
:root[data-theme="dark"] .plate dd { color: #E7ECF2; } :root[data-theme="dark"] .plate dt { color: #93A2B3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plate { background: #1A2430; border-color: #33424F; } :root:not([data-theme="light"]) .plate div { background: #141C25; border-color: #26323F; } :root:not([data-theme="light"]) .plate dd { color: #E7ECF2; } :root:not([data-theme="light"]) .plate dt { color: #93A2B3; } }

/* who it is for: two audiences side by side */
.aud-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.aud { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.aud + .aud { border-left: 1px solid var(--line); }
.aud.train { background: var(--surface-2); }
.aud h3 { margin: 0; font-size: clamp(28px, 2.8vw, 36px); line-height: 1; }
.aud > p { margin: 0; color: var(--muted); max-width: 46ch; }
.aud .tools { list-style: none; margin: 6px 0 4px; padding: 0; border-top: 1px solid var(--line); }
.aud .tools a { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 4px 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.aud .tools a:hover b { color: var(--link); text-decoration: underline; }
.aud .tools span { color: var(--muted); font-size: 14.5px; }
.aud .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

/* checklist of what a plan holds */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.checklist li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.checklist .ic { color: var(--good); width: 22px; height: 22px; margin-top: 2px; }
.checklist b { font-size: 17px; }
.checklist p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* five steps on one hoist line */
.flow { position: relative; gap: 0; }
.flow::before { content: ''; position: absolute; left: 18px; right: calc(20% - 18px); top: 17px; height: 3px; background: var(--loadline); opacity: .85; }
.flow li { background: none; border: 0; border-radius: 0; padding: 0 14px 0 0; }
.flow li::before { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--steel); border: 3px solid var(--loadline); color: #fff; margin-bottom: 14px; content: counter(s); }
.flow b { font-size: 17px; }

/* quieter cards and call to action */
.course, .art { box-shadow: none; }
.cta-band { background: var(--plate); border-top: 4px solid var(--loadline); border-radius: 6px 6px 18px 18px; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }

@media (max-width: 1020px) {
  .home-hero .wrap.hero-split { grid-template-columns: minmax(0, 1fr); }
  .plate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud-split { grid-template-columns: minmax(0, 1fr); }
  .aud + .aud { border-left: 0; border-top: 1px solid var(--line); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .flow::before { display: none; }
  .flow { gap: 18px; }
}
@media (max-width: 560px) { .aud .tools a { grid-template-columns: minmax(0, 1fr); } .plate-wrap { margin-top: -30px; } }
.plan h3 { text-transform: none; letter-spacing: 0; font-size: 16px; }

/* ===== motion: one load-in for the hero, then sections reveal as they reach the screen.
   Only runs when the script has started (html.anim) and the visitor has not asked for reduced motion. ===== */
@media (prefers-reduced-motion: no-preference) {
  html.anim .home-hero h1 .ln { display: block; animation: lineup .9s cubic-bezier(.2, .8, .2, 1) both; }
  html.anim .home-hero h1 .ln:nth-child(2) { animation-delay: .12s; }
  html.anim .home-hero .sub { animation: fadeup .8s cubic-bezier(.2, .8, .2, 1) .3s both; }
  html.anim .home-hero .cta { animation: fadeup .8s cubic-bezier(.2, .8, .2, 1) .42s both; }
  html.anim .home-hero ul.proof li { animation: fadeup .6s cubic-bezier(.2, .8, .2, 1) both; }
  html.anim .home-hero ul.proof li:nth-child(1) { animation-delay: .55s; } html.anim .home-hero ul.proof li:nth-child(2) { animation-delay: .63s; } html.anim .home-hero ul.proof li:nth-child(3) { animation-delay: .71s; }
  html.anim .rig { animation: fadeup .9s cubic-bezier(.2, .8, .2, 1) .2s both; }
  @keyframes lineup { from { opacity: 0; transform: translateY(.45em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); } }
  @keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  /* the load hangs and settles: a slow, small sway after the lift */
  .rig.ready .rig-swing { animation: sway 5.5s ease-in-out 1.6s infinite; transform-origin: 210px 66px; transform-box: view-box; }
  @keyframes sway { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(.9deg); } 75% { transform: rotate(-.9deg); } }
  .rig.dragging .rig-swing { animation: none; }

  /* reveal on scroll */
  html.anim [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
  html.anim [data-rv].in { opacity: 1; transform: none; }
  html.anim .shot[data-rv] { transform: none; clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 1s cubic-bezier(.6, 0, .2, 1), opacity .4s; }
  html.anim .shot[data-rv].in { clip-path: inset(0 0 0 0 round 18px); }
  html.anim .shot[data-rv] img { transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
  html.anim .shot[data-rv].in img { transform: none; }

  /* the hoist line draws across, then each step lands on it */
  html.anim .flow::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.6, 0, .2, 1); }
  html.anim .flow.in::before { transform: scaleX(1); }
  html.anim .flow li { opacity: 0; transform: translateY(-14px); transition: opacity .5s, transform .6s cubic-bezier(.3, 1.5, .5, 1); }
  html.anim .flow.in li { opacity: 1; transform: none; }
  html.anim .flow.in li:nth-child(1) { transition-delay: .15s; } html.anim .flow.in li:nth-child(2) { transition-delay: .4s; } html.anim .flow.in li:nth-child(3) { transition-delay: .65s; } html.anim .flow.in li:nth-child(4) { transition-delay: .9s; } html.anim .flow.in li:nth-child(5) { transition-delay: 1.15s; }

  /* data plate: each value is stamped in */
  html.anim .plate div { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); }
  html.anim .plate.in div { opacity: 1; transform: none; }
  html.anim .plate.in div:nth-child(2) { transition-delay: .08s; } html.anim .plate.in div:nth-child(3) { transition-delay: .16s; } html.anim .plate.in div:nth-child(4) { transition-delay: .24s; }

  /* answers to the pointer */
  .btn { transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
  .btn-accent:hover, .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px color-mix(in srgb, currentColor 0%, rgba(240, 124, 27, .7)); }
  .aud .tools a { position: relative; transition: padding-left .25s cubic-bezier(.2, .8, .2, 1); }
  .aud .tools a::before { content: ''; position: absolute; left: -2px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--orange); transform: scaleY(0); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
  .aud .tools a:hover, .aud .tools a:focus-visible { padding-left: 12px; }
  .aud .tools a:hover::before, .aud .tools a:focus-visible::before { transform: scaleY(1); }
  .course, .art { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
  .course:hover, .art:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(19, 32, 43, .35); border-color: var(--line-2); }
  .shot { transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
  .shot:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 26px 50px -24px rgba(19, 32, 43, .45); }
  .nav { transition: background-color .3s, box-shadow .3s; }
  .nav.scrolled { background: rgba(19, 32, 43, .98); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }

  /* the call to action: a slow light passes along the load line */
  .cta-band::after { content: ''; position: absolute; top: -4px; left: 0; width: 30%; height: 4px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); animation: glint 4.5s ease-in-out infinite; }
  @keyframes glint { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(380%); } }
}

/* photographs (generated images, used when present) */
.page-hero.has-photo .photo { position: absolute; inset: 0 0 0 auto; width: min(62%, 980px); }
.page-hero.has-photo .photo img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 58%); mask-image: linear-gradient(90deg, transparent 0%, #000 58%); opacity: .78; }
.page-hero.has-photo .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 32, 43, .15), rgba(19, 32, 43, .55)); }
.page-hero.has-photo .wrap { position: relative; }
.page-hero.has-photo .sub { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.aud-img { object-position: 50% 18%; max-width: none; width: calc(100% + 2 * clamp(22px, 3vw, 36px)); margin: calc(-1 * clamp(22px, 3vw, 36px)) calc(-1 * clamp(22px, 3vw, 36px)) 6px; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) { html.anim .page-hero.has-photo .photo img { animation: phin 1.6s cubic-bezier(.2, .8, .2, 1) both; } @keyframes phin { from { opacity: 0; transform: scale(1.06); } to { opacity: .78; transform: none; } } }
@media (max-width: 760px) { .page-hero.has-photo .photo { width: 100%; } .page-hero.has-photo .photo img { -webkit-mask-image: none; mask-image: none; opacity: .32; } }

/* ---------- v6 photographs ---------- */
/* tool showcases: site photo with the workbook sketch as an inset */
.shot.has-ph { aspect-ratio: 4 / 3; background: var(--steel, #13202B); }
.shot.has-ph > img.ph { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.shot .sk { position: absolute; right: 14px; bottom: 14px; width: 38%; max-width: 230px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55); }
.shot .sk img { width: 100%; height: auto; max-height: 150px; object-fit: contain; display: block; }
html.anim .shot[data-rv] .sk img { transform: none; }

/* course and article cards with a photo on top */
.course.has-img, .art.has-img { padding-top: 0; overflow: hidden; }
.card-img { display: block; width: calc(100% + 40px); max-width: none; margin: 0 -20px 4px; aspect-ratio: 16 / 8; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.art.has-img .card-img { width: calc(100% + 44px); margin: 0 -22px 4px; }
.course.has-img:hover .card-img, .art.has-img:hover .card-img { transform: scale(1.04); }
.course.planned .card-img { filter: grayscale(.6); opacity: .85; }

/* home: work-front mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.mosaic .tile { position: relative; border-radius: 16px; overflow: hidden; display: block; color: #fff; text-decoration: none; background: var(--steel, #13202B); isolation: isolate; }
.mosaic .tile.big { grid-column: span 2; grid-row: span 2; }
.mosaic .tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); z-index: -1; }
.mosaic .tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 22, 0) 40%, rgba(10, 16, 22, .82)); z-index: -1; }
.mosaic .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.mosaic .cap b { font-family: var(--display, inherit); font-size: 21px; line-height: 1.1; letter-spacing: .01em; }
.mosaic .big .cap b { font-size: 30px; }
.mosaic .cap small { color: var(--loadline, #FFC93C); font-weight: 700; font-size: 13.5px; opacity: .9; transform: translateY(2px); transition: transform .3s, opacity .3s; }
.mosaic .tile:hover .tile-img, .mosaic .tile:focus-visible .tile-img { transform: scale(1.06); }
.mosaic .tile:hover small { opacity: 1; transform: none; }
.mosaic .tile:focus-visible { outline: 3px solid var(--loadline, #FFC93C); outline-offset: 3px; }
@media (max-width: 960px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } }
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; grid-auto-rows: 200px; } .mosaic .tile.big { grid-column: auto; grid-row: span 1; } .mosaic .big .cap b { font-size: 24px; } }

/* dark band with a photo behind it */
.band.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.band-bg { position: absolute; inset: 0; z-index: -1; }
.band-bg .bg-img { width: 100%; height: 100%; object-fit: cover; opacity: .38; display: block; }
.band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 25, 34, .94) 0%, rgba(17, 25, 34, .7) 55%, rgba(17, 25, 34, .45) 100%); }

/* home: "kept together" list with a field photo */
.kept.has-img { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 36px; align-items: start; }
.kept-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 50%; border-radius: 18px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.kept.has-img .checklist { grid-template-columns: 1fr; }
@media (max-width: 960px) { .kept.has-img { grid-template-columns: 1fr; } .kept-img { aspect-ratio: 16 / 9; position: static; } }

/* mosaic tiles fade in with the other sections */
@media (prefers-reduced-motion: no-preference) {
  html.anim .mosaic .tile { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
  html.anim .mosaic.in .tile { opacity: 1; transform: none; }
  html.anim .mosaic.in .tile:nth-child(2) { transition-delay: .07s; } html.anim .mosaic.in .tile:nth-child(3) { transition-delay: .14s; } html.anim .mosaic.in .tile:nth-child(4) { transition-delay: .21s; } html.anim .mosaic.in .tile:nth-child(5) { transition-delay: .28s; } html.anim .mosaic.in .tile:nth-child(6) { transition-delay: .35s; } html.anim .mosaic.in .tile:nth-child(7) { transition-delay: .42s; }
}
@media print { .band-bg, .mosaic, .kept-img, .card-img { display: none !important; } }
.mosaic .tile:nth-child(6), .mosaic .tile:nth-child(7) { grid-column: span 2; }
@media (max-width: 560px) { .mosaic .tile:nth-child(6), .mosaic .tile:nth-child(7) { grid-column: auto; } }
