/* The public landing page uses a dark, cinematic scene; intranet styles are independent. */
body { letter-spacing: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9ddaf5; outline-offset: 5px; }
section[id] { scroll-margin-top: 90px; }
.site-header { background: rgba(5,6,9,.78); border-color: rgba(255,255,255,.09); }
.nav { height: 80px; }
.brand-mark { width: 66px; height: 52px; padding: 4px; border-radius: 4px; background: white; filter: none; }
.nav-links { font-weight: 500; }
.auth-status { max-width: 78px; }
.hero {
  min-height: min(860px, 94svh);
  padding: 80px 0 0;
  grid-template-rows: 1fr auto;
  align-items: center;
  background: #050609;
}
.hero::before {
  background: linear-gradient(90deg,rgba(5,6,9,.78),rgba(5,6,9,.18) 48%,transparent 72%),
    linear-gradient(0deg,#090909 0%,rgba(9,9,9,.05) 30%,transparent 75%);
}
.hero-inner { padding: 72px 0 54px; }
.hero-copy { max-width: 610px; }
.hero-brand-asset { display: none; }
.hero h1 { font-family: Inter,"Helvetica Neue",Arial,sans-serif; font-size: 88px; font-weight: 500; line-height: .99; text-wrap: initial; }
.hero h1 span { display: block; }
.hero-line { font-size: 15px; font-weight: 500; color: #c7dae5; margin-top: 28px; }
.hero-description { max-width: 435px; color: #aab3bd; font-size: 16px; line-height: 1.9; margin-top: 18px; }
.hero-actions { margin-top: 28px; gap: 10px; }
.hero-actions .button { min-height: 46px; padding: 0 22px; font-weight: 500; }
.hero-actions .secondary { background: rgba(255,255,255,.025); border-color: rgba(255,255,255,.24); }
.hero-actions .secondary:hover { background: rgba(255,255,255,.10); }
.hero-proof { background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.15); border-radius: 0; box-shadow: none; margin-bottom: 0; }
.proof-item { background: transparent; min-height: 98px; padding: 24px 20px 24px 0; }
.proof-item + .proof-item { padding-left: 26px; }
.proof-number { font-size: 26px; }
.proof-label { font-size: 11px; margin-top: 8px; }
.space-motion {
  position: absolute; right: 24px; top: 104px; display: grid; place-items: center;
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  color: white; background: rgba(5,6,9,.45); cursor: pointer; z-index: 2;
}
.space-motion:hover { background: rgba(255,255,255,.15); }
.space-motion img { width: 16px; height: 16px; filter: invert(1); }
.space-motion .motion-play, .space-motion[aria-pressed="true"] .motion-pause { display: none; }
.space-motion[aria-pressed="true"] .motion-play { display: block; }
.hero[data-space="unavailable"] #hero-canvas { visibility: hidden; }
.hero[data-space="unavailable"] { background: #050609 url('../web_images/unique-planet-hero.png') center / cover; }
.about { padding-top: 88px; }
.section-heading h2 { font-size: 48px; line-height: 1.12; }
.about-main, .about-side, .contact-panel { background: transparent; border: 0; border-radius: 0; backdrop-filter: none; }
.about-main { padding: 24px 36px 24px 0; }
.about-main p { font-size: 26px; font-weight: 400; color: #c6cbd1; }
.about-side { border-left: 1px solid var(--line); }
.about-side strong { color: #b4ced9; font-size: 42px; }
.service-card { min-height: 300px; border-top: 1px solid #546872; border-radius: 0; }
.service-card.animation, .service-card.metaverse, .service-card.virtual { background: transparent; border-color: #343a40; }
.service-card.animation { border-top-color: #a49abb; }
.service-card.metaverse { border-top-color: #88b7c0; }
.service-card.virtual { border-top-color: #c3a887; }
.service-card::after { display: none; }
.service-card h3 { font-size: 26px; }
.service-card p { color: #9fa7ae; font-size: 15px; }
.service-index { color: #8f969f; }
.work-card { background: #111316; border-color: #24272d; }
.work-meta { color: #a1c8da; }
.impact-item strong { font-size: 48px; }
.contact { background: #0c0e11; border-top: 1px solid var(--line); }
.contact-panel { padding: 0; gap: 64px; }
.contact-panel h2 { font-size: 60px; }
.contact-list { min-width: 0; }
.contact-list dd { overflow-wrap: anywhere; }
@media (min-width: 1800px) {
  .hero { min-height: min(1000px,94svh); }
  .hero-inner,.hero-proof,.nav,.wrap { width: min(1440px,calc(100% - 96px)); }
  .hero h1 { font-size: 104px; }
}
@media (max-width: 1100px) {
  .hero h1 { font-size: 76px; }
  .nav-links { gap: 16px; }
  .auth-user,.auth-status { display: none; }
  .section-heading h2 { font-size: 40px; }
}
@media (max-width: 900px) {
  .hero { min-height: 760px; }
  .hero-proof { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .proof-item,.proof-item + .proof-item { padding: 20px 10px; }
  .proof-label { font-size: 10px; }
  .about-side { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0; grid-template-columns: 1fr 1fr; }
  .about-main { padding-right: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; padding: 28px 0; }
  .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-panel { gap: 32px; }
}
@media (max-width: 699px) {
  .nav { height: 70px; gap: 10px; }
  .brand-mark { width: 56px; height: 44px; }
  .nav-actions { gap: 6px; }
  .hero { min-height: calc(100svh - 20px); padding-top: 70px; }
  .hero-inner { padding: 208px 0 24px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 54px; line-height: 1; }
  .hero h1 span { display: inline; }
  .hero h1 span:last-child::before { content: ' '; }
  .hero-line { font-size: 12px; margin-top: 20px; }
  .hero-description { font-size: 14px; line-height: 1.8; max-width: 360px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; margin-top: 22px; }
  .hero-actions .button { width: auto; min-height: 44px; padding: 0 16px; font-size: 12px; }
  .hero::before { background: linear-gradient(0deg,#090909 0%,rgba(5,6,9,.88) 32%,rgba(5,6,9,.12) 64%,transparent 82%); }
  .hero-proof { grid-template-columns: repeat(2,minmax(0,1fr)); padding-bottom: 12px; }
  .proof-item,.proof-item + .proof-item { min-height: 66px; padding: 14px 6px 6px 0; }
  .proof-number { font-size: 21px; }
  .proof-label { font-size: 10px; }
  .space-motion { top: 90px; right: 16px; width: 36px; height: 36px; }
  .section-heading h2 { font-size: 34px; }
  .about-main p { font-size: 22px; }
  .contact-panel h2 { font-size: 44px; }
  .impact-item strong { font-size: 40px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 46px; }
  .hero-inner { padding-top: 180px; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
