/* Homepage: hero system map, families band, engagements, evidence, products, logos, news, leadership. */
.home-system main { display: block; }

/* Hero */
.hs-hero { width: var(--sy-container); margin: 0 auto; padding: clamp(40px, 6vw, 88px) 0 clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.hs-hero .sy-eyebrow { color: var(--sy-gray); }
.hs-hero h1 { margin: 0; font-family: var(--sy-display); font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.hs-hero h1 span { display: block; color: var(--sy-gray); }
.hs-hero .hs-category { margin: 22px 0 0; max-width: 54ch; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; color: #c3c6cc; }
.hs-hero .sy-actions { margin-top: 28px; }
.hs-hero-note { margin: 24px 0 0; font-family: var(--sy-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sy-gray-dim); }

.hs-map { position: relative; border: 1px solid var(--sy-line); background: var(--sy-black); aspect-ratio: 800 / 500; overflow: hidden; }
.hs-map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--sy-line) 1px, transparent 1px), linear-gradient(90deg, var(--sy-line) 1px, transparent 1px); background-size: 40px 40px; opacity: .28; pointer-events: none; }
.hs-map svg { position: relative; display: block; width: 100%; height: 100%; }
.hs-map-corner { position: absolute; top: 12px; font-family: var(--sy-mono); font-size: 10px; letter-spacing: .12em; color: var(--sy-gray-dim); text-transform: uppercase; pointer-events: none; }
.hs-map-corner.left { left: 14px; }
.hs-map-corner.right { right: 14px; }
.hs-map[data-paused]::after { content: 'PAUSED'; position: absolute; right: 14px; bottom: 12px; font-family: var(--sy-mono); font-size: 10px; letter-spacing: .12em; color: var(--sy-gray-dim); }
.hs-map[data-static]::after { content: 'STATIC VIEW · REDUCED MOTION'; position: absolute; right: 14px; bottom: 12px; font-family: var(--sy-mono); font-size: 10px; letter-spacing: .12em; color: var(--sy-gray-dim); }

.sysmap-edge { stroke: #3a3f47; stroke-width: 1; }
.sysmap-fail-path { fill: none; stroke: var(--sy-red); stroke-width: 1.6; }
.sysmap-signal { fill: var(--sy-red); transition: opacity .3s ease; }
.sysmap-halo { fill: none; stroke: var(--sy-red); stroke-width: 1; opacity: .6; transition: opacity .3s ease; }
.sysmap-node-ring { fill: var(--sy-black); stroke: #d9dce1; stroke-width: 1; transition: stroke .3s ease, fill .3s ease; }
.sysmap-node-dot { fill: #d9dce1; transition: fill .3s ease; }
.sysmap-node[data-state="source"] .sysmap-node-ring, .sysmap-node[data-state="fail"] .sysmap-node-ring { stroke: var(--sy-red); }
.sysmap-node[data-state="fail"] .sysmap-node-dot, .sysmap-node[data-state="source"] .sysmap-node-dot { fill: var(--sy-red); }
.sysmap-node[data-state="fail"] .sysmap-node-ring { fill: rgba(239, 69, 71, .12); }
.sysmap-node[data-state="safe"] .sysmap-node-ring, .sysmap-node[data-state="watch"] .sysmap-node-ring { stroke: var(--sy-blue-text); }
.sysmap-node[data-state="safe"] .sysmap-node-dot { fill: var(--sy-blue-text); }
.sysmap-label { fill: #e6e8ec; font-family: var(--sy-mono); font-size: 10.5px; letter-spacing: .1em; }
.sysmap-sub { fill: var(--sy-gray); font-family: var(--sy-mono); font-size: 9px; letter-spacing: .06em; }
.sysmap-boundary { fill: rgba(38, 77, 237, .08); stroke: var(--sy-blue); stroke-width: 1.4; transition: opacity .3s ease; }
.sysmap-gate { stroke: var(--sy-blue); stroke-width: 2; }
.sysmap-control.is-engaged .sysmap-boundary { fill: rgba(38, 77, 237, .2); stroke: var(--sy-blue-text); }
.sysmap-control.is-engaged .sysmap-gate { stroke: #fff; }
.sysmap-ctrl-label { fill: var(--sy-blue-text); font-family: var(--sy-mono); font-size: 10px; letter-spacing: .12em; }
.sysmap-ctrl-sub { fill: var(--sy-gray); font-family: var(--sy-mono); font-size: 9px; letter-spacing: .08em; }
.sysmap-step { fill: #fff; font-family: var(--sy-mono); font-size: 11px; letter-spacing: .14em; }
.sysmap-step-sub { fill: var(--sy-gray); font-family: var(--sy-mono); font-size: 9px; letter-spacing: .08em; }
.sysmap[data-phase="01"] .sysmap-step { fill: var(--sy-red); }
.sysmap[data-phase="02"] .sysmap-step, .sysmap[data-phase="03"] .sysmap-step { fill: var(--sy-blue-text); }
.sysmap.is-blocked .sysmap-signal { fill: var(--sy-blue-text); }
.sysmap.is-blocked .sysmap-halo { stroke: var(--sy-blue-text); }

/* Workshop strip */
.hs-strip { width: var(--sy-container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 14px 18px; border: 1px solid var(--sy-line); background: var(--sy-panel); }
.hs-strip .sy-tag { flex: none; }
.hs-strip p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: #c3c6cc; }
.hs-strip p strong { color: var(--sy-white); font-weight: 500; }
.hs-strip p span[data-discount] { color: var(--sy-gray); }
.hs-strip .sy-link { flex: none; font-size: 14px; }

/* What we evaluate */
.hs-families .sy-card { min-height: 180px; }
.hs-families .sy-card p.hs-domains { margin-top: auto; font-family: var(--sy-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sy-gray-dim); line-height: 1.7; }

/* Engagements */
.sy-engagement h3 { font-size: 17px; }
.hs-engagements-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; font-size: 14.5px; color: var(--sy-gray); }
.hs-engagements-foot strong { color: var(--sy-white); font-weight: 500; }

/* Evidence row */
.hs-evidence .sy-card { gap: 14px; }
.hs-evidence .sy-card h3 { font-size: clamp(20px, 2.2vw, 26px); }
.hs-evidence .sy-card .hs-evidence-lead { color: #c3c6cc; font-size: 15px; }
.hs-evidence .sy-stats { margin-top: 4px; }

/* Products: each card leads with a view of the product, then its mark, name and job */
.sy-products { --pp: clamp(18px, 1.8vw, 24px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--sy-line); border: 1px solid var(--sy-line); }
.sy-product { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 var(--pp) var(--pp); background: var(--sy-black); min-width: 0; }
.sy-product-visual { display: block; margin: 0 calc(-1 * var(--pp)) 8px; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0d10; border-bottom: 1px solid var(--sy-line); }
.sy-product-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; filter: saturate(.92) brightness(.94); }
.sy-product:hover .sy-product-visual img, .sy-product:focus-within .sy-product-visual img { transform: scale(1.035); filter: none; }
.sy-product[data-form="hardware"] .sy-product-visual img { object-position: 50% 55%; }
.sy-product-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.sy-product-head .sy-tag { position: absolute; z-index: 2; top: 12px; right: 12px; background: rgba(5, 6, 7, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sy-product-head .sy-tag-blue { background: rgba(10, 16, 40, .78); }
.sy-product-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--sy-line-strong); border-radius: 8px; background: linear-gradient(180deg, #14171c, #0b0d10); color: #e8eaee; }
.sy-product-mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sy-product[data-form="hardware"] .sy-product-mark { color: var(--sy-blue-text); border-color: rgba(38, 77, 237, .45); }
.sy-product h3 { margin: 0; min-width: 0; font-family: var(--sy-display); font-size: 23px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: break-word; }
.sy-product h3 a { color: var(--sy-white); text-decoration: none; }
.sy-product h3 a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.sy-product h3 a:hover { color: var(--sy-blue-text); }
.sy-product .sy-card-foot, .sy-product-visual { position: relative; z-index: 1; }
.sy-product .sy-card-foot { margin-top: auto; }
.sy-product-kind { margin: 2px 0 0; font-size: 13px; letter-spacing: .01em; color: var(--sy-gray); }
.sy-product-job { margin: 0; font-size: 15px; line-height: 1.55; color: #d3d6db; }
.sy-product-meta { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--sy-line); grid-template-columns: 1fr; gap: 2px 0; font-size: 13px; }
.sy-product-meta dd { margin: 0 0 8px; color: var(--sy-gray); }
.sy-product .sy-card-foot { gap: 8px 12px; }
.sy-product .sy-link { font-size: 13.5px; }
.a440-dissonance { background: linear-gradient(90deg, #22d3ee, #818cf8, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.a440-wave { height: 48px; margin: 2px 0 0; }
.a440-wave svg { display: block; width: 100%; height: 100%; }
@media (max-width: 1120px) { .sy-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sy-products { grid-template-columns: 1fr; } .sy-product h3 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .sy-product-visual img { transition: none; } .sy-product:hover .sy-product-visual img { transform: none; } }

/* How Syntony works diagram */
.hs-works { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.hs-works-diagram { border: 1px solid var(--sy-line); background: var(--sy-black); }
.hs-works-diagram svg { display: block; width: 100%; height: auto; }
.hsw-box { fill: var(--sy-black); stroke: #d9dce1; stroke-width: 1; }
.hsw-box-blue { stroke: var(--sy-blue); }
.hsw-box-panel { fill: var(--sy-panel); stroke: var(--sy-line-strong); }
.hsw-text { fill: #e6e8ec; font-family: var(--sy-mono); font-size: 10.5px; letter-spacing: .1em; }
.hsw-sub { fill: var(--sy-gray); font-family: var(--sy-mono); font-size: 9px; letter-spacing: .06em; }
.hsw-line { stroke: #4a4f58; stroke-width: 1; fill: none; }
.hsw-line-blue { stroke: var(--sy-blue); }
.hsw-line-red { stroke: var(--sy-red); }
.hsw-arrow { fill: #4a4f58; }
.hsw-arrow-blue { fill: var(--sy-blue); }
.hs-works ol { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hs-works li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--sy-gray); }
.hs-works li span { font-family: var(--sy-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--sy-blue-text); padding-top: 4px; }
.hs-works li strong { color: var(--sy-white); font-weight: 500; }

/* Logos and red team */
.hs-redteam { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 20px 22px; border: 1px solid var(--sy-line); background: var(--sy-panel); }
.hs-redteam h3 { margin: 4px 0 6px; font-family: var(--sy-display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.hs-redteam p { margin: 0; font-size: 14.5px; color: var(--sy-gray); line-height: 1.55; }
.hs-redteam p strong { color: var(--sy-white); font-weight: 500; }
.hs-featured { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--sy-line); display: grid; grid-template-columns: 200px 1fr; gap: 12px 24px; align-items: start; }
.hs-featured .sy-eyebrow { margin: 10px 0 0; }
.sy-logo-row .sy-logo-text { font-family: var(--sy-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sy-gray); border: 1px dashed var(--sy-line-strong); padding: 0 10px; }
@media (max-width: 820px) { .hs-featured { grid-template-columns: 1fr; } .hs-redteam { grid-template-columns: 1fr; } }

/* News and leadership */
.hs-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--sy-line); border: 1px solid var(--sy-line); }
.hs-person { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 22px; background: var(--sy-black); align-items: start; text-decoration: none; color: var(--sy-white); }
.hs-person:hover { background: var(--sy-panel); }
.hs-person img { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--sy-line-strong); filter: grayscale(1); }
.hs-person h3 { margin: 0; font-family: var(--sy-display); font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.hs-person .sy-eyebrow { margin: 4px 0 8px; }
.hs-person p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--sy-gray); }
@media (max-width: 760px) { .hs-people { grid-template-columns: 1fr; } }

/* Newsletter panel on the homepage */
.hs-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--sy-line); background: var(--sy-panel); }
.hs-newsletter .sy-newsletter h2 { font-size: 22px; }

@media (max-width: 960px) {
  .hs-hero { grid-template-columns: 1fr; }
  .hs-works { grid-template-columns: 1fr; }
  .hs-newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 960px) and (min-width: 601px) { .hs-evidence.sy-grid-3 > .sy-card:nth-child(3) { grid-column: 1 / -1; } }
/* BLACKLINE feature entry in the research list */
.research-entry.research-feature { padding: 34px 0 !important; }
.research-entry.research-feature h3 a { color: #eaff65; }
.research-entry.research-feature > figure.rf-art { grid-column: 2 / -1; grid-row: 3; margin: 22px 0 0; position: relative; min-height: 240px; overflow: hidden; border: 1px solid #eaff6540; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; background: linear-gradient(90deg, #070b0e 0%, #070b0ee0 36%, #070b0e40 72%, #070b0ec0 100%), url(/challenge/assets/city.webp) 60% center / cover; }
.rf-art:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, #0000001f 3px 4px); }
.rf-hud { position: relative; z-index: 1; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.rf-live { font: 500 11px var(--sy-mono); letter-spacing: .16em; text-transform: uppercase; color: #eaff65; }
.rf-live:before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #eaff65; box-shadow: 0 0 10px #eaff65; margin-right: 9px; animation: rf-blink 1.4s steps(2) infinite; }
@keyframes rf-blink { 50% { opacity: .2; } }
.rf-hud b { font: 800 clamp(30px, 3.4vw, 46px)/.92 'Barlow Condensed', 'Arial Narrow', var(--sy-display), sans-serif; text-transform: uppercase; color: #f2f4e9; letter-spacing: -.01em; }
.rf-hud b em { font-style: normal; color: #5b7dff; }
.rf-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rf-play { background: #eaff65; color: #11180d !important; font: 700 11px var(--sy-mono); letter-spacing: .1em; text-transform: uppercase; padding: 12px 16px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); text-decoration: none !important; transition: background .2s; }
.rf-play:hover { background: #f4ffbd; }
.rf-code { font: 600 11px var(--sy-mono); letter-spacing: .1em; text-transform: uppercase; color: #77eceb !important; text-decoration: none !important; border-bottom: 1px solid #77eceb88; padding-bottom: 2px; }
.rf-roster { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(9, 64px); gap: 6px; align-self: center; padding: 18px 20px 18px 0; }
.rf-roster i { display: block; aspect-ratio: 1; background: url(/challenge/assets/nine-characters.webp) no-repeat; background-size: 300% 300%; background-position: var(--px) var(--py); border: 1px solid #ffffff18; filter: saturate(.55) brightness(.8); transition: filter .25s, transform .25s, border-color .25s; }
.research-feature:hover .rf-roster i { filter: none; }
.rf-roster i:hover { transform: translateY(-4px); border-color: var(--op); }
@media (max-width: 1200px) { .rf-roster { grid-template-columns: repeat(5, 56px); } .rf-roster i:nth-child(n+6) { display: none; } }
@media (max-width: 760px) { .research-entry.research-feature > figure.rf-art { grid-row: auto; flex-direction: column; min-height: 0; } .rf-roster { grid-template-columns: repeat(5, 1fr); padding: 0 16px 16px; } .rf-hud { padding: 18px 16px 4px; } }
@media (prefers-reduced-motion: reduce) { .rf-live:before { animation: none; } }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url(/challenge/assets/fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1_3E.ttf) format('truetype'); }
.hs-evidence .hs-game { background: linear-gradient(180deg, #070b0ed0, #070b0ef5), url(/challenge/assets/city.webp) center / cover; }
.hs-game .hs-game-roster { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
.hs-game .hs-game-roster i { aspect-ratio: 1; background: url(/challenge/assets/nine-characters.webp) no-repeat; background-size: 300% 300%; background-position: var(--px) var(--py); border: 1px solid #ffffff14; }

/* Attacca extension card: full width, with the panel in a browser frame. */
.hs-evidence > .hs-ext { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.hs-ext-copy { display: flex; flex-direction: column; gap: 14px; }
.hs-ext-shot { display: block; height: 420px; overflow: hidden; border: 1px solid var(--sy-line-strong); border-radius: 10px; position: relative; padding-top: 30px; background: #0a0a0b; }
.hs-ext-shot::before { content: ""; position: absolute; left: 12px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #3a3a40; box-shadow: 13px 0 0 #3a3a40, 26px 0 0 #3a3a40; }
.hs-ext-shot img { display: block; width: 100%; height: auto; border-top: 1px solid var(--sy-line); transform: translateY(-26%); transition: transform 1.2s ease; }
.hs-ext-shot:hover img { transform: translateY(-40%); }
.hs-ext-shot::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, #0a0a0b); }
@media (max-width: 900px) { .hs-evidence > .hs-ext { grid-template-columns: 1fr; } .hs-ext-shot { height: 360px; } }
@media (prefers-reduced-motion: reduce) { .hs-ext-shot img { transition: none; } }
