/*
Theme Name: Geek 4 Hire Local
Theme URI: https://geek4hire.tech/
Author: C. Evan Solutions
Description: A focused local technology-support front door for Geek 4 Hire.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: geek4hire-local
*/

:root {
  --g4h-ink: #151a22;
  --g4h-muted: #566171;
  --g4h-line: #d8dee8;
  --g4h-paper: #ffffff;
  --g4h-soft: #f3f6fa;
  --g4h-blue: #165dce;
  --g4h-blue-dark: #0b3f99;
  --g4h-red: #c9363e;
  --g4h-teal: #0a756b;
  --g4h-focus: #ffbf47;
  --g4h-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--g4h-ink);
  background: var(--g4h-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: clip;
}

a { color: inherit; }

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

.g4h-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--g4h-ink);
  transform: translateY(-150%);
}

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

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

.g4h-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  border-bottom: 1px solid var(--g4h-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.g4h-header .g4h-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.g4h-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--g4h-ink);
  font-weight: 850;
  text-decoration: none;
}

.g4h-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--g4h-red);
  font-size: 17px;
}

.g4h-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 750;
}

.g4h-nav a { text-decoration: none; }
.g4h-nav a:hover { color: var(--g4h-blue); }

.g4h-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 2px solid var(--g4h-blue);
  border-radius: 6px;
  color: #fff;
  background: var(--g4h-blue);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.g4h-button:hover {
  border-color: var(--g4h-blue-dark);
  background: var(--g4h-blue-dark);
}

.g4h-button-secondary {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.g4h-button-secondary:hover {
  border-color: #fff;
  color: var(--g4h-ink);
  background: #fff;
}

.g4h-button-light {
  border-color: var(--g4h-line);
  color: var(--g4h-ink);
  background: #fff;
}

.g4h-button-light:hover {
  border-color: var(--g4h-blue);
  color: var(--g4h-blue-dark);
  background: #fff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 4px solid var(--g4h-focus);
  outline-offset: 3px;
}

.g4h-hero {
  position: relative;
  display: grid;
  min-height: 610px;
  align-items: end;
  isolation: isolate;
  color: #fff;
  background-color: #222a35;
  background-image: var(--g4h-hero-image);
  background-position: center;
  background-size: cover;
}

.g4h-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: rgba(13, 18, 25, 0.76);
}

.g4h-hero .g4h-wrap {
  position: relative;
  z-index: 1;
  padding-block: 72px 64px;
}

.g4h-kicker {
  margin: 0 0 14px;
  color: #b8d2ff;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.g4h-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 82px;
  line-height: 0.98;
  letter-spacing: 0;
}

.g4h-hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: #f0f4fa;
  font-size: 21px;
}

.g4h-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.g4h-trust {
  border-bottom: 1px solid var(--g4h-line);
  background: var(--g4h-paper);
}

.g4h-trust .g4h-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g4h-trust div {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid var(--g4h-line);
}

.g4h-trust div:first-child { padding-left: 0; }
.g4h-trust div:last-child { border-right: 0; }
.g4h-trust strong { display: block; }
.g4h-trust span { color: var(--g4h-muted); font-size: 14px; }

.g4h-band { padding-block: 80px; }
.g4h-band-soft { background: var(--g4h-soft); }

.g4h-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  margin-bottom: 40px;
  align-items: end;
}

.g4h-eyebrow {
  margin: 0 0 10px;
  color: var(--g4h-blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.g4h-section-head h2,
.g4h-proof h2,
.g4h-close h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
}

.g4h-section-head > p:last-child {
  margin: 0;
  color: var(--g4h-muted);
  font-size: 19px;
}

.g4h-paths,
.g4h-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.g4h-path,
.g4h-service {
  min-width: 0;
  border: 1px solid var(--g4h-line);
  border-top: 5px solid var(--g4h-blue);
  border-radius: 8px;
  background: var(--g4h-paper);
}

.g4h-path:nth-child(2) { border-top-color: var(--g4h-red); }
.g4h-path:nth-child(3) { border-top-color: var(--g4h-teal); }

.g4h-path {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
}

.g4h-path small {
  color: var(--g4h-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.g4h-path h3,
.g4h-service h3 {
  margin: 16px 0 10px;
  font-size: 25px;
  line-height: 1.2;
}

.g4h-path p,
.g4h-service p { color: var(--g4h-muted); }
.g4h-path .g4h-button { margin-top: auto; }

.g4h-service { padding: 26px; }
.g4h-service strong { color: var(--g4h-teal); }

.g4h-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.g4h-proof-panel {
  border: 1px solid var(--g4h-line);
  border-radius: 8px;
  padding: 30px;
  background: var(--g4h-paper);
}

.g4h-proof-panel ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.g4h-proof-panel li + li { margin-top: 10px; }

.g4h-proof p { color: var(--g4h-muted); font-size: 18px; }

.g4h-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
}

.g4h-faq h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}

.g4h-faq details {
  border-top: 1px solid var(--g4h-line);
  padding: 20px 0;
}

.g4h-faq details:last-child { border-bottom: 1px solid var(--g4h-line); }
.g4h-faq summary { cursor: pointer; font-weight: 800; }
.g4h-faq details p { color: var(--g4h-muted); }

.g4h-close {
  color: #fff;
  background: var(--g4h-blue-dark);
}

.g4h-close .g4h-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.g4h-close p { max-width: 680px; color: #dbe8ff; }

.g4h-footer {
  padding-block: 34px 96px;
  color: #d6dde7;
  background: var(--g4h-ink);
}

.g4h-footer .g4h-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.g4h-footer strong { display: block; color: #fff; }
.g4h-footer p { max-width: 620px; margin: 8px 0 0; }
.g4h-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.g4h-footer a { color: #fff; }

.g4h-call-rail {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  box-shadow: 0 14px 34px rgba(21, 26, 34, 0.24);
}

.g4h-content {
  min-height: 62vh;
  padding-block: 72px 96px;
}

.g4h-content-entry {
  max-width: 820px;
}

.g4h-content-entry h1 {
  margin: 0 0 30px;
  font-size: 52px;
  line-height: 1.05;
}

.g4h-content-body > *:first-child { margin-top: 0; }
.g4h-content-body a { color: var(--g4h-blue-dark); }

@media (max-width: 860px) {
  .g4h-nav a:not(.g4h-button) { display: none; }
  .g4h-hero { min-height: 560px; background-position: 62% center; }
  .g4h-hero h1 { font-size: 58px; }
  .g4h-trust .g4h-wrap,
  .g4h-paths,
  .g4h-services,
  .g4h-section-head,
  .g4h-proof,
  .g4h-faq { grid-template-columns: 1fr; }
  .g4h-trust div { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--g4h-line); }
  .g4h-trust div:last-child { border-bottom: 0; }
  .g4h-section-head,
  .g4h-proof,
  .g4h-faq { gap: 26px; }
  .g4h-close .g4h-wrap,
  .g4h-footer .g4h-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .g4h-wrap { width: min(calc(100% - 28px), var(--g4h-max)); }
  .g4h-header,
  .g4h-header .g4h-wrap { min-height: 64px; }
  .g4h-brand-mark { width: 34px; height: 34px; }
  .g4h-brand-name { font-size: 15px; }
  .g4h-nav .g4h-button { min-height: 40px; padding: 8px 12px; font-size: 13px; }
  .g4h-hero { min-height: 540px; background-position: 64% center; }
  .g4h-hero .g4h-wrap { padding-block: 58px 48px; }
  .g4h-hero h1 { font-size: 50px; }
  .g4h-hero-copy { font-size: 18px; }
  .g4h-actions { flex-direction: column; }
  .g4h-actions .g4h-button { width: 100%; }
  .g4h-band { padding-block: 58px; }
  .g4h-section-head h2,
  .g4h-proof h2,
  .g4h-close h2 { font-size: 38px; }
  .g4h-path { min-height: 0; }
  .g4h-path .g4h-button { margin-top: 20px; }
  .g4h-proof { grid-template-columns: minmax(0, 1fr); }
  .g4h-proof-panel { min-width: 0; padding: 22px; }
  .g4h-call-rail { right: 14px; bottom: 14px; }
  .g4h-content { padding-block: 52px 72px; }
  .g4h-content-entry h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
