/*
  GRAINSMultimedia LLC / GASH IT Solutions
  Production website stylesheet
  Standard sRGB hexadecimal and rgba values are used for broad browser consistency.
*/

:root {
  --purple-700: #6d28d9;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-300: #c4b5fd;
  --blue-500: #3b82f6;
  --teal-600: #0d9488;

  --ink-950: #080b14;
  --ink-900: #0d1220;
  --ink-800: #151c2f;
  --ink-700: #25304a;

  --text-light: #f8fafc;
  --text-soft: #d8e1ee;
  --text-muted: #aebbd0;

  --paper: #ffffff;
  --paper-soft: #f7f7fb;
  --paper-line: #e3e5ec;

  --text-dark: #1a1f2b;
  --text-dark-soft: #4b5565;

  --max-width: 1200px;

  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;

  --shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}


/* ==================================================
   RESET / GLOBAL
================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-dark);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: var(--purple-700);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #4c1d95;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--purple-300);
  outline-offset: 3px;
}


/* ==================================================
   ACCESSIBILITY
================================================== */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--text-dark);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}


/* ==================================================
   LAYOUT
================================================== */

.wrap {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}


/* ==================================================
   HEADER
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 4px solid var(--purple-600);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  width: 190px;
  max-height: 82px;
  object-fit: contain;
}


/* ==================================================
   NAVIGATION
================================================== */

.site-nav {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: #f2ebff;
  color: var(--purple-700);
}

.nav-toggle {
  display: none;
  border: 1px solid #c7c9d4;
  border-radius: 8px;
  background: var(--paper);
  color: var(--text-dark);
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
}


/* ==================================================
   SHARED SECTIONS
================================================== */

.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--ink-900);
  color: var(--text-light);
}

.section-dark a {
  color: var(--purple-300);
}

.section-purple {
  background-color: var(--purple-700);
  background-image:
    linear-gradient(
      125deg,
      var(--purple-700),
      #4f46e5 68%,
      #2563eb
    );
  color: var(--text-light);
}


/* ==================================================
   TYPOGRAPHY
================================================== */

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ede9fe;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.13;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--text-dark-soft);
  font-size: 18px;
}


/* ==================================================
   HERO
================================================== */

.hero {
  overflow: hidden;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(
      circle at 18% 18%,
      rgba(124, 58, 237, 0.30),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 20%,
      rgba(59, 130, 246, 0.18),
      transparent 30%
    );
  color: var(--text-light);
  padding: clamp(70px, 9vw, 120px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(300px, 0.8fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.hero .eyebrow {
  color: var(--purple-300);
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 21px);
}

.gradient-text {
  display: block;
  color: var(--purple-300);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {

  .gradient-text {
    background-color: var(--purple-300);
    background-image:
      linear-gradient(
        90deg,
        #d8b4fe,
        var(--purple-500),
        #60a5fa
      );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}


/* ==================================================
   HERO BRAND / LOGO
================================================== */

.hero-brand-panel {
  display: grid;
  place-items: center;
  padding: 28px;

  border:
    1px solid
    rgba(196, 181, 253, 0.34);

  border-radius: var(--radius-large);

  background:
    rgba(237, 233, 254, 0.92);

  box-shadow: var(--shadow);
}

.hero-brand-panel img {
  width: min(100%, 390px);
  object-fit: contain;
}


/* ==================================================
   BUTTONS
================================================== */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;

  border: 1px solid transparent;
  border-radius: var(--radius-small);

  padding: 11px 17px;

  font-weight: 800;
  text-decoration: none;

  cursor: pointer;
}

.button-primary {
  background-color: var(--purple-600);

  background-image:
    linear-gradient(
      95deg,
      var(--purple-600),
      var(--blue-500)
    );

  color: #ffffff;

  box-shadow:
    0 12px 28px
    rgba(124, 58, 237, 0.24);
}

.button-primary:hover {
  color: #ffffff;
  filter: brightness(1.08);
}

.button-secondary {
  border-color:
    rgba(196, 181, 253, 0.62);

  background:
    rgba(124, 58, 237, 0.12);

  color: #ffffff;
}

.button-secondary:hover {
  background:
    rgba(124, 58, 237, 0.22);

  color: #ffffff;
}

.button-light {
  background: #ffffff;
  color: var(--purple-700);
}

.button-light:hover {
  color: #4c1d95;
}


/* ==================================================
   TRUST / COMPANY HIGHLIGHTS
================================================== */

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin: 30px 0 0;
  padding: 0;

  list-style: none;
}

.trust-list li {
  border:
    1px solid
    rgba(196, 181, 253, 0.42);

  border-radius: 999px;

  background:
    rgba(124, 58, 237, 0.10);

  color: var(--text-soft);

  padding: 7px 11px;

  font-size: 14px;
  font-weight: 700;
}


/* ==================================================
   SERVICES
================================================== */

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 100%;

  border: 1px solid var(--paper-line);
  border-radius: var(--radius-medium);

  background: var(--paper-soft);

  padding: 26px;

  box-shadow:
    0 10px 25px
    rgba(15, 23, 42, 0.05);
}

.service-card::before {
  content: "";

  display: block;

  width: 48px;
  height: 5px;

  margin-bottom: 19px;

  border-radius: 999px;

  background-color: var(--purple-600);

  background-image:
    linear-gradient(
      90deg,
      var(--purple-600),
      var(--blue-500)
    );
}

.service-card p {
  margin-bottom: 0;
  color: var(--text-dark-soft);
}


/* ==================================================
   APPROACH
================================================== */

.approach-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(360px, 1.1fr);

  gap: clamp(36px, 6vw, 78px);

  align-items: start;
}

.section-dark .eyebrow {
  color: var(--purple-300);
}

.section-dark p {
  color: var(--text-soft);
}

.check-list {
  display: grid;
  gap: 14px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.check-list li {
  position: relative;

  padding:
    18px
    20px
    18px
    52px;

  border: 1px solid var(--ink-700);
  border-radius: 14px;

  background: var(--ink-800);

  color: var(--text-soft);
}

.check-list li::before {
  content: "✓";

  position: absolute;
  left: 20px;
  top: 17px;

  color: var(--purple-300);

  font-size: 20px;
  font-weight: 900;
}


/* ==================================================
   CONTRACTING
================================================== */

.contracting-panel {
  max-width: 1000px;
}

.contracting-panel > p:not(.eyebrow) {
  max-width: 850px;

  color: #f3f4ff;

  font-size: 18px;
}

.naics-list {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin: 30px 0 0;
  padding: 0;

  list-style: none;
}

.naics-list li {
  border:
    1px solid
    rgba(255, 255, 255, 0.28);

  border-radius: 12px;

  background:
    rgba(255, 255, 255, 0.10);

  padding: 13px 15px;
}


/* ==================================================
   PROCESS
================================================== */

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.process-grid li {
  border-top:
    5px solid
    var(--purple-600);

  background: var(--paper-soft);

  padding: 26px;
}

.process-grid p {
  margin-bottom: 0;

  color: var(--text-dark-soft);
}

.step-number {
  display: block;

  margin-bottom: 14px;

  color: var(--purple-700);

  font-size: 14px;
  font-weight: 900;

  letter-spacing: 0.12em;
}


/* ==================================================
   CONTACT / REQUEST
================================================== */

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(420px, 1.2fr);

  gap: clamp(36px, 6vw, 72px);

  align-items: start;
}

.contact-details {
  display: grid;
  gap: 8px;

  margin: 28px 0 0;
  padding: 0;

  list-style: none;

  color: var(--text-soft);
}

.request-form {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;

  border: 1px solid var(--ink-700);
  border-radius: var(--radius-medium);

  background: var(--ink-800);

  padding:
    clamp(22px, 4vw, 34px);
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-full,
.form-note,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--text-light);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;

  border: 1px solid #3c4969;
  border-radius: var(--radius-small);

  background: #0b1220;
  color: var(--text-light);

  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple-300);

  outline:
    3px solid
    rgba(196, 181, 253, 0.20);

  outline-offset: 1px;
}

.form-note {
  margin: 0;

  color: var(--text-muted);

  font-size: 14px;
}


/* ==================================================
   FORM STATUS
================================================== */

.form-status {
  min-height: 24px;
  margin: 0;

  font-size: 14px;
  font-weight: 700;
}

.form-status.is-success {
  color: #bbf7d0;
}

.form-status.is-error {
  color: #fecaca;
}

.request-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
  background: #05070d;

  color: var(--text-soft);

  border-top:
    5px solid
    var(--purple-600);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.4fr
    0.75fr
    1fr
    1fr;

  gap: 34px;

  padding: 54px 0 40px;
}


/* Light lavender treatment keeps transparent
   logo artwork readable on the dark footer. */

.footer-logo-tile {
  display: inline-block;

  max-width: 230px;

  border:
    1px solid
    rgba(196, 181, 253, 0.30);

  border-radius: 12px;

  background:
    rgba(237, 233, 254, 0.94);

  padding: 8px 12px;
}

.footer-logo-tile img {
  width: 100%;
  object-fit: contain;
}

.footer-brand p {
  max-width: 340px;
  color: var(--text-muted);
}

.footer-heading {
  margin: 0 0 14px;

  color: #ffffff;

  font-size: 14px;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--purple-300);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  border-top:
    1px solid
    var(--ink-700);

  padding: 20px 0 28px;

  color: var(--text-muted);

  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}


/* ==================================================
   RESPONSIVE — TABLET
================================================== */

@media (max-width: 980px) {

  .hero-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* ==================================================
   RESPONSIVE — MOBILE
================================================== */

@media (max-width: 760px) {

  .header-inner {
    min-height: 82px;
  }

  .header-logo {
    width: 155px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;

    position: absolute;

    top: calc(100% + 14px);
    right: 0;

    width:
      min(
        280px,
        calc(100vw - 32px)
      );

    padding: 8px;

    border: 1px solid #d7d9e2;
    border-radius: 12px;

    background: var(--paper);

    box-shadow: var(--shadow);
  }

  .nav-list.is-open {
    display: grid;
  }

  .services-grid,
  .process-grid,
  .request-form,
  .naics-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full,
  .form-note,
  .form-status {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}


/* ==================================================
   RESPONSIVE — SMALL MOBILE
================================================== */

@media (max-width: 520px) {

  .wrap {
    width:
      min(
        calc(100% - 22px),
        var(--max-width)
      );
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-brand-panel {
    padding: 18px;
  }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
