/* Kyle The Fixer — site styles */
:root {
  --ink: #07080c;
  --ink-2: #10131a;
  --ink-3: #1a2030;
  --steel: #9aa3b5;
  --mist: #d7dde8;
  --paper: #f4f6fa;
  --blue: #2f6bff;
  --blue-hot: #5b8cff;
  --blue-deep: #1a49d6;
  --signal: #ff7a3d;
  --ok: #3ddea8;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--mist);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(47, 107, 255, 0.28), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(255, 122, 61, 0.12), transparent 50%),
    linear-gradient(180deg, #0b101a 0%, var(--ink) 40%, #05060a 100%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-hot);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

h1,
h2,
h3,
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: #fff;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 12, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--steel);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--mist);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a[aria-current="page"] {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(180deg, var(--blue-hot), var(--blue));
  color: #fff !important;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.35);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--blue-hot), var(--blue-deep));
  color: #fff;
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.4);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 16px 36px rgba(47, 107, 255, 0.5);
}

.btn-signal {
  background: linear-gradient(180deg, #ff9663, var(--signal));
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 122, 61, 0.35);
}

.btn-signal:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.88) 0%, rgba(7, 8, 12, 0.55) 48%, rgba(7, 8, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.15) 0%, rgba(7, 8, 12, 0.55) 70%, rgba(7, 8, 12, 0.92) 100%);
}

.hero-inner {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  max-width: 38rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 6.4rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 0.88;
  color: #fff;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  animation: rise 0.8s ease both;
}

.brand-mark span {
  display: block;
  color: var(--blue-hot);
}

.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--paper);
  max-width: 18ch;
  animation: rise 0.8s ease 0.08s both;
}

.hero .lede {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 36ch;
  animation: rise 0.8s ease 0.16s both;
}

.hero .btn-row {
  margin-top: 1.5rem;
  animation: rise 0.8s ease 0.24s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  color: var(--steel);
  font-size: 0.92rem;
  animation: rise 0.8s ease 0.32s both;
}

.hero-meta strong {
  color: #fff;
  font-weight: 700;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--steel);
  font-size: 1.05rem;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-hot);
  margin-bottom: 0.65rem;
}

.section h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-transform: uppercase;
}

.section-muted {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--line);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.service-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(47, 107, 255, 0.18), rgba(255, 255, 255, 0.02) 55%),
    var(--ink-2);
  color: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service-link:hover {
  border-color: rgba(91, 140, 255, 0.7);
  transform: translateY(-3px);
  color: #fff;
}

.service-link .icon {
  font-size: 1.5rem;
  margin-bottom: auto;
  opacity: 0.9;
}

.service-link strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-link span {
  color: var(--steel);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.trust-item {
  padding: 0.25rem 0;
}

.trust-item h3 {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.trust-item p {
  color: var(--steel);
  margin: 0;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(7, 8, 12, 0.75));
}

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote {
  padding: 1.35rem 0;
  border-top: 2px solid var(--blue);
}

.quote p {
  color: var(--mist);
  font-size: 1.02rem;
}

.quote footer {
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Contact band */
.contact-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(47, 107, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #121826, #0b1220 55%, #15100e);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.contact-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
}

.contact-band p {
  color: var(--steel);
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list a,
.contact-list span {
  color: #fff;
  font-weight: 600;
}

.contact-list small {
  display: block;
  color: var(--steel);
  font-weight: 500;
  margin-top: 0.15rem;
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  text-transform: uppercase;
  max-width: 14ch;
}

.page-hero .lede {
  max-width: 46ch;
  color: var(--steel);
  font-size: 1.1rem;
}

/* Service detail list */
.detail-list {
  display: grid;
  gap: 1.25rem;
}

.detail-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-item h3 {
  font-size: 1.55rem;
  text-transform: uppercase;
}

.detail-item p {
  color: var(--steel);
  margin: 0;
}

/* Form */
.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mist);
}

input,
select,
textarea {
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 107, 255, 0.55);
  border-color: var(--blue);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: var(--steel);
  font-size: 0.9rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.alert-ok {
  background: rgba(61, 222, 168, 0.12);
  border-color: rgba(61, 222, 168, 0.35);
  color: #c9ffe9;
}

.alert-err {
  background: rgba(255, 122, 61, 0.12);
  border-color: rgba(255, 122, 61, 0.4);
  color: #ffd7c4;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: start;
}

.site-footer small {
  color: var(--steel);
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  color: var(--mist);
  font-weight: 600;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

/* Mobile */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust,
  .quotes,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

  .nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(7, 8, 12, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 8, 12, 0.2) 0%, rgba(7, 8, 12, 0.72) 50%, rgba(7, 8, 12, 0.94) 100%);
  }

  .hero-media img {
    object-position: 70% 25%;
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .brand-text span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .reveal,
  .brand-mark,
  .hero h1,
  .hero .lede,
  .hero .btn-row,
  .hero-meta {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
