/* GroundPOV · site layer on top of the canvas design (inline styles). */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: #0E1114; color: #F3F2ED; overflow-x: hidden; }
section[id], footer { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid #E0662A; outline-offset: 3px; }
::selection { background: rgba(224, 102, 42, 0.35); color: #F3F2ED; }

/* Header: sticky with blur */
.gp-header { position: sticky !important; top: 0; z-index: 20 !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background: rgba(14,17,20,0.82) !important; }
.gp-nav a { color: #98A0A6; transition: color .15s; }
.gp-nav a:hover { color: #F3F2ED; }

/* Burger (hidden on desktop) */
.gp-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(243,242,237,0.16);
  background: rgba(243,242,237,0.06); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.gp-burger span { display: block; width: 18px; height: 1.6px; background: #F3F2ED; border-radius: 2px; transition: transform .2s, opacity .2s; }
.gp-header.is-open .gp-burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.gp-header.is-open .gp-burger span:nth-child(2) { opacity: 0; }
.gp-header.is-open .gp-burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .gp-burger { display: inline-flex; }
  .gp-nav { display: none !important; }
  .gp-header.is-open .gp-nav { display: flex !important; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column !important; gap: 0 !important; padding: 8px max(20px, 3vw) 20px;
    background: #0E1114 !important; box-shadow: 0 24px 40px rgba(0,0,0,.45); border-bottom: 1px solid rgba(243,242,237,0.12); }
  .gp-header.is-open .gp-nav a { padding: 14px 0; font-size: 14px !important; border-bottom: 1px solid rgba(243,242,237,0.08); }
  .gp-header > div { position: relative; }
}
@media (max-width: 480px) {
  .gp-cta { padding: 0 14px !important; min-height: 44px !important; font-size: 14px !important; }
  .gp-cta span { display: none; }
  .gp-header > div > a:first-child svg { width: 96px; }
}

/* Contact form */
.gp-form input:not([type=radio]), .gp-form textarea { transition: border-color .15s; }
.gp-form input:not([type=radio]):focus, .gp-form textarea:focus { outline: none; border-bottom-color: #E0662A !important; }
.gp-form input::placeholder, .gp-form textarea::placeholder { color: #5E666C; }
.gp-chip + span { border-color: rgba(243,242,237,0.28) !important; background: transparent !important; transition: border-color .15s, background .15s; }
.gp-chip:checked + span { border-color: #E0662A !important; background: rgba(224,102,42,0.14) !important; }
.gp-chip:focus-visible + span { outline: 2px solid #E0662A; outline-offset: 2px; }
.gp-form [aria-invalid="true"] { border-bottom-color: #E5675F !important; }
.gp-form-status { margin: 0; font-size: 15px; line-height: 1.5; border-radius: 10px; padding: 12px 14px; }
.gp-form-status.ok { color: #6CCBBE; background: rgba(108,203,190,0.10); border: 1px solid rgba(108,203,190,0.35); }
.gp-form-status.err { color: #F0A49E; background: rgba(229,103,95,0.10); border: 1px solid rgba(229,103,95,0.35); }
.gp-form-status a { color: inherit; }
.gp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
#gp-submit[disabled] { opacity: .6; cursor: progress; }

/* Video tiles */
video { background: #12171B; }

/* Legal pages */
.gp-legal { font-family: Inter, system-ui, sans-serif; max-width: 760px; margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 64px max(20px, env(safe-area-inset-left, 0px)); }
.gp-legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(243,242,237,0.12); }
.gp-back, .gp-legal footer a { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #98A0A6; text-decoration: none; }
.gp-back:hover, .gp-legal footer a:hover { color: #F3F2ED; }
.gp-legal main { padding: 56px 0 24px; }
.gp-legal main p.gp-eyebrow, .gp-eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6CCBBE; margin: 0 0 16px; }
.gp-legal h1 { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; font-size: clamp(36px, 7vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; }
.gp-legal main p.gp-lead, .gp-lead { font-size: 19px; line-height: 1.6; color: #C9C7BF; margin: 0 0 32px; }
.gp-legal h2 { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 600; font-size: 22px; margin: 36px 0 10px; }
.gp-legal main p { font-size: 16.5px; line-height: 1.7; color: #B5B9BC; margin: 0; max-width: 66ch; }
.gp-legal main p a { color: #F3F2ED; }
.gp-legal footer { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgba(243,242,237,0.12); }
.gp-legal footer span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; color: #6B7378; }

@media (max-width: 640px) {
  .gp-footer [style*="align-items: flex-end"] { align-items: flex-start !important; }
}
