/* Limelight Projects website
   Brand: lime green #86D023, dark charcoal green #1A271D.
   Limelight SCT keeps its own blue #1F4E79. */

:root {
  --lime: #86d023;
  --lime-dark: #4f7d12;      /* lime dark enough for text and links on white */
  --lime-pale: #f1f9e6;
  --charcoal: #1a271d;
  --charcoal-2: #2b3a2e;
  --text: #1f2a22;
  --muted: #55625a;
  --line: #dde3dc;
  --bg: #ffffff;
  --bg-soft: #f6f8f5;
  --sct: #1f4e79;
  --sct-accent: #1f5fa8;
  --sct-pale: #f0f4f8;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--lime-dark); }
a:hover { color: var(--charcoal); }

h1, h2, h3 { color: var(--charcoal); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--charcoal); color: #fff; padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header and navigation ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 84px;
}
.brand img { width: 220px; height: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { background: var(--lime-pale); }
.site-nav a[aria-current="page"] { background: var(--charcoal); color: #fff; }
.site-nav a.nav-sct[aria-current="page"] { background: var(--sct); }

.nav-toggle {
  display: none;
  font: inherit; font-weight: 600;
  background: var(--charcoal); color: #fff;
  border: 0; border-radius: 6px; padding: 8px 14px; cursor: pointer;
}

@media (max-width: 960px) {
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; padding: 10px 20px; }
  .site-nav ul { flex-direction: column; padding-bottom: 12px; }
  .brand img { width: 180px; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--charcoal);
  color: #e8efe6;
  position: relative;
  overflow: hidden;
}
.hero .wrap { padding-top: 72px; padding-bottom: 72px; position: relative; }
.hero h1 { color: #fff; max-width: 17em; }
.hero h1 .hl { color: var(--lime); }
.hero p.lead { font-size: 1.2rem; max-width: 36em; color: #cdd8cb; }
.hero .grid-lines {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 520px; max-width: 60%; opacity: .22; pointer-events: none;
}
@media (max-width: 760px) { .hero .grid-lines { display: none; } }

.hero.small .wrap { padding-top: 48px; padding-bottom: 44px; }
.hero.small h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

.hero.sct { background: var(--sct); }
.hero.sct h1 .hl { color: #9cc7f0; }
.hero.sct p.lead { color: #d6e4f2; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 14px;
}
.hero.sct .eyebrow { color: #9cc7f0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  font-size: 1rem; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--lime); color: var(--charcoal); }
.btn-primary:hover { background: #9bdf3f; color: var(--charcoal); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-sct { background: var(--sct); color: #fff; }
.btn-sct:hover { background: var(--sct-accent); color: #fff; }
.btn-light { background: #fff; color: var(--sct); }
.btn-light:hover { background: var(--sct-pale); color: var(--sct); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Sections ---------- */

section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
section.sct-soft { background: var(--sct-pale); }
.section-intro { max-width: 46em; color: var(--muted); font-size: 1.08rem; margin-bottom: 32px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.accent { border-top: 4px solid var(--lime); }
.card.sct { border-top: 4px solid var(--sct); }
.card .more { font-weight: 700; text-decoration: none; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: .45em; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .45em;
  width: 12px; height: 7px;
  border-left: 3px solid var(--lime-dark); border-bottom: 3px solid var(--lime-dark);
  transform: rotate(-45deg);
}
.sct-page .ticks li::before { border-color: var(--sct-accent); }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; }
.fact { padding: 26px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-size: 1.9rem; color: var(--charcoal); line-height: 1.1; }
.fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .fact { border-left: 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; } }

/* Client names */
.clients { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.clients li {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 18px; font-weight: 700; color: var(--charcoal);
}

/* Tags (protocols, platforms) */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.tags li {
  background: var(--lime-pale); color: var(--charcoal); border-radius: 6px;
  padding: 4px 10px; font-size: .9rem; font-weight: 600;
}
.sct-page .tags li { background: var(--sct-pale); color: var(--sct); }

/* Two-column text and aside */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Timeline (About) */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--lime); }
.timeline li { padding: 0 0 22px 22px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--lime-dark);
}
.timeline .when { font-weight: 700; color: var(--lime-dark); font-size: .9rem; }
.timeline .what { font-weight: 700; color: var(--charcoal); }

/* Call-to-action band */
.cta-band { background: var(--charcoal); color: #dfe8dc; }
.cta-band h2 { color: #fff; }
.cta-band.sct { background: var(--sct); color: #dce7f3; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band p { margin: 0; max-width: 40em; }

/* Notes and placeholders */
.note {
  background: var(--lime-pale); border-left: 4px solid var(--lime); padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1em;
}
.sct-page .note { background: var(--sct-pale); border-left-color: var(--sct); }
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: #fff3d6; color: #8a5a00; border-radius: 4px;
  padding: 2px 7px; vertical-align: middle; margin-left: 6px;
}
/* Product screenshots */
.shot { margin: 28px 0 0; }
.shot img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid #c9d6e3; box-shadow: 0 10px 30px rgba(31, 78, 121, .18);
}
.shot figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* Credentials table */
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { width: 40%; color: var(--muted); font-weight: 600; }

/* ---------- Forms ---------- */

form .field { margin-bottom: 18px; }
form label, form legend { display: block; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
form .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px;
  border: 1px solid #b9c4bb; border-radius: 6px; background: #fff; color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(134,208,35,.45); border-color: var(--lime-dark); }
.sct-page input:focus, .sct-page select:focus, .sct-page textarea:focus { outline-color: rgba(31,95,168,.35); border-color: var(--sct-accent); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 16px; }
.checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.privacy { font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { background: #111a13; color: #aab7a8; font-size: .93rem; padding: 48px 0 28px; }
.site-footer a { color: #d7e6d2; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 52px; height: 52px; flex: none; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-small { border-top: 1px solid #263127; margin-top: 32px; padding-top: 18px; font-size: .82rem; color: #7f8d7e; }
.gallery { grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }
.gallery .shot { margin: 0; }
.gallery .shot img { box-shadow: 0 6px 18px rgba(31, 78, 121, .14); }
.split-media { grid-template-columns: 1fr 1.25fr; align-items: center; }
@media (max-width: 860px) { .split-media { grid-template-columns: 1fr; } }
.split-media .shot { margin: 0; }
