/* Lime Automation — site stylesheet
   Brand source: Lime Automation Brand Style Guide v1.0 (Stanford Marketing, Aug 2026)
   - Corporate typeface: Arial (Filson Pro is reserved for the logo artwork only)
   - Lime green #b2d234 · Charcoal #4c4c4e · Black reserved for the logo
   - Icon watermark opacities: 20% on green, 10% on grey, 30% on photography
   Web note: green text on white fails WCAG contrast, so green is used as a fill,
   rule or accent on white, and as text only on charcoal. */

:root {
  --lime: #b2d234;
  --charcoal: #4c4c4e;
  --ink: #4c4c4e;
  --ink-soft: #6b6b6d;
  --paper: #ffffff;
  --mist: #f4f5f1;
  --line: #e2e3de;
  --lime-wash: rgba(178, 210, 52, 0.14);
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --radius: 2px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--charcoal); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
ul { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--charcoal); padding: 10px 16px; font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Mockup notice ---------- */
.mockbar {
  background: var(--charcoal); color: #fff; font-size: 13px; text-align: center;
  padding: 7px var(--gut); letter-spacing: .02em;
}
.mockbar b { color: var(--lime); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--lime);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .2s ease; }
.site-header.is-scrolled .wrap { height: 68px; }
.brand { display: inline-flex; align-items: center; padding: 6px 0; }   /* clear space around logo */
.brand img { width: 150px; height: auto; transition: width .2s ease; }  /* web minimum is 90px */
.site-header.is-scrolled .brand img { width: 128px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 700; color: var(--charcoal);
  padding: 10px 12px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--charcoal);
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lime); color: var(--charcoal);
  font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: 15px 26px; border: 2px solid var(--lime); border-radius: var(--radius);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--lime); }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.on-dark .btn:hover { background: #fff; border-color: #fff; color: var(--charcoal); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

.link {
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--charcoal);
  border-bottom: 2px solid var(--lime); padding-bottom: 2px;
}
.link:hover { border-bottom-color: var(--charcoal); }

/* ---------- Section rhythm ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--lime); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.rule { height: 1px; background: var(--lime); border: 0; margin: 0; }

/* ---------- Dark surfaces + icon watermark ---------- */
.on-dark { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .eyebrow { color: var(--lime); }
.on-dark .lead { color: rgba(255,255,255,.88); }
.watermark {
  position: absolute; z-index: -1; pointer-events: none;
  background: url("../img/lime-icon-white.svg") no-repeat center / contain;
  opacity: .10;                             /* 10% on grey */
  aspect-ratio: 193 / 207;
}
.watermark--green { opacity: .20; }         /* 20% on green */
.watermark--photo { opacity: .30; }         /* 30% on photography */

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  min-height: min(88vh, 820px); display: flex; align-items: center;
  background: var(--charcoal);
}
.hero__photo { position: absolute; inset: 0; z-index: -3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; filter: grayscale(1) contrast(1.05); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(76,76,78,.97) 0%, rgba(76,76,78,.9) 38%, rgba(76,76,78,.55) 68%, rgba(76,76,78,.25) 100%);
}
.hero .watermark { width: min(44vw, 560px); right: -7%; bottom: -22%; opacity: .16; z-index: -1; }   /* kept clear of faces, per guide */
.hero .wrap { width: 100%; padding-top: 72px; padding-bottom: 72px; }
.hero__inner { max-width: 720px; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--lime); }
.hero .lead { color: rgba(255,255,255,.9); margin-bottom: 14px; }
.hero__sub { color: rgba(255,255,255,.75); font-size: 16px; max-width: 60ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero--split .hero__actions .btn { padding: 14px 20px; }

.partner-strip { background: #fff; border-bottom: 1px solid var(--line); }
.partner-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 26px; padding-bottom: 26px; }
.partner-strip__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.partner-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 34px; }
.partner-strip li { font-weight: 700; font-size: 15px; color: var(--charcoal); display: flex; align-items: center; gap: 10px; }
.partner-strip li::before { content: ""; width: 8px; height: 8px; background: var(--lime); }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.tile {
  background: #fff; padding: 34px 28px 30px; text-decoration: none; display: flex; flex-direction: column; gap: 12px;
  position: relative; transition: background .2s;
}
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.tile:hover::before, .tile:focus-visible::before { transform: scaleX(1); }
.tile:hover { background: #fcfdf9; }
.tile__num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--charcoal); display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--lime); }
.tile h3 { margin: 8px 0 0; font-size: 1.2rem; }
.tile p { margin: 0; font-size: 15px; color: var(--ink-soft); flex: 1; }
.tile .more { font-size: 14px; font-weight: 700; color: var(--charcoal); display: inline-flex; gap: 8px; align-items: center; }
.more { font-size: 14px; font-weight: 700; color: var(--charcoal); display: inline-flex; gap: 8px; align-items: center; }
.tile:hover .more .arrow, .case-card:hover .more .arrow { transform: translateX(3px); }
.more .arrow { transition: transform .15s; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
.figure { position: relative; margin: 0; }
.figure img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; position: relative; z-index: 1; }
.figure::before { content: ""; position: absolute; width: 58%; height: 58%; right: -18px; bottom: -18px; background: var(--lime); z-index: 0; }
.figure figcaption { position: absolute; z-index: 2; left: 0; bottom: 0; background: var(--charcoal); color: #fff; font-size: 13px; padding: 10px 14px; max-width: 80%; }
.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 16px; height: 13px; margin-top: 6px; background: var(--lime);
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
}
.on-dark .checks li::before { background: var(--lime); }

/* ---------- Trust band ---------- */
.trust { background: var(--lime); color: var(--charcoal); position: relative; overflow: hidden; isolation: isolate; }
.trust .watermark { background-image: url("../img/lime-icon-white.svg"); width: 420px; left: -110px; top: 50%; transform: translateY(-50%); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 44px; padding-bottom: 44px; }
.trust__item { padding: 6px 28px; border-left: 2px solid rgba(76,76,78,.25); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item strong { display: block; font-size: 1.15rem; line-height: 1.25; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner {
  background: #fff; border: 1px solid var(--line); padding: 30px 26px 28px; display: flex; flex-direction: column; gap: 10px;
  border-top: 4px solid var(--charcoal);
}
.partner__name { font-size: 1.35rem; font-weight: 700; color: var(--charcoal); letter-spacing: -0.01em; }
.partner__status { min-height: 52px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 14px; border-bottom: 1px solid var(--lime); }
.partner p { font-size: 15px; margin: 6px 0 0; color: var(--ink-soft); }
.note { font-size: 13px; color: var(--ink-soft); margin-top: 22px; }

/* ---------- Case study cards ---------- */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.case-card { text-decoration: none; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case-card__img { aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--mist); }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card__img img { transform: scale(1.04); }
.case-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--lime); color: var(--charcoal); padding: 5px 9px; }
.case-card h3 { font-size: 1.15rem; margin: 6px 0 0; }
.case-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; flex: 1; }
.case-card .more { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta { padding: clamp(64px, 8vw, 104px) 0; }
.cta .watermark { width: 520px; right: -120px; top: 50%; transform: translateY(-50%); }
.cta .wrap { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.82); max-width: 60ch; margin: 0; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); }
.page-hero .watermark { width: min(52vw, 560px); right: -90px; top: 50%; transform: translateY(-50%); }
.page-hero h1 { max-width: 22ch; margin-bottom: 18px; font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.page-hero .lead { max-width: 60ch; }
.page-hero--photo { position: relative; }
.page-hero--photo .hero__photo img { object-position: center; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(76,76,78,.97) 0%, rgba(76,76,78,.88) 50%, rgba(76,76,78,.55) 100%); }

/* ---------- Subnav (Solutions) ---------- */
.subnav { position: sticky; top: 68px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 700; padding: 9px 14px; border: 1px solid var(--line); color: var(--charcoal); }
.subnav a:hover, .subnav a.is-active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* ---------- Solution blocks ---------- */
.solution { scroll-margin-top: 150px; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.solution:first-of-type { border-top: 0; }
.solution__num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.solution__num::before { content: ""; width: 28px; height: 3px; background: var(--lime); }
.solution h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.solution__img { margin-top: 28px; aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.panel { background: var(--mist); padding: clamp(26px, 3.5vw, 40px); border-left: 4px solid var(--lime); }
.panel h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.panel .checks { grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 0; font-size: 15.5px; }

.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--charcoal); color: #fff; padding: 34px clamp(24px, 4vw, 44px); position: relative; overflow: hidden; isolation: isolate; }
.callout .watermark { width: 240px; right: 120px; top: 50%; transform: translateY(-50%); }
.callout__badge { width: 64px; height: 64px; background: var(--lime); color: var(--charcoal); font-weight: 700; display: grid; place-items: center; font-size: 14px; letter-spacing: .06em; }
.callout h3 { color: #fff; margin-bottom: 6px; }
.callout p { margin: 0; color: rgba(255,255,255,.82); font-size: 15.5px; max-width: 70ch; }

/* ---------- About ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.principle { background: #fff; padding: clamp(28px, 3.5vw, 40px); }
.principle__k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.principle__k::before { content: ""; width: 10px; height: 10px; background: var(--lime); }
.principle h3 { margin-bottom: 10px; }
.principle p { margin: 0; color: var(--ink-soft); }
.lifecycle { display: grid; grid-template-columns: repeat(4, 1fr); margin: 8px 0 0; padding: 0; }
.lifecycle li { list-style: none; padding: 22px 20px 0 0; border-top: 3px solid var(--lime); position: relative; }
.lifecycle li strong { display: block; font-size: 1.35rem; color: #fff; margin-bottom: 6px; }
.lifecycle li span { color: rgba(255,255,255,.78); font-size: 15px; }

/* ---------- Trade sales ---------- */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.brand-card { border: 1px solid var(--line); padding: 30px 26px; border-top: 4px solid var(--lime); background: #fff; }
.brand-card h3 { margin-bottom: 8px; }
.brand-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.catalogue { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); list-style: none; }
.catalogue li { background: #fff; padding: 22px 24px; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; font-weight: 700; font-size: 15.5px; }
.catalogue li span { width: 36px; height: 36px; display: grid; place-items: center; background: var(--mist); font-size: 12px; color: var(--ink-soft); letter-spacing: .06em; }

/* ---------- Case studies page ---------- */
.study { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.study:first-of-type { border-top: 0; padding-top: 0; }
.study--flip .study__media { order: 2; }
.study__media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.study__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.study__media img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.study__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.study h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 6px; }
.study__sub { font-size: 16px; color: var(--ink-soft); margin-bottom: 26px; }
.facts { display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--line); margin: 0; }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15.5px; }
.facts dt { font-weight: 700; color: var(--charcoal); padding-right: 16px; }
.facts dd { color: var(--ink); }
.outcome { margin-top: 26px; background: var(--lime-wash); border-left: 4px solid var(--lime); padding: 20px 22px; }
.outcome h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--charcoal); }
.outcome p { margin: 0; }
.jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.jump a { background: #fff; text-decoration: none; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.jump a:hover { background: var(--mist); }
.jump small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.jump strong { font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--lime); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form h2 { font-size: 1.7rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--charcoal); }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field label .req { color: var(--charcoal); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #c9cac4; border-radius: var(--radius); padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 3px var(--lime-wash); }
.field input[type="file"] { padding: 10px; background: var(--mist); }
.field .hint { font-size: 13px; color: var(--ink-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field .err { font-size: 13px; color: #b3261e; display: none; }
.field.has-error .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { font-weight: 700; font-size: 14px; padding: 10px 14px; border: 1px solid #c9cac4; cursor: pointer; transition: all .15s; }
.chips input:checked + label { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.chips input:focus-visible + label { outline: 3px solid var(--lime); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.form__foot small { color: var(--ink-soft); font-size: 13px; max-width: 42ch; }
.form__done { display: none; text-align: center; padding: 30px 10px; }
.form__done .tick { width: 64px; height: 64px; margin: 0 auto 18px; background: var(--lime); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.form.is-sent .form__body { display: none; }
.form.is-sent .form__done { display: block; }

.offices { display: grid; gap: 18px; }
.office { background: var(--charcoal); color: #fff; padding: 28px 28px 26px; position: relative; overflow: hidden; isolation: isolate; }
.office .watermark { width: 170px; right: -40px; bottom: -40px; }
.office h3 { color: var(--lime); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.office address { font-style: normal; font-size: 1.1rem; line-height: 1.5; font-weight: 700; }
.office a { color: rgba(255,255,255,.8); font-size: 14px; display: inline-block; margin-top: 12px; }
.direct { border: 1px solid var(--line); padding: 26px 28px; }
.direct h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.direct a { display: block; text-decoration: none; font-weight: 700; font-size: 1.15rem; color: var(--charcoal); padding: 8px 0; border-bottom: 1px solid var(--line); word-break: break-word; }
.direct a:last-child { border-bottom: 0; }
.direct a small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.82); position: relative; overflow: hidden; isolation: isolate; border-top: 4px solid var(--lime); }
/* Kept inside the upper footer so the divider above the copyright line never crosses it */
.site-footer .watermark { width: 280px; right: -70px; top: 24px; bottom: auto; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: 170px; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; max-width: 32ch; }
.footer-brand .footer-strap { color: var(--lime); font-weight: 700; margin-bottom: 6px; }
.site-footer h4 { color: var(--lime); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer address { font-style: normal; font-size: 15px; line-height: 1.6; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--lime); }
.footer-contact a { display: block; color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Split hero (home) ---------- */
.hero--split { min-height: 0; }
.hero--split .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero--split .hero__inner { max-width: 620px; }
.hero--split h1 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); }
.hero__art { position: relative; margin: 0; }
.hero__art img { width: 100%; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero__art::before { content: ""; position: absolute; width: 42%; height: 42%; left: -18px; bottom: -18px; background: var(--lime); z-index: -1; }
.hero--split .watermark { width: 520px; left: -140px; right: auto; bottom: -180px; opacity: .08; }
.hero__actions .btn--ghost { border-color: rgba(255,255,255,.55); }

/* ---------- Partner logos ---------- */
.logo-strip { background: #fff; border-bottom: 1px solid var(--line); }
.logo-strip .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: center; list-style: none; }
.logo-row li { display: flex; align-items: center; justify-content: center; height: 64px; }
.logo-row img { max-height: 58px; max-width: 100%; width: auto; object-fit: contain; }
.logo-tile { height: 92px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 18px; }
.logo-tile img { max-height: 84px; max-width: 230px; width: auto; object-fit: contain; }
.partner .logo-tile { height: 76px; margin-bottom: 6px; }
.partner .logo-tile img { max-height: 68px; max-width: 200px; }

/* ---------- Six service tiles ---------- */
.tiles--6 { grid-template-columns: repeat(3, 1fr); }

/* ---------- How Lime fits (scope stack) ---------- */
.stack { display: grid; gap: 14px; }
.stack__layer { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 26px 28px; border-radius: 3px; }
.stack__layer--lime { background: var(--charcoal); color: #fff; border-left: 6px solid var(--lime); }
.stack__layer--lime h3 { color: var(--lime); }
.stack__layer--mech { background: var(--mist); border: 2px dashed var(--g2, #c9cac4); color: var(--ink-soft); }
.stack__layer--mech h3 { color: var(--ink-soft); }
.stack__layer h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.stack__who { font-size: 1.25rem; font-weight: 700; }
.stack__items { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.stack__items li { font-size: 14px; font-weight: 700; padding: 8px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.stack__layer--mech .stack__items li { background: #fff; border-color: var(--line); color: var(--ink-soft); }
.stack__link { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 14px; }
.stack__link::before, .stack__link::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 18px); }
.stack__note { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }

/* ---------- Who installs what ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th { text-align: left; padding: 18px 20px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.compare th:first-child { background: var(--mist); color: var(--ink-soft); border-top: 4px solid #c9cac4; }
.compare th:last-child { background: var(--charcoal); color: var(--lime); border-top: 4px solid var(--lime); }
.compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; width: 50%; }
.compare td:first-child { color: var(--ink-soft); background: #fbfbf9; }
.compare td:last-child { font-weight: 700; color: var(--charcoal); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); }

/* ---------- Technology page ---------- */
.platform { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.platform:first-of-type { border-top: 0; }
.platform--flip > :first-child { order: 2; }
.platform__status { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 10px; border-bottom: 2px solid var(--lime); margin-bottom: 18px; }
.platform h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.platform img.art { width: 100%; border: 1px solid var(--line); }
.art--product { padding: clamp(18px, 3vw, 40px); background: var(--mist); }
.hero__art img { background: #fff; }
.chips-static { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; }
.chips-static li { font-size: 13px; font-weight: 700; padding: 7px 11px; background: var(--mist); border: 1px solid var(--line); }

/* ---------- Placeholder badges ---------- */
.ph-wrap { position: relative; }
.ph-badge { position: absolute; z-index: 3; top: 12px; right: 12px; background: rgba(76,76,78,.92); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; }
.ph-badge b { color: var(--lime); }
.hero .ph-badge, .page-hero .ph-badge { top: auto; bottom: 14px; right: 14px; }

/* ---------- Illustration figures ---------- */
.art-figure { margin: 0; position: relative; }
.art-figure img { width: 100%; display: block; border: 1px solid var(--line); background: var(--mist); }
.solution__img.art { aspect-ratio: auto; object-fit: contain; border: 1px solid var(--line); background: var(--mist); }
.study__media img.art { object-fit: cover; background: var(--mist); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .partners, .cases { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .jump { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--lime); padding: 8px var(--gut) 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
    max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto;
  }
  .site-header.is-scrolled .nav { inset: 68px 0 auto 0; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { left: 0; right: auto; width: 40px; bottom: 8px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .split, .solution, .study, .contact-grid, .cta .wrap, .platform, .hero--split .wrap { grid-template-columns: 1fr; }
  .platform--flip > :first-child { order: 0; }
  .tiles--6 { grid-template-columns: repeat(2, 1fr); }
  .stack__layer { grid-template-columns: 1fr; gap: 12px; }
  .logo-strip .wrap { grid-template-columns: 1fr; }
  .split--flip > :first-child, .study--flip .study__media { order: 0; }
  .trust .wrap { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .lifecycle { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .brands { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  .subnav { top: 68px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 72px; }
  .nav, .site-header.is-scrolled .nav { inset: 72px 0 auto 0; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); }
  .brand img { width: 124px; }
  .partners, .cases, .principles, .jump, .tiles--6 { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .panel .checks, .form__grid { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust__item { border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .site-footer .watermark { width: 190px; right: -50px; top: 30px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .lifecycle { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 80px; padding-bottom: 80px; }
}

/* Enquiry form: spam trap, send failure, busy button */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__fail { display: none; margin: 18px 0 0; padding: 12px 14px; border-left: 4px solid #b3261e; background: #fbeeee; font-size: 15px; }
.form.is-failed .form__fail { display: block; }
.form button[disabled] { opacity: .7; cursor: progress; }
.cf-turnstile { margin-top: 22px; min-height: 65px; }
.form__noscript { margin-top: 20px; padding: 12px 14px; background: var(--mist); }
.privacy-copy { max-width: 780px; }
.privacy-copy h2 { margin-top: 1.8em; }
.privacy-copy h2:first-child { margin-top: 0; }
.privacy-copy p { line-height: 1.75; }
