/* ==========================================================================
   LV Consulting
   Palette taken from the LV monogram: green, gold, black on white.
   ========================================================================== */

:root {
  --paper:      #FFFFFF;
  --paper-2:    #F2F5EF;
  --paper-3:    #E6EFE7;
  --ink:        #101314;
  --ink-2:      #0C3B22;
  --ink-soft:   #55605B;
  --rule:       rgba(16, 19, 20, 0.15);
  --rule-soft:  rgba(16, 19, 20, 0.08);
  --green:      #17994A;
  --green-dark: #0F7539;
  --green-tint: rgba(23, 153, 74, 0.10);
  --gold:       #D2A02C;
  --gold-tint:  rgba(210, 160, 44, 0.16);
  --on-ink:     #DCEADF;
  --on-ink-dim: #9CBDA7;

  --measure: 62ch;
  --pad: clamp(20px, 5vw, 48px);
  --gap: clamp(32px, 6vw, 84px);
  --section: clamp(60px, 8.5vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 17.5px;
  line-height: 1.62;
  font-optical-sizing: auto;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Type ---------------------------------------------------------- */

h1, h2, h3, h4, .nav a, .btn, .kicker, .stat-num, .tag, .wordmark, .post-date, .price, .tlink {
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
}

h1 {
  font-size: clamp(2.4rem, 5.8vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 22px;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin: 0 0 20px;
  text-wrap: balance;
}
h3 {
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 10px;
}

p { margin: 0 0 18px; max-width: var(--measure); }

.lede {
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.54;
  color: var(--ink-soft);
  max-width: 54ch;
}
.small { font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); }
.kicker { font-size: 0.82rem; font-weight: 600; color: var(--green-dark); margin: 0 0 14px; }
strong { font-weight: 600; }

.todo {
  color: var(--green-dark);
  border-bottom: 2px dotted var(--green);
  font-style: italic;
}

/* ---------- Layout -------------------------------------------------------- */

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap--narrow { max-width: 760px; }

.band { padding: var(--section) 0; }
.band--tight { padding: calc(var(--section) * 0.6) 0; }
.band--pale { background: var(--paper-2); }
.band--ink { background: var(--ink-2); color: var(--on-ink); }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink p { color: var(--on-ink); }
.band--ink .small { color: var(--on-ink-dim); }
.band--ink .lede { color: var(--on-ink-dim); }

.split { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--flip > :first-child { order: 2; }
}

.cols { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .cols--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .cols--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Header -------------------------------------------------------- */

.site-head::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--green) 0 46%, var(--gold) 46% 100%);
}

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.10em;
  text-decoration: none;
}
.wordmark svg { width: 40px; height: auto; }

.nav { display: none; }
@media (min-width: 940px) { .nav { display: flex; align-items: center; gap: 24px; } }
.nav a {
  font-size: 0.94rem; font-weight: 500; text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  padding: 9px 18px; font-family: "Outfit", sans-serif; font-size: 0.9rem;
  color: inherit; cursor: pointer;
}
@media (min-width: 940px) { .nav-toggle { display: none; } }

.nav-drawer { display: none; border-top: 1px solid var(--rule-soft); padding: 12px 0 22px; }
.nav-drawer[data-open="true"] { display: block; }
.nav-drawer a {
  display: block; padding: 11px 0; text-decoration: none;
  font-family: "Outfit", sans-serif; font-size: 1.02rem;
  border-bottom: 1px solid var(--rule-soft);
}
@media (min-width: 940px) { .nav-drawer { display: none !important; } }

/* ---------- Buttons ------------------------------------------------------- */

.btn {
  display: inline-block; font-size: 0.95rem; font-weight: 600;
  text-decoration: none; padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid var(--green); background: var(--green); color: #fff;
  cursor: pointer; transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.band--ink .btn { background: var(--green); border-color: var(--green); color: #fff; }
.band--ink .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.band--ink .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.band--ink .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.tlink { font-weight: 600; font-size: 0.95rem; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.tlink:hover { color: var(--green-dark); border-bottom-color: var(--green); }

/* ---------- Hero ---------------------------------------------------------- */

.hero {
  padding: clamp(44px, 7vw, 92px) 0 clamp(44px, 6vw, 76px);
  background: transparent;
  border-bottom: 1px solid rgba(23, 153, 74, 0.18);
}
.hero-meta {
  font-family: "Outfit", sans-serif; font-size: 0.85rem; color: var(--ink-soft);
  margin: 26px 0 0; padding-top: 18px; border-top: 2px solid var(--green); max-width: 46ch;
}

.chart { background: #fff; border: 1px solid rgba(23, 153, 74, 0.20); border-radius: 14px; padding: 18px 18px 14px; }
.chart svg { width: 100%; height: auto; }
.chart figcaption {
  font-family: "Outfit", sans-serif; font-size: 0.78rem; color: var(--ink-soft);
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule-soft); line-height: 1.45;
}

.graticule { stroke: rgba(23, 153, 74, 0.14); stroke-width: 1; }
.route-line { stroke: var(--gold); stroke-width: 1.8; fill: none; opacity: 0.95; }
.node { fill: var(--ink); }
.node-hub { fill: var(--green); }
.hub-ring { fill: none; stroke: var(--green); stroke-width: 1.6; opacity: 0.45; }
.node-label { font-family: "Outfit", sans-serif; font-size: 13.5px; font-weight: 500; fill: var(--ink-soft); }
.node-label--hub { fill: var(--ink); font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .route-line {
    stroke-dasharray: var(--len, 400);
    stroke-dashoffset: var(--len, 400);
    animation: draw 1100ms cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
    animation-delay: var(--delay, 0ms);
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Client strip -------------------------------------------------- */

.strip { background: var(--paper-2); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); padding: 24px 0; }
.strip-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: "Outfit", sans-serif; font-size: 0.96rem; font-weight: 600; letter-spacing: -0.01em;
}
.strip-note { margin: 14px 0 0; font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- Blocks -------------------------------------------------------- */

.feature { border-top: 2px solid var(--green); padding-top: 18px; }
.feature p { font-size: 0.98rem; margin-bottom: 0; }

.offer { border-top: 3px solid var(--gold); padding-top: 20px; display: flex; flex-direction: column; height: 100%; }
.offer h3 { font-size: 1.28rem; }
.offer .price { font-weight: 600; font-size: 1.02rem; color: var(--gold); margin: 0 0 14px; }
.offer ul { margin: 0 0 20px; padding-left: 1.05em; }
.offer li { margin-bottom: 7px; font-size: 0.97rem; }
.offer .offer-foot { margin-top: auto; }
.band--ink .offer .tlink { color: #fff; }

.panel { background: var(--paper-2); border: 1px solid rgba(23, 153, 74, 0.18); border-radius: 14px; padding: clamp(24px, 4vw, 38px); }
.band--ink .panel { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.band--pale .panel { background: #fff; }

.sectors { list-style: none; margin: 0; padding: 0; }
.sectors li { padding: 11px 0; border-bottom: 1px solid var(--rule-soft); font-size: 0.99rem; }
.sectors li span {
  font-family: "Outfit", sans-serif; font-weight: 600; display: block;
  font-size: 0.86rem; color: var(--green-dark); margin-bottom: 2px;
}
.band--ink .sectors li { border-bottom-color: rgba(255,255,255,0.14); }
.band--ink .sectors li span { color: var(--gold); }

.stats { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 2px solid var(--gold); padding-top: 26px; }
.stat-num { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; display: block; margin-bottom: 8px; color: var(--green); }
.stat p { font-size: 0.92rem; margin: 0; color: var(--ink-soft); }

/* ---------- Case studies -------------------------------------------------- */

.case { border-top: 1px solid var(--rule-soft); padding-top: 34px; margin-top: 34px; }
.case:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 18px; }
.case { border-left: 0; }
.case-head h3 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); margin: 0; letter-spacing: -0.025em; }
.tag { font-size: 0.78rem; font-weight: 600; color: var(--green-dark); background: var(--green-tint); border-radius: 999px; padding: 4px 11px; }
.tag--gold { color: #8A6512; background: var(--gold-tint); }

.case-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
.case-grid h4 { font-family: "Outfit", sans-serif; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); margin: 0 0 8px; }
.case-grid p { font-size: 0.98rem; margin: 0; }
.result-line { font-family: "Outfit", sans-serif; font-weight: 600; color: var(--green-dark); display: block; margin-bottom: 6px; font-size: 1.02rem; }

/* ---------- Insights ------------------------------------------------------ */

.post { border-top: 1px solid var(--rule-soft); padding: 28px 0; display: grid; gap: 8px 32px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .post { grid-template-columns: 150px minmax(0, 1fr); } }
.post-date { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.post h3 { margin-bottom: 8px; font-size: 1.32rem; letter-spacing: -0.02em; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--green-dark); }
.post p { margin: 0 0 10px; font-size: 0.99rem; }

.article-head { padding: clamp(40px, 6vw, 76px) 0 0; }
.article-meta { font-family: "Outfit", sans-serif; font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.article-body { padding: clamp(28px, 4vw, 44px) 0 var(--section); }
.article-body p { font-size: 1.08rem; line-height: 1.68; max-width: 68ch; }
.article-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 44px; }
.article-body ul { max-width: 68ch; padding-left: 1.1em; }
.article-body li { margin-bottom: 10px; font-size: 1.06rem; line-height: 1.6; }
.article-body > p:first-of-type { font-size: 1.22rem; line-height: 1.55; color: var(--ink-soft); }
.article-foot { border-top: 2px solid var(--green); margin-top: 48px; padding-top: 28px; }

/* ---------- Forms --------------------------------------------------------- */

.field { margin-bottom: 18px; }
.field label { display: block; font-family: "Outfit", sans-serif; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 11px 13px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 2px solid var(--green-tint); }
.field-note { font-size: 0.84rem; color: var(--ink-soft); margin: 6px 0 0; }
.band--ink .field label { color: #fff; }

/* ---------- Footer -------------------------------------------------------- */

.site-foot { background: var(--ink-2); color: var(--on-ink); padding: clamp(46px, 6vw, 72px) 0 32px; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .foot-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }
.site-foot h4 { font-family: "Outfit", sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--gold); margin: 0 0 12px; }
.site-foot a { color: var(--on-ink); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-list { list-style: none; margin: 0; padding: 0; font-size: 0.94rem; }
.foot-list li { margin-bottom: 9px; }
.foot-line {
  margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem; color: var(--on-ink-dim);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}
.foot-line p { margin: 0; max-width: none; }
.foot-blurb { color: var(--on-ink-dim); font-size: 0.95rem; max-width: 34ch; }

/* Footer sits on near-black, so the black stroke in the monogram is switched to white. */
.site-foot .wordmark svg path[stroke="#101314"] { stroke: #FFFFFF; }
.site-foot .wordmark { color: #fff; }


/* Selection and small brand touches */
::selection { background: var(--green-tint); }
.band--ink .feature { border-top-color: var(--gold); }
.band--ink .offer { border-top-color: var(--gold); }
.article-body a { color: var(--green-dark); text-decoration-color: var(--gold); text-underline-offset: 3px; }


/* White card sitting inside a deep green band, used for forms */
.panel--light { background: #fff; }
.band--ink .panel--light {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}
.band--ink .panel--light h3 { color: var(--ink); }
.band--ink .panel--light p { color: var(--ink-soft); }
.band--ink .panel--light .field label { color: var(--ink); }
.band--ink .panel--light .field-note { color: var(--ink-soft); }
.band--ink .panel--light .sectors li { border-bottom-color: var(--rule-soft); }
.band--ink .panel--light .sectors li span { color: var(--green-dark); }
.band--ink .panel--light .btn { background: var(--green); border-color: var(--green); color: #fff; }
.band--ink .panel--light .btn:hover { background: var(--green-dark); border-color: var(--green-dark); }


/* ---------- Dark hero ------------------------------------------------------
   The homepage opens on the brand green so the palette registers immediately.
   -------------------------------------------------------------------------- */

.hero.band--ink {
  background: var(--ink-2);
  color: var(--on-ink);
  border-bottom: 0;
  padding: clamp(52px, 8vw, 104px) 0 clamp(52px, 7vw, 96px);
}
.hero.band--ink h1 { color: #fff; }
.hero.band--ink .lede { color: var(--on-ink-dim); }
.hero.band--ink .hero-meta { color: var(--on-ink-dim); border-top-color: var(--gold); }

.hero.band--ink .btn { background: var(--gold); border-color: var(--gold); color: #10240F; }
.hero.band--ink .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero.band--ink .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.hero.band--ink .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.band--ink .chart { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.18); }
.band--ink .chart figcaption { color: var(--on-ink-dim); border-top-color: rgba(255,255,255,0.18); }
.band--ink .graticule { stroke: rgba(255,255,255,0.12); }
.band--ink .node { fill: #FFFFFF; }
.band--ink .node-label { fill: var(--on-ink-dim); }
.band--ink .node-label--hub { fill: #FFFFFF; }
.band--ink .node-hub { fill: var(--gold); }
.band--ink .hub-ring { stroke: var(--gold); opacity: 0.6; }

.strip--light { background: #fff; }

/* Offers read well on the pale surface too. */
.band--pale .offer { border-top-color: var(--gold); }
.band--pale .offer .price { color: var(--green-dark); }
