/* Lark Data Solutions — site styles */
/* Plus Jakarta Sans (SIL Open Font License), Latin subset, variable weight 400-800. Self-hosted for speed. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
:root {
  --ink: #0f1b2d;
  --ink-soft: #3b4658;
  --muted: #5f6b7d;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --teal: #08776d;
  --teal-bright: #19c6b4;
  --orange: #f26b1d;
  --lime: #a6d10c;
  --gold: #ffc21a;
  --radius: 14px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand span small { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav a.btn { color: #fff; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 8px; }
  .nav a.btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  border: 2px solid var(--ink); transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 48px; }

/* Hero */
.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 span { background: linear-gradient(90deg, var(--teal) 0%, var(--teal-bright) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-art { position: relative; }
.hero-art img { width: 100%; }
@media (max-width: 860px) {
  .hero { padding: 56px 0 48px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 480px; }
}

.page-hero { padding: 72px 0 40px; }
.page-hero .lead { max-width: 760px; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { border-color: var(--teal-bright); box-shadow: 0 12px 32px -16px rgba(15, 27, 45, 0.25); transform: translateY(-2px); }
.card .dot { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 0.92rem; color: var(--teal); }

.c-teal { background: var(--teal-bright); }
.c-orange { background: var(--orange); }
.c-lime { background: var(--lime); }
.c-gold { background: var(--gold); }

/* Split / why */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 16px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checklist strong { color: var(--ink); }

/* Services detail */
.service { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service-intro .dot { width: 18px; height: 18px; border-radius: 50%; margin-bottom: 18px; }
.service-intro p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service li { background: var(--bg-soft); border-radius: 12px; padding: 20px 22px; }
.service li strong { display: block; color: var(--ink); margin-bottom: 4px; }
.service li span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 24px; }
  .service ul { grid-template-columns: 1fr; }
}

/* Team */
.person { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; }
.person img { border-radius: 50%; width: 200px; height: 200px; object-fit: cover; }
.person .role { color: var(--teal); font-weight: 700; margin: -6px 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 20px; }
.tags li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 700px) {
  .person { grid-template-columns: 1fr; gap: 20px; }
  .person img { width: 140px; height: 140px; }
}

.team-preview { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.team-preview a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); font-weight: 700; }
.team-preview img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.team-preview small { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }

/* CTA band */
.cta { background: var(--ink); color: #c9d2df; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; }
.cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn:hover { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--ink); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 36px 28px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .card h2 { font-size: 1.4rem; }
.contact-grid .card p { margin-bottom: 20px; }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; margin-bottom: 0.4em; }
.legal .meta { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; font-size: 0.93rem; color: var(--muted); }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.team-preview > span { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ink); }

/* Service line + lead partner columns (home) */
.lines { align-items: start; }
.line-col { display: flex; flex-direction: column; gap: 16px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; scroll-margin-top: 96px; }
.partner img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.partner h3 { margin-bottom: 2px; }
.partner .role { color: var(--teal); font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; }
.partner p { color: var(--ink-soft); font-size: 0.98rem; }
.partner a { font-weight: 700; font-size: 0.92rem; }
.lead-by { font-weight: 600; color: var(--ink-soft); }
.service ul.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.service ul.tags li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.product-intro { margin: 8px 0 12px; color: var(--ink-soft); }
.product-card { max-width: 420px; padding: 22px 24px; }
.product-card .eyebrow { margin-bottom: 6px; }
.product-card h3 { margin-bottom: 6px; }
.product-card .more { margin-top: 12px; }

/* Contact form */
.contact-grid { grid-template-columns: 1.7fr 1fr; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #cfd6e0; border-radius: 10px; padding: 11px 14px; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25, 198, 180, 0.2); }
.contact-form .req { color: var(--orange); }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form .btn { justify-self: start; cursor: pointer; }
.contact-form .btn:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #c2410c; }
.contact-form label { display: block; }
.contact-form label input, .contact-form label select, .contact-form label textarea { display: block; margin-top: 6px; }

/* Services: two service-line cards side by side, products band below */
.line-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .line-grid { grid-template-columns: 1fr; } }
.line-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; scroll-margin-top: 96px; display: flex; flex-direction: column; }
.line-card .dot { width: 18px; height: 18px; border-radius: 50%; margin-bottom: 18px; }
.line-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.line-card > p { color: var(--muted); }
.line-card .lead-by { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.95rem; margin: 4px 0 24px; align-self: flex-start; }
.line-card .lead-by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.line-card .lead-by:hover span { color: var(--teal); }
.line-card .checklist { border-top: 1px solid var(--line); padding-top: 24px; }
.line-card .checklist li { margin-bottom: 12px; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .line-card { padding: 26px 22px; } }

.product-band { margin-top: 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 36px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; scroll-margin-top: 96px; }
.product-label { display: flex; align-items: center; gap: 12px; }
.product-label .dot { width: 14px; height: 14px; border-radius: 50%; }
.product-label h2 { margin: 0; font-size: 1.25rem; }
.product-band h3 { margin: 0 0 4px; }
.product-band .product-body p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .product-band { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; } .product-band .btn { justify-self: start; } }

/* Single-page layout */
.anchor { scroll-margin-top: 72px; }
.line-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.product-label h3 { margin: 0; font-size: 1.25rem; }
.product-band h4 { margin: 0 0 4px; font-size: 1.1rem; color: var(--ink); }
#partners .grid { align-items: stretch; }
#contact .contact-grid .card { background: #fff; }
.line-card > p { margin-bottom: 24px; }

/* Keyword H1 styled as the small label; tagline keeps the large heading look */
.hero h1.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; line-height: 1.5; margin: 0 0 14px; }
.tagline { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.6em; }
.hero .tagline span { background: linear-gradient(90deg, var(--teal) 0%, var(--teal-bright) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-grid .card h3 { font-size: 1.4rem; }
.footer-head { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.site-footer .container { grid-template-columns: 2fr 1fr; }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; } }
