/*
Theme Name: Sky 1 Solutions
Description: Custom integrations, practical AI and managed automation for Sky 1 Solutions.
Author: Sky 1 Technologies
Version: 1.0.2
Requires PHP: 7.4
Text Domain: sky1-solutions
*/
@font-face {
  font-family: Sora;
  src: url("assets/fonts/sora-variable.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #edf7fc;
  --muted: #b2c8d8;
  --mint: #48d9c9;
  --line: #28414f;
  --night: #06121c;
  --heading: "Space Grotesk", Arial, sans-serif;
  --measure: 1250px;
  --gutter: clamp(22px, 5.6vw, 84px);
  --edge: max(var(--gutter), calc((100vw - var(--measure)) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 15px/1.75 Sora, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #9affea; outline-offset: 5px; }
::selection { background: #76f2dd; color: #06222b; }
[id] { scroll-margin-top: 105px; }
.skip { position: fixed; z-index: 8; left: 20px; top: -90px; background: var(--ink); color: var(--night); padding: 10px 16px; }
.skip:focus { top: 12px; }
.masthead {
  position: sticky; top: 12px; z-index: 5; width: min(1450px, calc(100% - 32px)); margin: 14px auto 0;
  min-height: 64px; border: 1px solid #354b5c; border-radius: 65px; padding: 8px 10px 8px 23px;
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
  background: rgb(5 18 29 / 91%); backdrop-filter: blur(15px); box-shadow: 0 8px 32px #01070d44;
}
.brand { display: inline-flex; gap: 9px; align-items: center; text-decoration: none; }
.brand img { display: block; width: 49px; height: auto; }
.brand span { color: #effaff; font: 650 17px/1 var(--heading); text-transform: uppercase; letter-spacing: .07em; }
#primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
#primary-nav a, .eyebrow, .node { font: 650 11px/1.5 var(--heading); text-transform: uppercase; letter-spacing: .105em; }
#primary-nav a { color: #c6d9e5; text-decoration: none; padding: 9px 0; }
#primary-nav a:hover, .text-link:hover, footer a:hover { color: var(--mint); }
.menu-toggle { display: none; }
.button { min-height: 44px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 8px; text-decoration: none; font: 650 13px/1.38 var(--heading); }
.button span { font-size: 17px; line-height: 1; }
.primary { color: #fff; background: linear-gradient(120deg, #247cb5, #176698); border: 1px solid #66bafa91; box-shadow: 0 4px 22px #06132060; }
.primary:hover { background: #227eba; border-color: #9cd7ff; }
.secondary { background: #0717249c; border: 1px solid #5f8393; }
.secondary:hover { border-color: var(--mint); background: #122c35; }
.nav-action { min-height: 40px; padding: 10px 15px; border-radius: 80px; font-size: 12px; }
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -78px; background: #081722; }
.sky, .hills, .hero::after { position: absolute; pointer-events: none; }
.sky { inset: 0; z-index: -3; background: url("assets/night-sky.jpg") center 43% / cover; filter: hue-rotate(142deg) saturate(.74) brightness(.78); }
.hills { bottom: -1px; inset-inline: 0; height: 28%; z-index: -2; background: url("assets/rolling-hills.svg") center 63% / cover; filter: hue-rotate(138deg) saturate(.7) brightness(.6); mask-image: linear-gradient(transparent, black 26%); }
.hero::after { content: ""; inset: 0; z-index: -1; background: linear-gradient(90deg, #04111cf7 0%, #07141de3 29%, #07142169 63%, #07142127 100%), linear-gradient(0deg, var(--night) 0%, #08172233 14%, transparent 56%, #0815218c); }
.hero-inner { display: grid; grid-template-columns: 1.17fr .83fr; align-items: center; gap: 16px; margin: auto; padding: clamp(140px, 10.7vw, 174px) var(--edge) clamp(70px, 6.3vw, 105px); }
.eyebrow { color: var(--mint); margin: 0 0 17px; }
.hero .eyebrow::before, .section-heading .eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; margin: 0 10px 3px 0; background: currentColor; }
h1, h2, h3 { font-family: var(--heading); text-wrap: balance; margin: 0; }
h1, h2 { text-transform: uppercase; }
h1 { font-size: clamp(58px, 6.45vw, 100px); line-height: .9; letter-spacing: -.069em; }
h1 em { color: var(--mint); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 64ch; font-size: 14px; line-height: 1.65; }
.hero-copy > p.lead { margin: 23px 0 11px; color: #e0edf4; font-size: clamp(15px, 1.23vw, 18px); max-width: 59ch; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.constellation { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.22; }
.chart { position: absolute; inset: 0; pointer-events: none; }
.orbit { position: absolute; inset: 5% 4%; border: 1px solid #8dd6e350; border-radius: 50%; transform: rotate(-23deg); }
.orbit.inner { inset: 18% 16%; }
.orbit.polar { inset: 1% 31%; transform: rotate(58deg); border-style: dashed; border-color: #85d6dc40; }
.axis, .beam { position: absolute; left: 50%; top: 50%; height: 1px; transform-origin: left; background: #60d5cb99; }
.axis { width: 98%; transform: translateX(-50%); background: repeating-linear-gradient(to right,#7bcccf55 0 3px, transparent 3px 9px); }
.axis.cross { width: 80%; transform: rotate(90deg) translateX(-50%); }
.b1 { width: 39%; transform: rotate(-50deg); }
.b2 { width: 43%; transform: rotate(148deg); }
.b3 { width: 42%; transform: rotate(36deg); }
.nucleus { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 23px; height: 23px; border-radius: 50%; background: #b4fff1; box-shadow: 0 0 0 10px #74fff61a, 0 0 42px 14px #3ee0cc65; }
.node { position: absolute; display: flex; align-items: center; gap: 9px; width: max-content; max-width: 100%; color: #ddf7fa; text-decoration: none; background: #081c29ed; border: 1px solid #3c707e; border-radius: 3px; padding: 12px 14px; box-shadow: 0 6px 18px #030e1740; font-size: clamp(9px,.75vw,11px); }
.node:hover { border-color: var(--mint); background: #14323b; }
.node i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.node span { color: var(--mint); }
.node-a { top: 12%; right: 0; }
.node-b { top: 67%; left: 1%; }
.node-c { bottom: 12%; right: -1%; }
.content-section { padding: clamp(64px, 7vw, 110px) var(--edge); }
h2 { max-width: 23ch; font-size: clamp(36px, 4.15vw, 66px); font-weight: 650; line-height: .99; letter-spacing: -.06em; }
h2 span { color: var(--mint); }
h3 { font-size: clamp(21px, 2vw, 31px); font-weight: 600; line-height: 1.1; letter-spacing: -.042em; }
.section-heading > p:not(.eyebrow) { margin: 19px 0 0; }
.slowdown, .managed, .process, .about, .contact { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(34px, 7vw, 110px); }
.slowdown { background: linear-gradient(125deg, #0e2331, #091924 62%); border-block: 1px solid var(--line); }
.section-copy { max-width: 68ch; }
.pull-quote { border-left: 2px solid var(--mint); padding-left: 18px; color: #e1f3f6; }
.pull-quote strong { font-weight: 550; }
.examples .section-heading { margin-bottom: 38px; }
.examples .example-group-title { margin: 44px 0 18px; color: var(--mint); }
.example-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); }
.example-list article { padding: 29px 0; border-bottom: 1px solid var(--line); }
.example-list :is(h3, h4) { font: 600 clamp(21px, 2vw, 31px)/1.1 var(--heading); letter-spacing: -.042em; text-wrap: balance; max-width: 28ch; margin: 0 0 12px; }
@media (min-width: 521px) {
  .example-list { --example-gutter: clamp(18px, 2.8vw, 35px); }
  .featured-examples { grid-template-rows: repeat(2, auto); grid-auto-flow: column; }
  .example-list article { padding-right: var(--example-gutter); }
  .example-list:not(.featured-examples) article:nth-child(even),
  .featured-examples article:nth-child(n+3) { border-left: 1px solid var(--line); padding-left: var(--example-gutter); padding-right: 0; }
}
.section-note { margin-top: 25px; max-width: 84ch; }
.section-note strong { font-weight: 450; }
.solutions { background: #0a1b28; border-block: 1px solid var(--line); }
.solution-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 44px; border: 1px solid #33505e; }
.solution-grid article { padding: clamp(22px,2.5vw,38px); background: linear-gradient(145deg,#112c39,#0a1a26 76%); }
.solution-grid article + article { border-left: 1px solid #33505e; }
.solution-grid h3::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: 34px; background: var(--mint); }
.solution-grid h3 { margin-bottom: 14px; }
.solution-grid p, .example-list p, .steps p { font-size: 14px; line-height: 1.75; }
.managed { position: relative; isolation: isolate; overflow: hidden; background: #081723; border-bottom: 1px solid var(--line); }
.managed::before { content: ""; position: absolute; inset: 0 52% 0 0; z-index: -1; opacity: .28; background: linear-gradient(to right, transparent 50%, #081723), linear-gradient(to bottom, #081723 17%, transparent), url("assets/night-sky.jpg") center / cover; filter: grayscale(.8); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: start; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps .step-number { flex: 0 0 36px; padding: 5px 0; text-align: center; color: var(--mint); border: 1px solid #305b60; border-radius: 50%; font: 600 12px/24px var(--heading); }
.steps h3 { margin: 3px 0 9px; }
.about { padding-top: 0; }
.about > div { padding-top: clamp(38px,4.3vw,70px); border-top: 1px solid var(--line); }
.contact { background: linear-gradient(115deg, #123c45, #0c2537 70%); border-block: 1px solid #365966; }
.contact .section-copy p { color: #cedeeb; }
.contact .section-copy h2 { margin-bottom: 24px; }
.workflow-form {
  min-width: 0;
  padding: clamp(21px, 2.7vw, 40px);
  background: #081c28;
  border: 1px solid #3a5969;
  border-radius: 12px;
}
#workflow-form .gform_wrapper {
  --gf-color-in-ctrl: var(--ink);
  --gf-color-in-ctrl-primary: #06131d;
  --gf-color-in-ctrl-light: var(--muted);
  --gf-color-primary: #176698;
  --gf-color-out-ctrl-dark: var(--ink);
  --gf-color-out-ctrl-light: var(--muted);
  font-family: Sora, Arial, sans-serif;
  margin: 0;
}
#workflow-form .gf_progressbar_wrapper { margin: 0 0 22px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
#workflow-form .gf_progressbar_title { margin: 0; color: var(--mint); font: 650 12px/1.5 var(--heading); }
#workflow-form .gf_step_page_name { color: var(--ink); font: 600 22px/1.3 var(--heading); }
#workflow-form .gf_progressbar { display: none; }
#workflow-form .gform_fields { column-gap: 14px; row-gap: 19px; }
#workflow-form .gfield_label { display: inline-block; margin-bottom: 7px; color: var(--ink); font: 600 16px/1.35 var(--heading); }
#workflow-form .gfield_description, #workflow-form .gform_required_legend { color: var(--muted); font-size: 13px; line-height: 1.5; }
#workflow-form .field_description_above .gfield_description { padding: 0 0 7px; }
#workflow-form .gfield_required { color: #94e9d9; }
#workflow-form .ginput_container :is(input:not([type=hidden]), textarea) {
  width: 100%; min-height: 44px; height: auto; padding: 11px 13px; border: 1px solid #537080; border-radius: 6px;
  background: #06131d; color: var(--ink); font: 400 16px/1.45 Sora, Arial, sans-serif; box-shadow: none;
}
#workflow-form .ginput_container textarea.textarea { height: 7rem; min-height: 94px; max-height: none; resize: vertical; }
#workflow-form .gfield--width-half { align-self: end; }
#workflow-form .ginput_counter { display: none; }
#workflow-form .ginput_container :is(input, textarea)::placeholder { color: #a2b5c3; font-size: 14px; opacity: 1; }
#workflow-form :is(input, textarea, button):focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
#workflow-form .gform_page_footer { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 24px 0 0; border: 0; }
#workflow-form .gform_page_footer :is(input[type=button], input[type=submit], button) {
  cursor: pointer; width: auto; min-height: 44px; margin: 0; padding: 12px 18px; border: 1px solid #66bafa91; border-radius: 8px;
  background: linear-gradient(120deg, #247cb5, #176698); color: white; font: 650 14px/1.4 var(--heading);
}
#workflow-form .gform_page_footer .gform_previous_button { background: #071724; border-color: #5f8393; }
#workflow-form .gform_validation_errors, #workflow-form .validation_message { color: #ffd2cd; background: #351d24; border-color: #a35f65; }
#workflow-form .gform_validation_errors h2 { max-width: none; color: #ffd2cd; text-transform: none; font: 600 17px/1.45 var(--heading); }
#workflow-form .gform_confirmation_message { color: var(--ink); font: 550 19px/1.5 var(--heading); }
@media (max-width: 1050px) {
  #workflow-form .gfield--width-half { grid-column: 1 / -1; }
}
.footer-privacy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.footer-privacy .sky1-privacy-choices-inline { font: inherit; }
.site-content { max-width: 88ch; min-height: 46vh; margin: auto; padding-inline: var(--gutter); }
.site-content h1 { font-size: clamp(34px, 4vw, 56px); margin: 0 0 30px; }
.site-content h2 { max-width: none; margin: 28px 0 12px; font-size: clamp(23px, 3vw, 35px); text-transform: none; }
.site-content a { text-decoration: underline; text-underline-offset: .2em; }
.text-link, footer a { text-decoration-color: #597b8c; text-underline-offset: 4px; }
.text-link { font: 600 13px/1.5 var(--heading); padding: 10px 0; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 42px var(--edge); }
footer p { font-size: 12px; }
footer .brand { margin-bottom: 8px; }
footer small { color: #93acbc; font: 550 10px/1.5 var(--heading); letter-spacing: .09em; }
@media (min-width: 1500px) {
  .hero-inner { min-height: min(92svh, 950px); }
}
@media (max-width: 1050px) {
  .masthead { gap: 12px; }
  #primary-nav { gap: 14px; }
  .hero-inner { grid-template-columns: 1.2fr .8fr; }
  .node { font-size: 9px; padding: 9px; gap: 5px; }
  .nav-action { font-size: 11px; }
}
@media (max-width: 760px) {
  [id] { scroll-margin-top: 88px; }
  .masthead { top: 8px; min-height: 52px; width: calc(100% - 20px); padding: 5px 8px 5px 16px; margin-top: 9px; }
  .brand img { width: 40px; }
  .brand span { font-size: 15px; }
  .nav-action { display: none; }
  .menu-toggle { width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border-radius: 50%; border: 1px solid #416070; background: #0e2431; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--ink); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  #primary-nav { display: none; position: absolute; top: calc(100% + 7px); left: 0; right: 0; padding: 8px; background: #071924; border: 1px solid var(--line); border-radius: 16px; }
  #primary-nav.open { display: grid; gap: 0; }
  #primary-nav a { padding: 14px; }
  .hero { margin-top: -61px; }
  .hero-inner { display: block; padding: 112px var(--gutter) 52px; }
  .constellation { display: none; }
  .hero-copy { max-width: 560px; }
  .hero .eyebrow { max-width: 32ch; line-height: 1.6; }
  .sky { background-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, #05121ce8, #05121c82 74%, #06121c3d), linear-gradient(0deg, var(--night), transparent 68%); }
  h1 { font-size: clamp(48px, 11.7vw, 72px); }
  .hero-copy > p.lead { margin-top: 22px; }
  .content-section { padding-block: 62px; }
  .slowdown, .managed, .process, .about, .contact { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .solution-grid h3::before { margin-bottom: 18px; }
  .solution-grid, .examples .section-heading { margin-bottom: 0; }
  .example-list { margin-top: 26px; }
  .example-group-title + .example-list { margin-top: 0; }
  .about { padding-top: 0; }
  .about > .section-copy { border: 0; padding: 0; }
  .managed::before { inset: 0; opacity: .15; }
  .contact h2 br { display: none; }
  footer { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .example-list { grid-template-columns: 1fr; }
  .example-list article { padding: 23px 0; }
  .actions { align-items: flex-start; gap: 10px; }
  .actions .button { font-size: 12px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
