/* ------------------------------------------------------------
   LIMNET Website Redesign (static HTML)
   Author: ChatGPT (generated)
   ------------------------------------------------------------ */

:root{
  --brand-1:#38bdf8; /* sky */
  --brand-2:#22c55e; /* green */
  --ink:#0f172a;     /* slate-900 */
  --ink-2:#111827;   /* gray-900 */
  --muted:#475569;   /* slate-600 */
  --muted-2:#64748b; /* slate-500 */
  --bg:#ffffff;
  --surface:#f8fafc; /* slate-50 */
  --surface-2:#eef2f7;
  --border:#e2e8f0;
  --shadow: 0 10px 30px rgba(2, 6, 23, .12);
  --shadow-soft: 0 8px 20px rgba(2, 6, 23, .08);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1120px;
  --gutter: 20px;

  --header-h: 76px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

p{ margin:0 0 1rem; color:var(--muted); }
h1,h2,h3{ margin:0 0 .6rem; letter-spacing:-.02em; }
h1{ font-size:clamp(2rem, 3.2vw, 3.2rem); line-height:1.08; color:#fff; }
h2{ font-size:clamp(1.4rem, 2.2vw, 2.1rem); color:var(--ink); }
h3{ font-size:1.1rem; color:var(--ink); }

.container{
  width:min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#fff;
  border:1px solid var(--border);
  padding:10px 14px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:10px; }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  height:var(--header-h);
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(226,232,240,.75);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:140px;
}
.brand img{ height:38px; width:auto; }

.nav{
  display:flex;
  align-items:center;
  gap:20px;
}
.nav a{
  font-weight:600;
  color:var(--ink);
  text-decoration:none;
  padding:10px 10px;
  border-radius:10px;
}
.nav a:hover{
  text-decoration:none;
  background:rgba(56,189,248,.10);
}

.header-cta{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Mobile nav */
.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  font-weight:700;
  cursor:pointer;
}
.nav-toggle:focus{ outline:3px solid rgba(56,189,248,.35); outline-offset:2px; }

@media (max-width: 920px){
  .nav{ display:none; position:absolute; top:var(--header-h); left:0; right:0; background:#fff; border-bottom:1px solid var(--border); box-shadow: var(--shadow-soft); padding:10px; flex-direction:column; align-items:stretch; }
  .nav.open{ display:flex; }
  .nav a{ padding:12px 12px; }
  .header-cta{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; gap:8px; }
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover{ text-decoration:none; transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn-primary{
  background: #35ae26;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(53,174,38,.35);
}
.btn-primary:hover{
  background: #2f9c22; /* slightly darker for hover */
  box-shadow: 0 14px 30px rgba(53,174,38,.45);
}
.btn-primary:active{
  background: #2a8c1f;
}
.btn-outline{
  background:rgba(255,255,255,.08);
  color:#fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline:hover{ background:rgba(255,255,255,.14); }
.btn-ghost{
  background:#fff;
  border-color: var(--border);
  color:var(--ink);
}
.btn-ghost:hover{ background:var(--surface); }

/* Hero */
.hero{
  position:relative;
  min-height: min(78vh, 720px);
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
}

/* Background image */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("../img/11062b_6743da5900054f1f8e69f53302930a6af000.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: 0;
}

/* Dark overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(2,6,23,.90) 0%,
    rgba(2,6,23,.58) 55%,
    rgba(2,6,23,.30) 100%
  );
  z-index: 1;
}

/* TEXT LAYER — ABOVE OVERLAY */
.hero-inner{
  position:relative;
  z-index: 2;
  padding: clamp(50px, 7vw, 90px) 0;
}

/* FORCE PURE WHITE TEXT */
.hero h1{
  color:#ffffff;
}

.hero-kicker{
  color:#ffffff;
}

.hero p{
  color:#ffffff;
  max-width: 56ch;
  font-size: 1.05rem;
}

/* Optional but recommended */
.hero h1,
.hero p,
.hero-kicker{
  text-shadow: 0 3px 14px rgba(0,0,0,.65);
}

/* Sections */
.section{
  padding: clamp(54px, 6vw, 84px) 0;
}
.section.alt{
  background: linear-gradient(180deg, var(--surface), #fff);
}
.section.dark{
  background: radial-gradient(1100px 500px at 20% 0%, rgba(56,189,248,.18) 0%, rgba(255,255,255,0) 58%),
              radial-gradient(900px 500px at 80% 0%, rgba(34,197,94,.14) 0%, rgba(255,255,255,0) 55%),
              #0b1220;
  color:#fff;
}
.section.dark h2{ color:#fff; }
.section.dark p{ color: rgba(255,255,255,.74); }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 26px;
}
.section-head p{ max-width: 70ch; }

/* Cards */
.grid{
  display:grid;
  gap:18px;
}
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }

@media (max-width: 980px){
  .grid.cols-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px){
  .grid.cols-3, .grid.cols-2{ grid-template-columns: 1fr; }
  .section-head{ flex-direction:column; align-items:flex-start; }
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.card p{ margin: 0; }
.card .eyebrow{
  font-weight:800;
  color: var(--brand-1);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
  margin-bottom:8px;
}
.card .meta{
  margin-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: var(--surface);
  font-weight:700;
  font-size:.82rem;
  color: var(--ink);
}

/* Work cards */
.work-card{
  padding:0;
  overflow:hidden;
}
.work-card img{
  width:100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--surface);
}
.work-card .body{ padding:16px 18px 18px; }
.work-card h3{ margin:0 0 6px; }
.work-card p{ margin:0 0 12px; }
.work-card .links{ display:flex; gap:12px; flex-wrap:wrap; }
.work-card .links a{ font-weight:800; color: var(--brand-1); }

/* Page hero */
.page-hero{
  padding: 72px 0 46px;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(56,189,248,.22) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(800px 400px at 80% 0%, rgba(34,197,94,.18) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, var(--surface), #fff 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1{ color: var(--ink); }
.page-hero p{ max-width: 80ch; }
.page-hero .crumbs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-weight:700;
  color: var(--muted-2);
  margin-bottom: 12px;
  font-size: .92rem;
}
.page-hero .crumbs a{ color: var(--muted-2); text-decoration: underline; }

/* Two-column layout */
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items:start;
}
@media (max-width: 920px){
  .split{ grid-template-columns: 1fr; }
}

/* Lists */
ul.clean{
  list-style:none;
  padding:0;
  margin:0;
}
ul.clean li{
  padding-left: 18px;
  position:relative;
  margin: 0 0 10px;
  color: var(--muted);
}
ul.clean li::before{
  content:"";
  position:absolute;
  left:0;
  top:.6em;
  width:8px;
  height:8px;
  border-radius:50%;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
}

/* Forms */
.form{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom: 12px;
}
label{
  font-weight:800;
  color: var(--ink);
  font-size: .92rem;
}
input, textarea, select{
  border:1px solid var(--border);
  background: var(--surface);
  padding: 12px 12px;
  border-radius: 12px;
  font: inherit;
}
textarea{ min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  outline: 3px solid rgba(56,189,248,.25);
  outline-offset:2px;
  border-color: rgba(56,189,248,.60);
  background:#fff;
}
.form .actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 10px;
}


/* Hide honeypot spam field */
.hp{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
[data-form-message]{
  font-weight:700;
}
[data-form-message].ok{ color:#0a7a4b; }
[data-form-message].error{ color:#b00020; }

/* Image gallery + lightbox */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 980px){
  .gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .gallery{ grid-template-columns: 1fr; }
}
.thumb{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}
.thumb img{
  width:100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.thumb .cap{
  padding: 10px 12px;
  font-weight:800;
  color: var(--ink);
}
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(2,6,23,.82);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 20px;
  z-index: 2000;
}
.lightbox.open{ display:flex; }
.lightbox-inner{
  width: min(1000px, 100%);
  background:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.lightbox-inner img{ width:100%; height:auto; }
.lightbox-bar{
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.lightbox-bar .title{ font-weight:900; }
.lightbox-bar button{
  border:1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 10px;
  font-weight:900;
  cursor:pointer;
}
.lightbox-bar button:hover{ background:#fff; }

/* Footer */
.site-footer{
  background:#070f1f;
  color: rgba(255,255,255,.86);
  padding: 34px 0;
  margin-top: 40px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
}
.footer-grid h3{ color:#fff; }
.footer-grid a{ color: rgba(255,255,255,.82); text-decoration: underline; }
.footer-grid a:hover{ color:#fff; }
.footer-meta{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
  flex-wrap:wrap;
  color: rgba(255,255,255,.66);
  font-weight:600;
}
.social{
  display:flex;
  gap:10px;
}
.social a{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.social a:hover{
  background: rgba(255,255,255,.10);
}
.social img{ width:20px; height:20px; }

@media (max-width: 920px){
  .footer-grid{ grid-template-columns: 1fr; }
}
/* FORCE primary buttons to solid green everywhere */
.btn-primary,
.header-cta .btn-primary,
a.btn-primary {
  background: #35ae26 !important;
  background-image: none !important;
  color: #ffffff !important;
}

