/* 이동섭의 자동화시스템 중 워크스페이스 포탈 디자인 부분 */
:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: #16273d; background: #f4f6f8; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse at 94% 5%, #e8eefb 0, transparent 39%), #f4f6f8; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #467eef; outline-offset: 6px; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 14px 20px; z-index: 10; background: #152e4d; color: #fff; border-radius: 8px; }
.skip-link:focus { top: 15px; }
.page-shell { width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
.portal-header { height: 96px; display: flex; align-items: center; border-bottom: 1px solid #16273d14; }
.wordmark { display: inline-flex; align-items: center; font-size: 21px; letter-spacing: -.8px; font-weight: 730; }
.brand-symbol { width: 29px; height: 29px; margin-right: 13px; display: flex; gap: 4px; align-items: center; transform: rotate(-20deg); flex-shrink: 0; }
.brand-symbol i { width: 5px; height: 15px; border-radius: 5px; background: #376dec; }
.brand-symbol i:nth-child(2) { height: 26px; }
.brand-symbol i:nth-child(3) { height: 20px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 390px; position: relative; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 45px 0; }
h1 { font-size: clamp(40px, 4.1vw, 58px); line-height: 1.32; letter-spacing: -2.9px; font-weight: 760; margin: 0; word-break: keep-all; }
h1 span { color: #4975d1; }
.hero-art { height: 370px; position: relative; overflow: hidden; isolation: isolate; }
.orbit-glow { position: absolute; width: 310px; height: 310px; background: radial-gradient(ellipse at center, #8eb9ff4d, #b8d2ff21 55%, transparent 73%); border-radius: 50%; top: 20px; left: 50%; transform: translateX(-50%); }
.orbit-grid { position: absolute; inset: 35px 6px 27px; background-image: linear-gradient(#7292bf12 1px, transparent 1px), linear-gradient(90deg, #7292bf12 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at center, #000, transparent 68%); transform: perspective(500px) rotateX(32deg) rotateZ(-12deg); }
#orbitCanvas { position: absolute; width: 100%; height: 100%; inset: 0; }
.orbit-cross { position: absolute; width: 12px; height: 12px; opacity: .5; }
.orbit-cross::before, .orbit-cross::after { content: ""; position: absolute; background: #7995bb; }
.orbit-cross::before { height: 1px; width: 12px; top: 5px; }
.orbit-cross::after { width: 1px; height: 12px; left: 5px; }
.cross-one { left: 18%; top: 15%; }
.cross-two { right: 12%; bottom: 22%; }
.spaces { padding: 0 0 48px; scroll-margin-top: 24px; }
.section-heading { margin: 0 0 20px; }
.section-heading h2 { font-size: 18px; font-weight: 680; letter-spacing: -.6px; margin: 0; }
.space-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 21px; }
.space-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; border-radius: 18px; padding: 32px; min-height: 240px; border: 1px solid #e3e8f0; background: #fff; box-shadow: 0 5px 12px #24385103; transition: transform .25s, box-shadow .25s, border-color .25s; }
.space-card:hover { transform: translateY(-5px); border-color: #becde2; box-shadow: 0 17px 32px #24385110; }
.space-card:active { transform: translateY(-1px); }
.card-top { display: flex; align-items: center; height: 44px; margin-bottom: 29px; }
.church-logo { display: block; position: relative; width: 53px; height: 51px; overflow: hidden; flex-shrink: 0; mix-blend-mode: multiply; }
.church-logo img { position: absolute; display: block; width: 400px; max-width: none; height: 134px; left: -87px; top: -39px; }
.space-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #b5d1ff13; color: #b0cbf6; }
.space-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.card-copy h3 { font-size: 24px; letter-spacing: -1px; line-height: 1.45; font-weight: 710; margin: 0; word-break: keep-all; }
.card-compute { color: #fff; border-color: #243e65; background: radial-gradient(ellipse at 105% 5%, #365d974f, transparent 68%), #193452; }
.card-compute::before { content: ""; width: 170px; height: 170px; border-radius: 50%; border: 1px solid #96beff11; position: absolute; right: -95px; top: 80px; box-shadow: 0 0 0 23px #96beff04, 0 0 0 46px #96beff03; pointer-events: none; }
.card-groups { background: #f8faf7; border-color: #e0e8df; }
.card-train { background: #f0f7fc; border-color: #dce7f1; }
.card-train .space-icon { color: #456f98; background: #dfeefb; }
.card-daniel { color: #fff; border-color: #1757eb; background: radial-gradient(ellipse at 100% 0, #82acff52, transparent 68%), linear-gradient(140deg, #1757eb, #10357c); }
.card-daniel::before { content: ""; position: absolute; width: 165px; height: 165px; right: -100px; bottom: -72px; border: 1px solid #ffffff28; border-radius: 50%; box-shadow: 0 0 0 25px #ffffff08, 0 0 0 50px #ffffff05; pointer-events: none; }
.card-daniel .space-icon { color: #fff; background: #ffffff18; }
.portal-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #16273d12; padding: 23px 0 27px; color: #8a99aa; font-size: 10px; }
.portal-footer a { font-size: 10px; }
.portal-footer a span { margin-left: 9px; }
@media (max-width: 1200px) {
  .space-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .page-shell { width: calc(100% - 56px); }
  .hero { min-height: 360px; grid-template-columns: 1.25fr 1fr; }
  .hero-art { height: 330px; }
  h1 { font-size: 42px; letter-spacing: -2.2px; }
  .space-grid { gap: 14px; }
  .space-card { min-height: 222px; padding: 25px; }
  .card-copy h3 { font-size: 20px; letter-spacing: -.8px; }
}
@media (max-width: 720px) {
  .page-shell { width: calc(100% - 40px); }
  .portal-header { height: 78px; }
  .wordmark { font-size: 17px; letter-spacing: -.6px; }
  .brand-symbol { width: 24px; margin-right: 10px; gap: 3px; }
  .brand-symbol i { width: 4px; }
  .hero { display: block; min-height: 0; }
  .hero-copy { padding: 40px 0 0; }
  h1 { font-size: clamp(31px, 7.8vw, 48px); letter-spacing: -1.9px; }
  .hero-art { width: min(410px, 100%); height: 245px; margin: -8px auto 12px; }
  .orbit-glow { width: 230px; height: 230px; top: 0; }
  .space-grid { grid-template-columns: 1fr; gap: 15px; }
  .space-card { min-height: 212px; padding: 29px; }
  .card-top { margin-bottom: 23px; }
  .card-copy h3 { font-size: 23px; }
  .spaces { padding-bottom: 34px; }
  .portal-footer { font-size: 9px; }
}
@media (min-width: 721px) and (max-height: 850px) {
  .portal-header { height: 80px; }
  .hero { min-height: 310px; }
  .hero-copy { padding: 26px 0; }
  .hero-art { height: 295px; }
  .orbit-glow { top: 0; width: 280px; height: 280px; }
  h1 { font-size: 48px; }
  .space-card { min-height: 222px; padding: 27px; }
  .card-top { margin-bottom: 23px; }
  .card-copy h3 { font-size: 23px; }
}
@media (min-width: 1201px) {
  .space-card { padding: 20px; }
  .card-copy h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .space-card:hover { transform: none; }
}
