/* ========================================================================
   LiftedOps — Services page styles
   Reuses the atomic-age palette + typography from style.css.
   Layered on top, no overrides to the home page.
   ======================================================================== */

/* ----- Top nav (used by both / and /services/) ----- */

.topbar {
  gap: 16px;            /* leaves room for nav in the middle */
  align-items: center;  /* was baseline; nav items are buttons */
}

.brandmark {
  text-decoration: none;
  transition: color 120ms ease;
}
.brandmark:hover { color: var(--coral); }

.topnav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;     /* push to the right of brandmark */
  margin-right: 18px;   /* gap before "Est. 2026" */
}

.topnav-link {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 10px;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  position: relative;
}
.topnav-link:hover {
  background: var(--cream-2);
  border-color: var(--navy);
}
.topnav-link-active {
  background: var(--mustard);
  border-color: var(--navy);
  box-shadow: 2px 2px 0 var(--navy);
}
.topnav-link-active:hover {
  background: var(--mustard);     /* keep highlighted when on this page */
}
.topnav-link-cta {
  background: var(--coral);
  color: var(--cream);
  border-color: var(--navy);
  box-shadow: 2px 2px 0 var(--navy);
}
.topnav-link-cta:hover {
  background: var(--mustard);
  color: var(--navy);
}

/* ----- Services hero ----- */

.services-hero {
  text-align: center;
  padding: 12px 0 8px;
  max-width: 720px;
  margin: 0 auto;
}

.services-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.services-kicker {
  font-family: var(--font-title);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--coral);
  -webkit-text-stroke: 0.5px var(--navy);
}
.services-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 96px);
  letter-spacing: 2px;
  line-height: 0.9;
  color: var(--mustard);
  text-shadow:
     3px  3px 0 var(--navy),
    -1px -1px 0 var(--navy),
     1px -1px 0 var(--navy),
    -1px  1px 0 var(--navy);
}
.services-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}
.services-subtitle em {
  font-style: normal;
  background: var(--mustard);
  padding: 0 4px;
  border-radius: 2px;
  border-bottom: 2px solid var(--navy);
}

/* ----- Services grid ----- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1020px;
  margin: 0 auto;
}

.service-card {
  background: var(--cream-2);
  border: 3px solid var(--navy);
  border-radius: 8px;
  padding: 26px 22px 22px;
  box-shadow: 6px 6px 0 var(--navy);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
/* Top accent stripe in the service's color */
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  border-radius: 5px 5px 0 0;
  background: var(--service-accent, var(--coral));
}
.service-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--navy);
}

/* Per-service color theming */
.service-card-foundry      { --service-accent: var(--coral);   }
.service-card-switchboard { --service-accent: var(--mint);    }
.service-card-engine      { --service-accent: var(--mustard); }

.service-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 6px;
  padding: 6px;
  background: var(--cream);
  border: 2.5px solid var(--navy);
  border-radius: 6px;
  box-shadow: 2px 2px 0 var(--navy);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-name {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--navy);
  line-height: 1.1;
}

.service-poweredby {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
  margin-top: -2px;
}

.service-tagline {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.service-tagline em {
  font-style: normal;
  background: var(--service-accent, var(--mustard));
  padding: 0 4px;
  border-radius: 2px;
  border-bottom: 2px solid var(--navy);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
  padding-left: 22px;
  position: relative;
}
.service-features li::before {
  content: "\2726";   /* ✦ — six-pointed star */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--service-accent, var(--coral));
  font-size: 14px;
  line-height: 1.4;
}

.service-cta-wrap {
  margin-top: auto;       /* push to bottom of the card */
  padding-top: 6px;
}
.service-cta {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 14px;
  border: 2px solid var(--navy);
  border-radius: 5px;
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--navy);
  transition: transform 80ms ease, box-shadow 80ms ease, background 120ms ease;
}
.service-cta:hover {
  background: var(--service-accent, var(--mustard));
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--navy);
}
.service-cta:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--navy);
}

/* ----- Disclaimer / transparency note ----- */

.services-disclaimer {
  max-width: 720px;
  margin: 8px auto 0;
  padding: 14px 18px;
  background: var(--cream-2);
  border-left: 4px solid var(--coral);
  border-radius: 0 6px 6px 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
  opacity: 0.92;
}
.services-disclaimer strong {
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  display: inline-block;
  margin-right: 4px;
}

/* ----- Services primary CTA (mirrors home page form-submit) ----- */

.services-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 360px;
  margin: 6px auto 0;
  text-decoration: none;
}

/* ----- Sunburst on the services page (sits behind the hero) ----- */

.sunburst-services {
  top: 32%;
  width: 800px;
  height: 800px;
  opacity: 0.08;
}

/* ----- Responsive ----- */

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .topnav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: center;
  }
  .estd { margin-left: auto; }

  .services-headline { gap: 6px; }
  .services-kicker { font-size: 15px; }
  .services-title { font-size: clamp(40px, 12vw, 64px); }
  .services-subtitle { font-size: 15px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 22px 18px 18px; }
  .service-name { font-size: 19px; }

  .services-disclaimer { font-size: 12px; padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover { transform: none; }
  .service-cta:hover { transform: none; }
}
