/* ============================================================
   Variation 2-5 — Split Asymmetric × Dashboard
   V2's whitespace and split-column restraint +
   V5's monospace metadata, grid cells, and structured density
   ============================================================ */

:root {
  --bg:           #ffffff;
  --bg-alt:       #f7f9f7;
  --green:        #4B8063;
  --green-dark:   #3a6450;
  --green-muted:  #eaf2ed;
  --text:         #111814;
  --text-light:   #556360;
  --text-meta:    #8a9e97;
  --border:       #dde6e0;
  --border-dark:  #c4d4cb;
  --radius:       3px;
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono:         'Courier New', Courier, monospace;
  --wrap:         1160px;
  --label-width:  180px;
  --section-pad:  5rem 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: #fff;
  padding: .35rem .8rem;
  font-size: .82rem;
  z-index: 1000;
  text-decoration: none;
  transition: top .15s;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ── Wrap ── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .01em;
}
.brand span { color: var(--green); }
.brand-logo { width: 28px; height: 28px; object-fit: contain; }

.nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: 0 1.1rem;
  height: 62px;
  line-height: 62px;
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .15s, background .15s;
  white-space: nowrap;
  border-left: 1px solid var(--border);
}
.nav a:hover, .nav a:focus { color: var(--green); background: var(--bg-alt); }
.nav a.btn {
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  padding: 0 1.3rem;
  border-left: 1px solid var(--green);
}
.nav a.btn:hover { background: var(--green-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: background .2s;
}
.nav-toggle:hover span { background: var(--green); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .6rem 1.5rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  border: 1.5px solid transparent;
  letter-spacing: .03em;
  font-family: var(--font);
}
.btn.primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn.primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn.secondary { background: transparent; color: var(--green); border-color: var(--green); }
.btn.secondary:hover { background: var(--green-muted); }
.btn.small { padding: .3rem .85rem; font-size: .75rem; height: 62px; line-height: 62px; padding-top: 0; padding-bottom: 0; border-radius: 0; }

/* ── Hero ── */
.hero {
  border-bottom: 1px solid var(--border-dark);
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
}

.hero-main {
  padding: 5rem 3rem 5rem 0;
  border-right: 1px solid var(--border);
}
.eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.hero-main h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.lead {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.hero-points li {
  font-size: .85rem;
  color: var(--text-meta);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-points li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: var(--green);
  flex-shrink: 0;
}

/* Hero metadata sidebar — V5 influence */
.hero-meta {
  display: flex;
  flex-direction: column;
}
.meta-cell {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  flex: 1;
}
.meta-cell:last-child { border-bottom: none; }
.meta-label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: .3rem;
}
.meta-value {
  font-size: .85rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}
.lang-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
  background: var(--green-muted);
  color: var(--green-dark);
  padding: .15rem .5rem;
  border: 1px solid rgba(75,128,99,.25);
  border-radius: 2px;
  margin-right: .25rem;
}

/* ── Split layout (V2 influence) ── */
.section {
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
}
.section.alt { background: var(--bg-alt); }

.split {
  display: grid;
  grid-template-columns: var(--label-width) 1fr;
  gap: 0 4rem;
  align-items: start;
}
.split-label {
  padding-top: .2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: sticky;
  top: 80px;
}
.section-num {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .14em;
  color: var(--green);
  font-weight: 700;
}
.split-label-text {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.section-sub {
  font-size: .9rem;
  color: var(--text-meta);
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  letter-spacing: .04em;
}

/* ── Services (V5 grid cells + V2 proportions) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.svc-card {
  padding: 1.8rem 1.6rem;
  border-right: 1px solid var(--border);
  background: var(--bg);
  transition: background .15s;
}
.svc-card:last-child { border-right: none; }
.svc-card:hover { background: var(--bg-alt); }
.svc-card.highlight { background: var(--green-muted); }
.svc-card.highlight:hover { background: #dceee5; }
.svc-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  padding: .18rem .55rem;
  margin-bottom: 1rem;
  border-radius: 2px;
}
.svc-tag.secondary-tag {
  background: transparent;
  color: var(--text-meta);
  border: 1px solid var(--border-dark);
}
.svc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.svc-card p {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.svc-card ul {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: .9rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.svc-card ul li {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-light);
  padding-left: .9rem;
  position: relative;
  letter-spacing: .01em;
}
.svc-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ── Process (V5 table + V2 breathing room) ── */
.process-table {
  border: 1px solid var(--border);
  background: var(--bg);
}
.process-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.process-row.last { border-bottom: none; }
.process-row:hover { background: var(--green-muted); }
.process-row > div { padding: 1.6rem 1.2rem; }
.p-num {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  opacity: .35;
  line-height: 1;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-content {}
.p-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.p-desc {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── Cases (V5 rows + V2 meta pattern) ── */
.cases-list {
  border: 1px solid var(--border);
  background: var(--bg);
}
.case-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
  align-items: center;
}
.case-row:last-of-type { border-bottom: none; }
.case-row:hover { background: var(--bg-alt); }
.case-row > div { padding: 1.3rem 1.2rem; }
.case-meta { border-right: 1px solid var(--border); }
.case-industry {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.case-city {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--text-meta);
  margin-top: .2rem;
}
.case-desc {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
}
.case-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 20px;
  white-space: nowrap;
  text-align: right;
}
.pill-blue  { background: #dce6f5; color: #2a4a70; }
.pill-amber { background: #f5ead6; color: #6a4010; }
.pill-teal  { background: #d6f0ea; color: #1a5040; }

.cases-cta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cases-cta p { font-size: .88rem; color: var(--text-light); }

/* ── About ── */
.about-wrap {}
.about-wrap h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: .2rem;
}
.about-role {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.4rem;
}
.about-wrap > p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 2rem;
}
.about-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.about-bullets li {
  padding: 1.1rem 1.2rem;
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.65;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-bullets li:nth-child(2n) { border-right: none; }
.about-bullets li:nth-last-child(-n+2) { border-bottom: none; }
.about-bullets strong {
  display: block;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .4rem;
}

/* ── FAQ (V2 clean expand) ── */
.faq-wrap {
  border: 1px solid var(--border);
  background: var(--bg);
}
.faq-wrap details {
  border-bottom: 1px solid var(--border);
}
.faq-wrap details:last-child { border-bottom: none; }
.faq-wrap summary {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background .15s, color .15s;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--green);
  flex-shrink: 0;
  font-weight: 300;
}
.faq-wrap details[open] summary::after { content: '–'; }
.faq-wrap summary:hover { background: var(--bg-alt); color: var(--green); }
.faq-wrap details p {
  padding: .5rem 1.4rem 1.2rem;
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 600px;
}

/* ── Contact ── */
.contact-form { max-width: 580px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: .8rem;
}
.form-row.full { grid-template-columns: 1fr; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border-dark);
  padding: .65rem .9rem;
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  border-radius: var(--radius);
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(75,128,99,.08);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-footer {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.form-note {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--text-meta);
  letter-spacing: .03em;
}
.form-error { font-size: .85rem; color: #b33; margin-top: .6rem; }
.form-success {
  font-size: .9rem;
  color: var(--green-dark);
  padding: 1.2rem 1.5rem;
  background: var(--green-muted);
  border: 1px solid rgba(75,128,99,.3);
  border-radius: var(--radius);
  max-width: 480px;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-meta);
  letter-spacing: .06em;
  background: var(--bg);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { padding: 3.5rem 0 2.5rem; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-meta { flex-direction: row; flex-wrap: wrap; }
  .meta-cell { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); min-width: 130px; flex: 1; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3rem 0; --label-width: 100%; }

  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: fixed;
    top: 62px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem 1.5rem;
    z-index: 99;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { height: auto; line-height: 1.5; padding: .75rem 0; border-left: none; border-bottom: 1px solid var(--border); }
  .nav a.btn { background: none; color: var(--green); border-left: none; }

  .split { grid-template-columns: 1fr; gap: 1rem 0; }
  .split-label { position: static; flex-direction: row; align-items: center; gap: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }

  .services-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-bottom: 1px solid var(--border); }
  .svc-card:last-child { border-bottom: none; }

  .case-row { grid-template-columns: 1fr auto; }
  .case-meta { display: none; }

  .about-bullets { grid-template-columns: 1fr; }
  .about-bullets li { border-right: none; }
  .about-bullets li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .about-bullets li:last-child { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 1.2rem; }
  .hero-main h1 { font-size: 2.1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .meta-cell { min-width: 100%; border-right: none; }
}
