/* ==========================================================================
   SkyConnect — stylesheet
   Theme: LIGHT steel blue (#475569) on warm cream (#F7F6F4)
   ========================================================================== */

:root {
  --bg: #F7F6F4;
  --bg-soft: #EFEEEA;
  --ink: #1F232B;
  --ink-soft: #3A4150;
  --muted: #5B6472;
  --steel: #475569;
  --steel-deep: #334155;
  --steel-soft: #94A3B8;
  --line: #DCDBD6;
  --white: #FFFFFF;
  --accent-ink: #FFFFFF;
  --radius: 16px;
  --max: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.12;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

a {
  color: var(--steel);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}

/* ==========================================================================
   Brand + menu
   ========================================================================== */

.brand {
  position: fixed;
  top: 26px;
  left: 30px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background-color: var(--steel);
  color: var(--white);
  font-size: 1rem;
}

.menu-button {
  display: none;
  position: fixed;
  top: 26px;
  right: 24px;
  z-index: 70;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background-color: var(--bg);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Side number rail (fixed navigation)
   ========================================================================== */

.number-rail {
  position: fixed;
  top: 50%;
  right: 26px;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-num {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--bg);
  color: var(--steel-deep);
  font-size: 0.68rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rail-label {
  white-space: nowrap;
  transition: color 0.2s ease;
}

.rail-link:hover .rail-label,
.rail-link.is-active .rail-label {
  color: var(--steel-deep);
}

.rail-link.is-active .rail-num {
  background-color: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

/* ==========================================================================
   Hero — glassmorphism
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, #D7DEE8 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, #E3E1DA 0%, transparent 45%),
    linear-gradient(160deg, #FBFBFA 0%, #F1F0ED 100%);
}

.field-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, #CBD5E1 0%, transparent 70%);
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: -100px;
  left: -90px;
  background: radial-gradient(circle, #D8D2C4 0%, transparent 70%);
}

.orb-c {
  width: 260px;
  height: 260px;
  top: 40%;
  left: 38%;
  background: radial-gradient(circle, #B6C2D4 0%, transparent 70%);
}

.field-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(71, 85, 105, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 85, 105, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  margin-bottom: 22px;
}

.hero-copy .lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background-color: var(--steel);
  color: var(--white);
  border: 1px solid var(--steel);
}

.btn-solid:hover {
  background-color: var(--steel-deep);
  border-color: var(--steel-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--steel-deep);
  border: 1px solid var(--steel-soft);
}

.btn-ghost:hover {
  border-color: var(--steel);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-meta span {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-meta strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--steel-deep);
  font-weight: 700;
}

/* Glass panels (non-text elements may use rgba) */

.glass-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
  justify-content: center;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(51, 65, 85, 0.14);
  border-radius: 20px;
  padding: 22px 24px;
}

.glass-panel .panel-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}

.glass-panel .panel-big {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 14px;
}

.glass-panel .panel-note {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.panel-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background-color: #E6E4DF;
  overflow: hidden;
  margin-bottom: 12px;
}

.panel-fill {
  display: block;
  height: 100%;
  width: 86%;
  border-radius: 999px;
  background-color: var(--steel);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.08);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.panel-row:last-child { border-bottom: none; }

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--steel-deep);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.14);
  padding: 5px 11px;
  border-radius: 999px;
}

.panel-a { margin-right: 40px; }
.panel-b { margin-left: 40px; }
.panel-c { margin-right: 22px; }

/* ==========================================================================
   Section head
   ========================================================================== */

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 680px;
  margin-top: 12px;
}

/* ==========================================================================
   Capabilities
   ========================================================================== */

.capabilities-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.capability {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capability:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(51, 65, 85, 0.1);
}

.cap-numeral {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--steel-soft);
  line-height: 1;
  margin-bottom: 18px;
}

.capability h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.capability p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.capability ul {
  list-style: none;
}

.capability li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 7px;
}

.capability li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background-color: var(--steel);
}

/* ==========================================================================
   Method
   ========================================================================== */

.method-section {
  padding: 96px 0;
  background-color: var(--bg);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.method-stage {
  border-top: 3px solid var(--steel-soft);
  padding-top: 22px;
}

.stage-index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--steel);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.method-stage h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.method-stage p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ==========================================================================
   Industries
   ========================================================================== */

.industries-section {
  padding: 96px 0;
  background-color: var(--steel-deep);
}

.industries-section .section-head h2,
.industries-section .section-head .section-lead,
.industries-section .section-head .eyebrow {
  color: var(--white);
}

.industries-section .section-lead { color: #C6CFDB; }
.industries-section .eyebrow { color: var(--steel-soft); }

.industry-table {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry-row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1.3fr;
  gap: 16px;
  padding: 18px 22px;
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.industry-row:last-child { border-bottom: none; }

.industry-head {
  background-color: var(--steel);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.contact-details {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.contact-details .detail-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 4px;
}

.contact-details a,
.contact-details span:not(.detail-label) {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.contact-form {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form label span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background-color: var(--bg);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--steel);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.88rem;
  color: var(--steel-deep);
  min-height: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  background-color: var(--ink);
  color: #C6CFDB;
  padding: 80px 0 30px;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 7rem;
  line-height: 1;
  color: #2A303B;
  letter-spacing: -0.03em;
  user-select: none;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 0.9rem;
  color: #9AA6B5;
  line-height: 1.6;
}

.footer-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #C6CFDB;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #8B96A5;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .capability-list { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .glass-stack { max-width: 520px; }
}

@media (max-width: 760px) {
  .brand { left: 20px; top: 20px; }
  .menu-button { display: flex; }

  .number-rail {
    top: 84px;
    right: 16px;
    transform: none;
    background-color: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 18px 40px rgba(51, 65, 85, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .number-rail.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rail-link { justify-content: flex-start; }

  .hero-section { padding-top: 100px; }
  .hero-meta { gap: 20px; }
  .panel-a { margin-right: 0; }
  .panel-b { margin-left: 0; }

  .capability-list { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .industry-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .industry-head { display: none; }
  .industry-row [role="cell"]::before {
    content: attr(data-label);
  }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-meta span { flex: 1 0 40%; }
  .footer-watermark { font-size: 4rem; }
}
