/* Website Design Galaxy v174: Galaxy-specific project intake */

html[data-theme] body.galaxy-contact-page {
  background: var(--studio-page);
}

.galaxy-contact-page main {
  overflow: clip;
}

.galaxy-intake-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(680px, calc(100svh - 112px));
  padding: 0 !important;
  align-items: center;
  overflow: hidden;
  background-color: #0a1018;
  background-image:
    linear-gradient(90deg, rgba(5, 9, 15, .97) 0%, rgba(7, 13, 21, .91) 42%, rgba(7, 13, 21, .52) 72%, rgba(5, 9, 15, .72) 100%),
    linear-gradient(180deg, rgba(5, 9, 15, .08) 48%, rgba(5, 9, 15, .94) 100%),
    url("../img/optimized/galactic-web-design-hero-functional.jpg");
  background-position: center, center, 58% center;
  background-repeat: no-repeat;
  background-size: cover;
}

.galaxy-intake-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(115deg, var(--theme-glow-a), transparent 38%, var(--theme-glow-b));
  content: "";
  pointer-events: none;
}

.galaxy-intake-hero-inner {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-inline: auto;
  padding-top: clamp(58px, 7vh, 78px);
  padding-bottom: clamp(48px, 6vh, 68px);
}

.galaxy-intake-hero-copy {
  max-width: 780px;
}

.galaxy-intake-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding-left: 9px;
  border-left: 2px solid var(--studio-metal);
  color: var(--studio-accent-hover) !important;
  -webkit-text-fill-color: var(--studio-accent-hover) !important;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.6;
  text-transform: uppercase;
}

html[data-theme] body.galaxy-contact-page main .galaxy-intake-hero .galaxy-intake-kicker {
  color: #f1d994 !important;
  -webkit-text-fill-color: #f1d994 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .68) !important;
}

html[data-theme] body.galaxy-contact-page main .galaxy-intake-hero h1 {
  max-width: 720px;
  margin: 18px 0 22px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .46) !important;
}

html[data-theme] body.galaxy-contact-page main .galaxy-intake-hero .lead {
  max-width: 690px;
  margin: 0;
  color: #e7edf1 !important;
  -webkit-text-fill-color: #e7edf1 !important;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .54) !important;
}

.galaxy-intake-hero .hero-actions {
  margin-top: 30px;
}

html[data-theme] body .galaxy-intake-hero .btn.primary {
  border-color: var(--studio-accent-soft) !important;
  background: var(--studio-accent) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme] body .galaxy-intake-hero .btn.primary:is(:hover, :focus-visible) {
  border-color: #ffffff !important;
  background: var(--studio-accent-hover) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme] body .galaxy-intake-hero .btn.secondary {
  border-color: rgba(255, 255, 255, .52) !important;
  background: rgba(8, 13, 20, .74) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  backdrop-filter: blur(9px);
}

html[data-theme] body .galaxy-intake-hero .btn.secondary:is(:hover, :focus-visible) {
  border-color: #ffffff !important;
  background: #ffffff !important;
  color: #10161c !important;
  -webkit-text-fill-color: #10161c !important;
}

.galaxy-intake-assurances {
  display: grid;
  max-width: 760px;
  margin: 42px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.galaxy-intake-assurances li {
  min-width: 0;
  padding: 15px 22px 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .42);
}

.galaxy-intake-assurances li + li {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.galaxy-intake-assurances strong,
.galaxy-intake-assurances span {
  display: block;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.galaxy-intake-assurances strong {
  font-size: .94rem;
}

.galaxy-intake-assurances span {
  margin-top: 5px;
  color: #cdd7de !important;
  -webkit-text-fill-color: #cdd7de !important;
  font-size: .82rem;
  line-height: 1.45;
}

html[data-theme] body.galaxy-contact-page main .galaxy-intake-routes {
  padding: clamp(72px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--studio-border-dark) !important;
  background: transparent !important;
  color: var(--studio-on-dark) !important;
}

.galaxy-intake-section-heading {
  display: grid;
  max-width: 880px;
  margin-bottom: 34px;
  gap: 12px;
}

.galaxy-intake-section-heading h2,
.galaxy-project-form h2,
.galaxy-direct-panel h2 {
  margin: 0;
  color: var(--studio-ink) !important;
  -webkit-text-fill-color: var(--studio-ink) !important;
  text-wrap: balance;
}

.galaxy-intake-section-heading h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
}

html:not([data-theme="light"]) body.galaxy-contact-page main .galaxy-intake-section-heading h2 {
  color: var(--studio-on-dark) !important;
  -webkit-text-fill-color: var(--studio-on-dark) !important;
}

html:not([data-theme="light"]) body.galaxy-contact-page main .galaxy-intake-section-heading > p:not(.galaxy-intake-kicker) {
  color: var(--studio-on-dark-muted) !important;
  -webkit-text-fill-color: var(--studio-on-dark-muted) !important;
}

html:not([data-theme="light"]) body.galaxy-contact-page main .galaxy-intake-section-heading .galaxy-intake-kicker {
  color: #dfc987 !important;
  -webkit-text-fill-color: #dfc987 !important;
}

html[data-theme="light"] body.galaxy-contact-page main .galaxy-intake-routes {
  border-bottom-color: var(--studio-border) !important;
  background: var(--studio-surface-alt) !important;
  color: var(--studio-ink) !important;
}

html[data-theme="light"] body.galaxy-contact-page main .galaxy-intake-section-heading h2 {
  color: #17202a !important;
  -webkit-text-fill-color: #17202a !important;
}

html[data-theme="light"] body.galaxy-contact-page main .galaxy-intake-section-heading > p:not(.galaxy-intake-kicker) {
  color: #45515d !important;
  -webkit-text-fill-color: #45515d !important;
}

html[data-theme="light"] body.galaxy-contact-page main .galaxy-intake-section-heading .galaxy-intake-kicker {
  color: #665020 !important;
  -webkit-text-fill-color: #665020 !important;
}

.galaxy-intake-section-heading > p:not(.galaxy-intake-kicker),
.galaxy-project-form-intro > p:not(.galaxy-intake-kicker),
.galaxy-direct-panel > p:not(.galaxy-intake-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--studio-copy) !important;
  -webkit-text-fill-color: var(--studio-copy) !important;
  line-height: 1.7;
}

.galaxy-intake-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--studio-border);
  background: var(--studio-border);
  gap: 1px;
}

html[data-theme] body main .galaxy-intake-route {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 310px;
  padding: 28px;
  flex-direction: column;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--studio-surface) !important;
  box-shadow: none !important;
  color: var(--studio-ink) !important;
  -webkit-text-fill-color: var(--studio-ink) !important;
  text-decoration: none;
  transition: background var(--studio-transition), transform var(--studio-transition), box-shadow var(--studio-transition) !important;
}

.galaxy-intake-route::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--studio-accent), var(--studio-metal));
  content: "";
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform var(--studio-transition);
}

.galaxy-intake-route > span:first-child {
  color: var(--studio-accent-hover) !important;
  -webkit-text-fill-color: var(--studio-accent-hover) !important;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.galaxy-intake-route h3 {
  margin: 15px 0 12px;
  color: var(--studio-ink) !important;
  -webkit-text-fill-color: var(--studio-ink) !important;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.14;
}

.galaxy-intake-route p {
  margin: 0;
  color: var(--studio-copy) !important;
  -webkit-text-fill-color: var(--studio-copy) !important;
  line-height: 1.65;
}

.galaxy-intake-route b {
  display: flex;
  width: fit-content;
  min-height: 0;
  margin-top: auto;
  padding-top: 26px;
  align-items: center;
  border: 0 !important;
  background: transparent !important;
  color: var(--studio-accent-hover) !important;
  -webkit-text-fill-color: var(--studio-accent-hover) !important;
  font-size: .86rem;
  gap: 8px;
}

.galaxy-intake-route:is(:hover, :focus-visible) {
  z-index: 1;
  background: var(--studio-surface-alt) !important;
  box-shadow: 0 14px 32px rgba(3, 7, 11, .16) !important;
  transform: translateY(-4px);
}

.galaxy-intake-route:is(:hover, :focus-visible)::before {
  transform: scaleX(1);
}

.galaxy-intake-route:is(:hover, :focus-visible) b {
  color: var(--studio-accent-hover) !important;
  -webkit-text-fill-color: var(--studio-accent-hover) !important;
}

.galaxy-intake-section {
  padding: clamp(76px, 9vw, 124px) 0;
  background:
    linear-gradient(135deg, var(--theme-glow-a), transparent 36%, var(--theme-glow-b)),
    var(--studio-page);
  scroll-margin-top: 96px;
}

.galaxy-intake-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, .78fr);
  gap: clamp(28px, 4vw, 54px);
}

html[data-theme] body main .galaxy-project-form {
  display: grid;
  margin: 0;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--studio-border) !important;
  border-radius: var(--studio-radius) !important;
  background: var(--studio-surface) !important;
  box-shadow: var(--studio-shadow) !important;
  color: var(--studio-ink) !important;
  -webkit-text-fill-color: var(--studio-ink) !important;
  gap: 22px;
}

.galaxy-project-form-intro {
  display: grid;
  margin-bottom: 4px;
  gap: 12px;
}

.galaxy-project-form h2,
.galaxy-direct-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.galaxy-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

html[data-theme] body .galaxy-project-form label {
  display: grid;
  min-width: 0;
  color: var(--studio-ink) !important;
  -webkit-text-fill-color: var(--studio-ink) !important;
  font-weight: 750;
  gap: 8px;
}

html[data-theme] body .galaxy-project-form :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--studio-border) !important;
  border-radius: var(--studio-radius-small) !important;
  background: var(--studio-surface-alt) !important;
  color: var(--studio-ink) !important;
  -webkit-text-fill-color: var(--studio-ink) !important;
  box-shadow: none !important;
}

html[data-theme] body .galaxy-project-form :is(input, select) {
  min-height: 52px;
}

html[data-theme] body .galaxy-project-form textarea {
  min-height: 190px;
  resize: vertical;
}

html[data-theme] body .galaxy-project-form :is(input, textarea)::placeholder {
  color: #65717b !important;
  -webkit-text-fill-color: #65717b !important;
  opacity: 1;
}

html[data-theme] body .galaxy-project-form :is(input, select, textarea):focus {
  border-color: var(--studio-accent) !important;
  background: #ffffff !important;
}

html[data-theme] body .galaxy-project-form .fine-print {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--studio-metal);
  background: var(--studio-surface-alt);
  color: var(--studio-copy) !important;
  -webkit-text-fill-color: var(--studio-copy) !important;
  font-size: .84rem;
  line-height: 1.65;
}

html[data-theme] body .galaxy-project-form .fine-print strong {
  color: var(--studio-ink) !important;
  -webkit-text-fill-color: var(--studio-ink) !important;
}

.galaxy-project-form .wide-btn {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.galaxy-intake-sidebar {
  display: grid;
  gap: 20px;
}

.galaxy-next-panel,
.galaxy-direct-panel {
  padding: clamp(26px, 3.4vw, 38px);
  border-radius: var(--studio-radius);
}

.galaxy-next-panel {
  border: 1px solid var(--studio-border-dark);
  background: var(--studio-dark-panel);
  box-shadow: var(--studio-shadow);
}

html[data-theme] body .galaxy-next-panel .galaxy-intake-kicker {
  color: #dfc987 !important;
  -webkit-text-fill-color: #dfc987 !important;
}

html[data-theme] body.galaxy-contact-page main .galaxy-next-panel h2 {
  margin: 15px 0 0;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.1;
  text-wrap: balance;
}

.galaxy-next-steps {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  counter-reset: intake-step;
  list-style: none;
}

.galaxy-next-steps li {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 22px 0 22px 52px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  counter-increment: intake-step;
}

.galaxy-next-steps li::before {
  position: absolute;
  top: 21px;
  left: 0;
  color: #dfc987;
  content: "0" counter(intake-step);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.galaxy-next-steps strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.galaxy-next-steps p {
  margin: 7px 0 0;
  color: #c7d0d6 !important;
  -webkit-text-fill-color: #c7d0d6 !important;
  font-size: .91rem;
  line-height: 1.65;
}

.galaxy-direct-panel {
  border: 1px solid var(--studio-border);
  background: var(--studio-surface);
  box-shadow: var(--studio-shadow-soft);
}

.galaxy-direct-panel h2 {
  margin: 15px 0 12px;
}

.galaxy-email-link {
  display: flex;
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  padding: 13px 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--studio-accent);
  border-radius: var(--studio-radius-small);
  background: var(--studio-surface-alt);
  color: var(--studio-accent-hover) !important;
  -webkit-text-fill-color: var(--studio-accent-hover) !important;
  font-weight: 800;
  overflow-wrap: anywhere;
  transition: background var(--studio-transition), color var(--studio-transition), transform var(--studio-transition);
}

.galaxy-email-link:is(:hover, :focus-visible) {
  background: var(--studio-accent-hover);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: translateY(-1px);
}

.galaxy-security-note {
  margin-top: 20px !important;
  padding-top: 18px;
  border-top: 1px solid var(--studio-border);
  font-size: .78rem;
}

@media (max-width: 1080px) {
  .galaxy-intake-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .galaxy-intake-route {
    min-height: 270px !important;
  }

  .galaxy-intake-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  }
}

@media (max-width: 820px) {
  .galaxy-intake-hero {
    min-height: auto;
    background-image:
      linear-gradient(90deg, rgba(5, 9, 15, .96), rgba(7, 13, 21, .78)),
      linear-gradient(180deg, rgba(5, 9, 15, .1) 38%, rgba(5, 9, 15, .96) 100%),
      url("../img/optimized/galactic-web-design-hero-functional.jpg");
    background-position: center, center, 62% center;
  }

  .galaxy-intake-hero-inner {
    width: min(100% - 32px, 1180px);
    padding-top: 76px;
    padding-bottom: 58px;
  }

  .galaxy-intake-hero h1 {
    font-size: clamp(2.65rem, 10vw, 4.35rem);
  }

  .galaxy-intake-layout {
    grid-template-columns: 1fr;
  }

  .galaxy-intake-sidebar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .galaxy-intake-hero-inner {
    width: min(100% - 28px, 1180px);
    padding-top: 62px;
    padding-bottom: 46px;
  }

  .galaxy-intake-hero h1 {
    margin-top: 16px;
    font-size: clamp(2.35rem, 12.5vw, 3.25rem);
    line-height: 1.04;
  }

  .galaxy-intake-hero .lead {
    font-size: .98rem;
    line-height: 1.62;
  }

  .galaxy-intake-hero .hero-actions,
  .galaxy-intake-hero .hero-actions .btn {
    width: 100%;
  }

  .galaxy-intake-assurances {
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .galaxy-intake-assurances li,
  .galaxy-intake-assurances li + li {
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, .28);
    border-left: 0;
  }

  .galaxy-intake-routes,
  .galaxy-intake-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .galaxy-intake-route-grid,
  .galaxy-field-grid,
  .galaxy-intake-sidebar {
    grid-template-columns: 1fr;
  }

  html[data-theme] body main .galaxy-intake-route {
    min-height: 0 !important;
    padding: 24px;
  }

  .galaxy-intake-route b {
    margin-top: 12px;
    padding-top: 14px;
  }

  html[data-theme] body main .galaxy-project-form,
  .galaxy-next-panel,
  .galaxy-direct-panel {
    padding: 24px;
  }

  .galaxy-next-steps li {
    padding-left: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .galaxy-intake-route,
  .galaxy-intake-route::before,
  .galaxy-email-link {
    transition: none !important;
  }

  .galaxy-intake-route:is(:hover, :focus-visible),
  .galaxy-email-link:is(:hover, :focus-visible) {
    transform: none !important;
  }
}

.sample-intake-confirmation {
  margin: 20px 0 0;
  padding: 15px 17px;
  border: 1px solid rgba(15, 111, 148, .28);
  border-left: 4px solid #0f6f94;
  background: linear-gradient(135deg, rgba(237, 252, 252, .98), rgba(255, 248, 218, .96));
  color: #24133c !important;
  -webkit-text-fill-color: #24133c !important;
  box-shadow: 0 12px 28px rgba(7, 13, 21, .12);
}

.sample-intake-confirmation strong {
  display: block;
  margin-bottom: 3px;
  color: #143b68 !important;
  -webkit-text-fill-color: #143b68 !important;
}
