/* ====================================================
   Neolimits — site styles
   Type: Nunito (display), Inter Tight (body), JetBrains Mono (labels)
   Palette imported from palette.css
   ==================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--neo-ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--neo-sky-blue); text-decoration: none; }
a:hover { color: var(--neo-deep-sky); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--neo-ink);
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-weight: 900; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-weight: 800; font-size: 24px; line-height: 1.2; }
h4 { font-weight: 700; font-size: 18px; }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow, .kicker, .foot-mono, .form-fine {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neo-muted);
}

.lead { font-size: 19px; line-height: 1.55; color: var(--neo-ink); }
.lead.light { color: rgba(14, 58, 85, 0.78); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--neo-hairline);
  background: rgba(255,255,255,0.94);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark { flex: none; }
.brand-word {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-word .neo { color: var(--neo-mint-teal); }
.brand-word .limits { color: var(--neo-deep-sky); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--neo-ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--neo-sky-mist); color: var(--neo-deep-sky); }
.site-nav .nav-cta {
  background: var(--neo-deep-sky);
  color: #fff;
  padding: 9px 18px;
  margin-left: 6px;
}
.site-nav .nav-cta:hover { background: var(--neo-ink); color: #fff; }

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--neo-ink);
  border-radius: 1px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 20px 24px;
  gap: 4px;
  border-top: 1px solid var(--neo-hairline);
  background: #fff;
}
.mobile-nav a {
  color: var(--neo-ink);
  padding: 12px 4px;
  border-bottom: 1px solid var(--neo-hairline);
  font-weight: 500;
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { display: flex; }
  .mobile-nav[hidden] { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-inner { max-width: 980px; }

.eyebrow { display: inline-block; margin-bottom: 24px; }

.hero-title {
  margin-bottom: 24px;
}
.hero-title .mint { color: var(--neo-mint-teal); }
.hero-title .under {
  position: relative;
  display: inline-block;
  color: var(--neo-deep-sky);
}
.hero-title .under::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  height: 12px;
  background: var(--neo-mint-soft);
  z-index: -1;
  border-radius: 4px;
}

.hero-lede {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(14, 58, 85, 0.78);
  max-width: 720px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn.primary {
  background: var(--neo-deep-sky);
  color: #fff;
}
.btn.primary:hover {
  background: var(--neo-ink);
  color: #fff;
  transform: translateY(-1px);
}
.btn.ghost {
  background: transparent;
  color: var(--neo-ink);
  border-color: var(--neo-hairline);
}
.btn.ghost:hover {
  border-color: var(--neo-deep-sky);
  color: var(--neo-deep-sky);
  background: var(--neo-sky-mist);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--neo-hairline);
  max-width: 880px;
}
.hero-stats > div { margin: 0; }
.hero-stats dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neo-muted);
  margin-bottom: 6px;
}
.hero-stats dd {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--neo-ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-stats dd strong { font-size: 28px; color: var(--neo-deep-sky); font-weight: 900; }
.hero-stats dd span { font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: 14px; color: rgba(14,58,85,0.7); }

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Generic sections ---------- */
.section { padding: 96px 0; }
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .kicker { display: block; margin-bottom: 14px; }
.section-head .section-sub {
  font-size: 18px;
  color: rgba(14,58,85,0.72);
  margin-top: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.col-narrow .kicker { display: block; margin-bottom: 12px; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- About ---------- */
.about { background: #fff; }
.about .col-narrow h2 { margin-bottom: 0; }
.quick-facts {
  list-style: none;
  padding: 24px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--neo-hairline);
  display: grid;
  gap: 14px;
}
.quick-facts li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  font-size: 16px;
}
.quick-facts .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neo-muted);
  padding-top: 2px;
}

/* ---------- Approach ---------- */
.approach { background: var(--neo-sky-frost); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--neo-hairline);
  border-radius: 24px;
  padding: 36px 32px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(46,159,220,0.25);
  border-color: var(--neo-sky-light);
}
.pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--neo-mint-teal);
  margin-bottom: 24px;
  font-weight: 500;
}
.pillar h3 { color: var(--neo-deep-sky); margin-bottom: 12px; }
.pillar p { margin: 0; color: rgba(14,58,85,0.78); font-size: 16px; }

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

/* ---------- Mission stripe ---------- */
.mission-stripe {
  background: var(--neo-ink);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mission-stripe::before,
.mission-stripe::after {
  content: "";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--neo-deep-sky);
  opacity: 0.18;
  filter: blur(40px);
}
.mission-stripe::before { left: -80px; }
.mission-stripe::after { right: -80px; background: var(--neo-mint-teal); opacity: 0.22; }

.ms-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neo-mint-teal);
  margin-bottom: 18px;
}
.ms-line {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}
.ms-line .hl { color: var(--neo-mint-teal); }

/* ---------- Clinicle ---------- */
.clinicle { background: #fff; }
.clinicle .col-narrow h2 {
  font-size: clamp(40px, 5vw, 60px);
  color: var(--neo-deep-sky);
}
.clinicle .col-narrow .lead { margin-bottom: 28px; }

.clinicle-card {
  background: linear-gradient(135deg, #EBF5FF 0%, #F4FAFE 100%);
  border: 1px solid var(--neo-hairline);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(46,159,220,0.4);
}
.cc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--neo-hairline);
}
.cc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--neo-hairline);
}
.cc-dot:nth-child(1) { background: #FF5F57; }
.cc-dot:nth-child(2) { background: #FEBC2E; }
.cc-dot:nth-child(3) { background: #28C840; }
.cc-url {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--neo-muted);
}
.cc-body { padding: 48px 44px; }
.cc-mark { margin-bottom: 24px; }
.cc-body h3 {
  font-size: 30px;
  color: var(--neo-ink);
  margin-bottom: 12px;
}
.cc-body p { color: rgba(14,58,85,0.78); margin-bottom: 22px; }
.cc-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
}
.cc-tags li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--neo-hairline);
  color: var(--neo-deep-sky);
  padding: 6px 12px;
  border-radius: 999px;
}
.cc-link {
  font-weight: 600;
  color: var(--neo-deep-sky);
}
.cc-link:hover { color: var(--neo-ink); }

@media (max-width: 600px) {
  .cc-body { padding: 32px 24px; }
}

/* ---------- Team ---------- */
.team { background: var(--neo-sky-frost); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.exec {
  background: #fff;
  border: 1px solid var(--neo-hairline);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.exec:hover {
  border-color: var(--neo-sky-light);
  box-shadow: 0 24px 50px -32px rgba(46,159,220,0.3);
  transform: translateY(-2px);
}
.exec-photo {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--neo-sky-mist);
  position: relative;
  flex: none;
}
.exec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.exec-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neo-mint-teal);
  font-weight: 500;
  margin: 0 0 8px;
}
.exec h3 {
  font-size: 26px;
  color: var(--neo-ink);
  margin-bottom: 8px;
}
.exec-tag {
  color: var(--neo-deep-sky);
  font-weight: 500;
  font-size: 14px;
  margin: 0 0 14px;
}
.exec-body p { color: rgba(14,58,85,0.78); font-size: 15px; line-height: 1.55; }
.exec-skills {
  list-style: none;
  padding: 16px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--neo-hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 6px;
}
.exec-skills li {
  font-size: 12px;
  background: var(--neo-sky-mist);
  color: var(--neo-deep-sky);
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 500;
}

@media (max-width: 1000px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .exec { grid-template-columns: 1fr; padding: 28px; }
  .exec-photo { width: 100px; height: 100px; border-radius: 18px; }
}

/* ---------- Services ---------- */
.services { background: #fff; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc {
  border: 1px solid var(--neo-hairline);
  border-radius: 20px;
  padding: 32px 28px;
  background: #fff;
  transition: border-color .2s, background .2s;
}
.svc:hover { border-color: var(--neo-deep-sky); background: var(--neo-sky-frost); }
.svc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--neo-mint-teal);
  display: block;
  margin-bottom: 16px;
}
.svc h4 { color: var(--neo-ink); margin-bottom: 8px; }
.svc p { color: rgba(14,58,85,0.72); font-size: 15px; margin: 0; }

@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact {
  background: var(--neo-ink);
  color: #fff;
}
.contact h2 { color: #fff; }
.contact .kicker.contact-kicker { color: var(--neo-mint-teal); }
.contact .lead.light { color: rgba(255,255,255,0.78); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  font-size: 16px;
}
.contact-list .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neo-mint-teal);
  padding-top: 4px;
}
.contact-list a { color: #fff; border-bottom: 1px solid rgba(94,222,200,0.5); }
.contact-list a:hover { color: var(--neo-mint-teal); }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px;
}
.contact-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form label > span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neo-mint-teal);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color .15s, background .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--neo-mint-teal);
  background: rgba(255,255,255,0.08);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form .row.two label { margin-bottom: 18px; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.form-sent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--neo-mint-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-fine {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  margin: 8px 0 0;
}

@media (max-width: 600px) {
  .contact-form { padding: 24px; }
  .contact-form .row.two { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #061f2f;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.foot-brand .foot-word {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.foot-brand .foot-word .neo { color: var(--neo-mint-teal); }
.foot-brand .foot-word .limits { color: #fff; }
.foot-tag {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}
.foot-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neo-mint-teal);
  margin: 0 0 14px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer li { font-size: 14px; }
.site-footer a {
  color: rgba(255,255,255,0.78);
}
.site-footer a:hover { color: #fff; }
.foot-rule {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0 0 24px;
}
.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-mono { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
