:root {
  color-scheme: dark;
  --ink: #071321;
  --line: rgba(190, 221, 238, .14);
  --text: #f4f8fb;
  --cyan: #69d6e5;
  --gold: #ffc72c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 15px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { height: 76px; max-width: 1800px; margin: auto; padding: 0 clamp(20px,4vw,64px); display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: linear-gradient(145deg,#276994,#102d4b); border: 1px solid rgba(156,215,239,.45); color: #fff; font-weight: 900; font-size: 15px; letter-spacing: -.07em; box-shadow: 0 5px 22px rgba(45,165,215,.18); }
.brand-mark span { color: var(--gold); margin: 0 1px; }
.brand-word { font-weight: 850; letter-spacing: -.04em; font-size: 20px; }
.brand-slash { color: #7b9aad; font-size: 14px; font-weight: 600; letter-spacing: -.015em; }
.site-nav { display: flex; align-items: center; gap: clamp(15px,2.4vw,37px); font-size: 13px; font-weight: 700; color: #b9cad6; }
.site-nav a:not(.nav-cta):hover { color: #fff; }
.nav-cta { color: var(--gold); border: 1px solid rgba(255,199,44,.38); border-radius: 9px; padding: 10px 14px; white-space: nowrap; transition: background .2s, transform .2s; }
.nav-cta:hover { background: rgba(255,199,44,.12); transform: translateY(-2px); }

.intro { min-height: 165px; display: grid; place-items: center; text-align: center; padding: 34px 20px 38px; background: radial-gradient(ellipse at 50% 100%,rgba(31,98,142,.18),transparent 58%); }
.intro h1 { max-width: 1220px; font-size: clamp(41px,5vw,76px); line-height: 1.06; letter-spacing: -.067em; margin: 0; font-weight: 850; }
.intro h1 em { font-style: normal; color: var(--gold); }

.office-section { width: 100%; margin: 0 auto; padding: 0 0 62px; }
.office-app { width: 100%; background: #d9eaf2; box-shadow: 0 30px 95px rgba(0,0,0,.32); }

.world-stage { position: relative; width: 100%; height: clamp(620px,calc(100svh - 178px),1000px); overflow: hidden; background: radial-gradient(ellipse at 50% 40%,#f7fcff 0,#deedf5 58%,#bdd9e9 100%); touch-action: none; }
.world-stage:before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: linear-gradient(#bdd9e7 1px,transparent 1px),linear-gradient(90deg,#bdd9e7 1px,transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle,#000,transparent 74%); }
.office-canvas { position: absolute; inset: 0; }
.office-canvas canvas { display: block; width: 100%; height: 100%; outline: none; }
#office-world { position: relative; display: block; width: 100%; height: 100%; touch-action: none; filter: drop-shadow(0 22px 25px rgba(37,86,113,.13)); }
#office-world .room-zone, #office-world .person { cursor: pointer; }
#office-world .room-zone:hover, #office-world .room-zone.is-selected { filter: drop-shadow(0 0 10px rgba(22,156,201,.55)); }
#office-world .room-zone.is-dimmed { opacity: .65; }
#office-world .room-zone.is-communicating:not(.is-dimmed) { filter: drop-shadow(0 0 9px rgba(255,199,44,.5)); }
#office-world .person-halo { display: none; }
#office-world .person.is-speaking .person-halo, #office-world .person.is-selected .person-halo { display: block; }
#office-world .person.is-listening .person-halo { display: block; stroke: #3caec8; opacity: .78; }
#office-world .person.is-sitting>ellipse:first-child { display: none; }
#office-world .person:hover .pixel-doll { filter: drop-shadow(0 0 7px #ffc72c); }
#office-world .pixel-doll { image-rendering: pixelated; }
#office-world .svg-person-name { opacity: 0; pointer-events: none; transition: opacity .18s; }
#office-world .person:hover .svg-person-name, #office-world .person:focus .svg-person-name, #office-world .person.is-speaking .svg-person-name, #office-world .person.is-selected .svg-person-name { opacity: 1; }
#office-world .room-zone text { pointer-events: none; }
#office-world .workstation .monitor-code { opacity: .82; }
#office-world .workstation.is-typing .monitor-code { animation: screen-activity 2.2s ease-in-out infinite alternate; }
@keyframes screen-activity { from { opacity: .7; } to { opacity: 1; } }
#furniture-layer, #connection-layer, #foreground-layer, #bubble-layer { pointer-events: none; }
.world-labels { position: absolute; inset: 0; pointer-events: none; }
.dept-label, .person-label { position: absolute; left: 0; top: 0; transform: translate(-50%,-50%); pointer-events: auto; border: 1px solid var(--dept-color,#9bb9c8); background: rgba(255,255,255,.96); color: #0f3850; box-shadow: 0 5px 15px rgba(22,77,108,.16); font-weight: 900; cursor: pointer; white-space: nowrap; }
.dept-label { border-radius: 6px; font-size: 10px; padding: 5px 9px; letter-spacing: .035em; }
.person-label { border-color: #a7c2ce; border-radius: 20px; font-size: 10px; padding: 3px 7px; background: #f9fcff; }
.dept-label:hover, .dept-label.is-active, .person-label:hover, .person-label.is-active { background: #fff4cf; border-color: #f2af25; color: #452d05; }
.person-label.is-speaking { border-color: #d79523; background: #fff9e7; }
.speech-bubble { position: absolute; left: 0; top: 0; z-index: 4; max-width: 270px; padding: 10px 12px; background: #fff; border: 1px solid #a3cadc; border-radius: 11px; box-shadow: 0 8px 28px rgba(21,67,91,.25); color: #183e51; font-size: 12px; line-height: 1.35; pointer-events: none; transform: translate(-50%,-100%); opacity: 0; transition: opacity .2s; }
.speech-bubble:after { content: ""; position: absolute; bottom: -7px; left: calc(50% - 7px); width: 12px; height: 12px; background: #fff; border-right: 1px solid #a3cadc; border-bottom: 1px solid #a3cadc; transform: rotate(45deg); }
.speech-bubble.is-visible { opacity: 1; }
.speech-bubble strong { display: block; color: #0a506c; font-size: 10px; margin-bottom: 3px; }
.selection-card { position: absolute; z-index: 6; right: clamp(15px,2vw,28px); bottom: 56px; width: min(315px,calc(100% - 30px)); padding: 15px 40px 15px 16px; border: 1px solid #a4c7d7; border-radius: 12px; background: rgba(248,253,255,.96); box-shadow: 0 14px 38px rgba(22,66,94,.23); color: #183e51; backdrop-filter: blur(10px); }
.selection-card[hidden] { display: none; }
.selection-kicker { display: block; color: #377f9d; font-size: 10px; letter-spacing: .13em; font-weight: 900; text-transform: uppercase; }
.selection-card strong { display: block; margin-top: 3px; font-size: 17px; }
.selection-card p { font-size: 12px; line-height: 1.5; margin: 5px 0 0; color: #486c7e; }
.selection-close { position: absolute; right: 9px; top: 8px; width: 27px; height: 27px; border: 0; border-radius: 6px; background: #e3f0f5; color: #346278; font-size: 20px; line-height: 1; }
.stage-hint { position: absolute; left: 18px; bottom: 15px; z-index: 3; padding: 7px 10px; border: 1px solid rgba(172,210,226,.8); border-radius: 7px; background: rgba(255,255,255,.85); color: #527789; font-size: 10px; font-weight: 750; pointer-events: none; backdrop-filter: blur(8px); }
.stage-hint span { color: #91aeba; margin: 0 4px; }
.world-footer { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px clamp(15px,2.5vw,36px); background: #f7fbfd; color: #66889a; font-size: 11px; border-top: 1px solid #d2e4ec; }
.world-footer strong { color: #0d5b79; }
.footer-separator { color: #b2c9d3; margin: 0 4px; }
.world-footer button { border: 0; background: none; color: #2b7594; font-size: 11px; font-weight: 850; white-space: nowrap; }
.world-footer button:hover { text-decoration: underline; }
.noscript-message { padding: 20px; background: #16354b; color: white; border-radius: 10px; }

.section-kicker { margin: 0; color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.method-section { max-width: 1680px; margin: 0 auto; padding: clamp(55px,6vw,100px) clamp(20px,4vw,64px); border-top: 1px solid var(--line); }
.method-intro { max-width: 680px; }
.method-intro h2, .cta-section h2 { font-size: clamp(29px,2.9vw,44px); line-height: 1.1; letter-spacing: -.05em; margin: 12px 0 0; }
.method-intro p:last-child { color: #9fb4c2; font-size: 15px; line-height: 1.7; }
.method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 38px; }
.method-grid article { min-height: 205px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg,#10293c,#0a1b2b); }
.method-grid article>span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; background: #153e53; color: var(--cyan); font: 800 12px/1 Consolas,monospace; }
.method-grid h3 { font-size: 17px; letter-spacing: -.03em; margin: 19px 0 7px; }
.method-grid p { font-size: 12px; color: #96afbe; line-height: 1.6; margin: 0; }
.cta-section { max-width: 1550px; margin: 0 auto 70px; padding: 65px clamp(25px,6vw,80px); border-radius: 20px; border: 1px solid rgba(255,199,44,.2); background: radial-gradient(circle at 82% 20%,rgba(255,199,44,.13),transparent 33%),linear-gradient(130deg,#133448,#091e31); }
.cta-section h2 { max-width: 710px; }
.cta-section>p:not(.section-kicker) { color: #a6becc; font-size: 15px; line-height: 1.65; max-width: 680px; margin: 17px 0 25px; }
.button { min-height: 48px; border-radius: 10px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-size: 13px; font-weight: 850; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #132334; box-shadow: 0 9px 24px rgba(255,199,44,.18); }
.button-primary:hover { box-shadow: 0 13px 29px rgba(255,199,44,.3); }
.site-footer { max-width: 1680px; margin: auto; padding: 25px clamp(20px,4vw,64px) 35px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; color: #7490a2; font-size: 11px; }
.site-footer a:hover { color: white; }
@media(max-width:980px) {
  .world-stage { height: clamp(580px,75svh,850px); }
  .method-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:620px) {
  .site-header { height: 67px; gap: 10px; padding: 0 12px; }
  .brand-word { font-size: 17px; }
  .brand-slash { display: none; }
  .site-nav>a:not(.nav-cta) { display: none; }
  .nav-cta { font-size: 10px; padding: 8px 9px; }
  .nav-cta span { display: none; }
  .intro { display: block; min-height: 155px; padding: 32px 15px; }
  .intro h1 { max-width: 100%; margin: auto; font-size: clamp(34px,8vw,42px); }
  .world-stage { height: calc(100svh - 175px); min-height: 540px; }
  .stage-hint { left: 8px; right: 8px; bottom: 8px; text-align: center; font-size: 9px; }
  .stage-hint span { margin: 0 1px; }
  .dept-label { font-size: 8px; padding: 4px 5px; }
  .person-label { font-size: 8px; padding: 2px 5px; }
  .speech-bubble { max-width: 180px; font-size: 10px; padding: 7px 9px; }
  .selection-card { bottom: 48px; }
  .world-footer, .world-footer button { font-size: 10px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 0; }
  .cta-section { margin-left: 10px; margin-right: 10px; padding: 43px 25px; }
  .site-footer { flex-direction: column; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*:before,*:after { animation-duration: .01ms!important; transition-duration: .01ms!important; }
}
