/* BookKeepingLLC website — design system
   Layout idea: deep-green product hero, white editorial body, report "paper" mockups as the hero content of the brand. */
:root {
  --ink: #0f1d14;
  --ink-2: #435047;
  --ink-3: #75837a;
  --bg: #ffffff;
  --bg-soft: #f5f7f2;
  --bg-tint: #eef4e6;
  --line: #e2e8dc;
  --line-2: #d3dccb;
  --brand: #7cb342;
  --brand-600: #5e9227;
  --brand-700: #3f6a17;
  --brand-50: #f0f7e6;
  --deep: #0c1d13;
  --deep-2: #12291b;
  --deep-3: #1b3826;
  --deep-ink: #eef4ea;
  --deep-mute: #a3b6a6;
  --debit: #b8473d;
  --debit-bg: #fbeceb;
  --credit: #23804a;
  --credit-bg: #e6f4ea;
  --amber: #c98a1b;
  --teal: #1f7a7a;
  --blue: #2f6aa6;
  --grey: #9aa59c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 20, .06);
  --shadow: 0 1px 2px rgba(15, 29, 20, .05), 0 10px 30px -12px rgba(15, 29, 20, .16);
  --shadow-lg: 0 2px 6px rgba(15, 29, 20, .06), 0 40px 80px -30px rgba(15, 29, 20, .35);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1200px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-700); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.on-deep .eyebrow { color: var(--brand); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 60ch; }
.tabular { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #0b1a10; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 22px -10px rgba(124,179,66,.9); }
.btn-primary:hover { background: #8cc44f; color: #0b1a10; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1d3325; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.on-deep .btn-ghost { color: var(--deep-ink); border-color: rgba(238,244,234,.28); }
.on-deep .btn-ghost:hover { border-color: var(--deep-ink); color: #fff; background: rgba(255,255,255,.05); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--brand-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Announcement + header */
.announce { background: var(--deep); color: var(--deep-mute); font-size: 13.5px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; text-align: center; flex-wrap: wrap; padding-block: 6px; }
.announce b { color: var(--deep-ink); font-weight: 600; }
.announce a { color: var(--brand); font-weight: 600; text-decoration: none; }
.announce .tag { background: rgba(124,179,66,.18); color: var(--brand); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,29,20,.4); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding:10px 0px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 80px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.drawer-body > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border-radius: 9px; border: 0; background: none; color: var(--ink-2); font: 500 15px/1 var(--body); text-decoration: none; cursor: pointer; }
.drawer-body > a:hover, .nav-drop > button:hover, .nav-drop.open > button, .drawer-body > a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -16px; width: min(640px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-drop.open .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) { .nav-drop:hover .mega { opacity: 1; visibility: visible; transform: none; } }
.mega a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--bg-soft); color: var(--ink); }
.mega .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.mega .ic svg { width: 20px; height: 20px; }
.mega b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.mega small { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.mega .mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding: 14px 14px 6px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .login { color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none; padding: 0 8px; }
.header-cta .login:hover { color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta .login, .header-cta .btn { display: none; }
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { position: fixed; inset: var(--nav-top, calc(var(--header-h) + 40px)) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px max(20px, env(safe-area-inset-right, 0px)) 32px max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; margin: 0; border-top: 1px solid var(--line); }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.menu-open { overflow: hidden; }
  .drawer-body > a, .nav-drop > button { width: 100%; justify-content: space-between; height: 54px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 12px; display: none; grid-template-columns: 1fr; }
  .nav-drop.open .mega { display: grid; }
  .mega .mega-foot { display: none; }
  .nav-mobile-cta { display: grid !important; gap: 10px; margin-top: 20px; }
}
.nav-mobile-cta { display: none !important; }

/* Hero */
.hero { position: relative; background: var(--deep); color: var(--deep-ink); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 82% 18%, rgba(124,179,66,.22), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(31,122,122,.18), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-block: 88px 104px; }
.hero h1 { color: #fff; font-size: clamp(42px, 5.8vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 750; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { color: var(--deep-mute); margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: var(--deep-mute); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--brand); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--deep-ink); font-size: 13.5px; font-weight: 500; text-decoration: none; margin-bottom: 26px; }
.pill:hover { color: #fff; background: rgba(255,255,255,.1); }
.pill b { background: var(--brand); color: #0b1a10; border-radius: 999px; padding: 3px 10px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 56px 72px; gap: 48px; } }

/* Product mockup */
.stage { position: relative; min-width: 0; }
.app { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.6); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.app-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.app-body { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.kpi small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; }
.kpi b { display: block; font-family: var(--display); font-size: 21px; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi .delta { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: var(--credit); background: var(--credit-bg); border-radius: 6px; padding: 1px 6px; }
.chart-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 8px; }
.chart-card header { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.chart-card header b { color: var(--ink); font-weight: 600; font-size: 13px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.bars i { display: block; flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--brand), #9dcc6a); transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.bars i:nth-child(n+11) { background: linear-gradient(180deg, var(--brand-700), var(--brand-600)); }
.bars-x { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; font-size: 10px; color: var(--ink-3); text-align: center; margin-top: 4px; font-family: var(--mono); }
@keyframes grow { from { transform: scaleY(.15); } to { transform: none; } }
.feed { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feed-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 12px; font-size: 13px; border-top: 1px solid var(--line); }
.feed-row:first-child { border-top: 0; }
.feed-row .av { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--bg-soft); color: var(--ink-2); }
.feed-row .d { min-width: 0; }
.feed-row .d b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row .d small { color: var(--ink-3); font-size: 11.5px; font-family: var(--mono); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 3px 8px; background: var(--brand-50); color: var(--brand-700); white-space: nowrap; }
.chip.blue { background: #e6eef7; color: var(--blue); }
.amt { font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.amt.out { color: var(--debit); } .amt.in { color: var(--credit); }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; animation: floaty 6s ease-in-out infinite; }
.float-card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card b { display: block; font-weight: 600; font-size: 13px; }
.float-card small { color: var(--ink-3); font-size: 12px; }
.float-a { left: -40px; bottom: -26px; }
.float-b { right: -22px; top: -22px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1180px) { .float-a { left: -10px; } .float-b { right: -6px; } }
@media (max-width: 560px) { .float-card { display: none; } .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:nth-child(3) { display: none; } .feed-row { grid-template-columns: minmax(0,1fr) auto; } .feed-row .av, .feed-row .chip { display: none; } }

/* Banks strip */
.banks { border-bottom: 1px solid var(--line); background: #fff; }
.banks .wrap { display: flex; align-items: center; gap: 28px; padding-block: 26px; flex-wrap: wrap; justify-content: center; }
.banks p { font-size: 13px; color: var(--ink-3); font-weight: 500; letter-spacing: .02em; }
.banks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; }
.banks li { font-family: var(--display); font-weight: 700; font-size: 18px; color: #a6b0a8; letter-spacing: -.01em; }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section.soft { background: var(--bg-soft); }
.section.deep { background: var(--deep); color: var(--deep-ink); }
.section.deep h2, .section.deep h3 { color: #fff; }
.section.deep .lede { color: var(--deep-mute); }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.03em; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 4.5vw, 56px); }
.head-row .head { margin-bottom: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 48px); font-weight: 750; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b span { color: var(--brand-600); }
.stat p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stat { padding: 24px 20px; } }

/* Reports showcase */
.rep-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.rep-tab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font: 600 14px/1 var(--body); cursor: pointer; transition: all .15s; }
.rep-tab:hover { color: var(--ink); border-color: var(--ink-3); }
.rep-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rep-tab svg { width: 16px; height: 16px; }
.rep-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 980px) { .rep-layout { grid-template-columns: 1fr; } }
.paper { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.paper-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.paper-head h3 { font-size: 22px; letter-spacing: -.02em; }
.paper-head p { color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.paper-tools { display: flex; gap: 6px; }
.paper-tools span { font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; background: var(--bg-soft); }
.sample { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--amber); background: #fbf2df; border-radius: 6px; padding: 2px 8px; margin-left: 8px; vertical-align: 3px; font-family: var(--body); }
.scroll-x { overflow-x: auto; }
.rtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.rtable th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 12px 26px 10px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.rtable td { padding: 9px 26px; border-bottom: 1px solid #eef2ea; }
.rtable td.n, .rtable th.n { text-align: right; font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rtable tr.grp td { font-weight: 700; color: var(--ink); padding-top: 16px; border-bottom: 0; font-family: var(--display); font-size: 15px; letter-spacing: -.01em; }
.rtable tr.sub td:first-child { padding-left: 42px; color: var(--ink-2); }
.rtable tr.tot td { font-weight: 700; border-top: 1px solid var(--line-2); background: #fafcf8; }
.rtable tr.grand td { font-weight: 750; font-size: 15px; background: var(--brand-50); color: var(--brand-700); border-bottom: 0; }
.rtable tr.grand td.n { font-size: 15px; }
.rtable td.neg { color: var(--debit); }
.rtable td.dr { background: var(--debit-bg); color: var(--debit); }
.rtable td.cr { background: var(--credit-bg); color: var(--credit); }
.rtable th.dr { background: #f6dedb; color: var(--debit); }
.rtable th.cr { background: #d9eedf; color: var(--credit); }
.rep-side { display: grid; gap: 16px; }
.rep-side .card { padding: 24px; }
.rep-side h3 { font-size: 24px; }
.rep-side p { color: var(--ink-2); margin-top: 8px; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); font-size: 15px; }
.ticks svg { width: 20px; height: 20px; color: var(--brand-600); margin-top: 2px; }
.on-deep .ticks li { color: var(--deep-mute); }
.rep-panel[hidden] { display: none !important; }
.rep-panel { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 22px 26px 26px; }
.kpi-tile { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.kpi-tile small { color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.kpi-tile b { display: block; font-family: var(--display); font-size: 30px; letter-spacing: -.03em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi-tile p { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.meter { height: 8px; border-radius: 99px; background: var(--bg-soft); margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-600), var(--brand)); }
.score { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; }
.ring { --p: 86; width: 108px; height: 108px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--bg-soft) 0); display: grid; place-items: center; flex: none; }
.ring span { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 750; font-size: 28px; letter-spacing: -.03em; }
.donut-wrap { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; padding: 26px; }
.donut { width: 180px; height: 180px; border-radius: 50%; background: conic-gradient(var(--brand-600) 0 60.7%, var(--teal) 60.7% 76%, var(--amber) 76% 83.9%, var(--blue) 83.9% 88.1%, var(--grey) 88.1% 100%); display: grid; place-items: center; }
.donut span { width: 112px; height: 112px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.donut span b { display: block; font-family: var(--display); color: var(--ink); font-size: 20px; letter-spacing: -.02em; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend .n { font-family: var(--mono); font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.legend .p { font-family: var(--mono); font-size: 12px; color: var(--ink-3); width: 46px; text-align: right; }
@media (max-width: 560px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } .legend { width: 100%; } .kpi-grid { grid-template-columns: 1fr; padding: 18px; } .paper-head, .rtable td, .rtable th { padding-left: 18px; padding-right: 18px; } .rtable tr.sub td:first-child { padding-left: 30px; } }

/* Report catalog */
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .catalog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .catalog { grid-template-columns: 1fr; } }
.rep-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; align-content: start; transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.rep-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.rep-card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rep-card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.rep-card .ic svg { width: 21px; height: 21px; }
.rep-card code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); background: var(--bg-soft); border-radius: 6px; padding: 3px 7px; }
.rep-card h3 { font-size: 19px; letter-spacing: -.015em; }
.rep-card p { color: var(--ink-2); font-size: 14.5px; }
.rep-card .mini { height: 46px; display: flex; align-items: end; gap: 4px; }
.rep-card .mini i { flex: 1; border-radius: 3px 3px 0 0; background: var(--bg-tint); }
.rep-card .mini i.hi { background: var(--brand); }
.cat-title { display: flex; align-items: center; gap: 12px; margin: 44px 0 18px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.cat-title:first-child { margin-top: 0; }
.cat-title span { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; letter-spacing: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 30px; display: grid; gap: 12px; align-content: start; }
.step .num { font-family: var(--mono); font-size: 13px; color: var(--brand); font-weight: 500; }
.step h3 { font-size: 24px; }
.step p { color: var(--deep-mute); }
.step .visual { margin-top: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 14px; display: grid; gap: 8px; font-size: 13px; }
.step .file { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border-radius: 10px; padding: 9px 12px; color: var(--deep-ink); }
.step .file small { margin-left: auto; color: var(--deep-mute); font-family: var(--mono); font-size: 11.5px; }
.step .file svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.step .prog { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.step .prog i { display: block; height: 100%; width: 100%; background: var(--brand); }
.step .cat { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: rgba(255,255,255,.06); border-radius: 10px; padding: 9px 12px; color: var(--deep-ink); }
.step .cat em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--brand); background: rgba(124,179,66,.14); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }

/* Cards / services */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; min-width: 0; }
.svc { display: grid; gap: 14px; align-content: start; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.svc .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.svc .ic svg { width: 24px; height: 24px; }
.svc h3 { font-size: 21px; letter-spacing: -.02em; }
.svc p { color: var(--ink-2); font-size: 15px; }
.svc .link-arrow { margin-top: 4px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.feature-list { display: grid; gap: 4px; margin-top: 28px; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; letter-spacing: -.01em; }
.feature p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

.industry { display: grid; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.industry .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; }
.industry .ic svg { width: 22px; height: 22px; }
.industry h3 { font-size: 18px; }
.industry p { font-size: 14px; color: var(--ink-3); }

.quote { display: grid; gap: 18px; align-content: start; }
.quote p { font-family: var(--display); font-size: 20px; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); font-weight: 500; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.quote footer b { display: block; color: var(--ink); font-weight: 600; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1d14' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* Blog */
.post-card { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 22px; display: grid; gap: 10px; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.post-meta .tag { color: var(--brand-700); background: var(--brand-50); border-radius: 6px; padding: 2px 8px; font-weight: 600; font-size: 12px; }
.post-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--deep); color: var(--deep-ink); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 85% 0%, rgba(124,179,66,.2), transparent 60%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 96px) clamp(56px, 7vw, 88px); display: grid; gap: 18px; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.03; letter-spacing: -.035em; max-width: 18ch; }
.page-hero .lede { color: var(--deep-mute); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--deep-mute); flex-wrap: wrap; }
.crumbs a { color: var(--deep-mute); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.page-hero .hero-actions { margin-top: 10px; }

/* Content layout */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .content-grid { grid-template-columns: 1fr; } }
.prose { font-size: 17px; color: var(--ink-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 23px; margin-top: 1.7em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6a17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose ol { counter-reset: o; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: o; }
.prose ol li::before { content: counter(o); position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 12px/24px var(--body); text-align: center; }
.prose blockquote { margin: 1.8em 0; padding: 26px 30px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--display); font-size: 22px; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.prose blockquote cite { display: block; margin-top: 12px; font-family: var(--body); font-style: normal; font-size: 14px; color: var(--ink-3); }
.prose strong { color: var(--ink); }
.prose img { border-radius: 16px; }
.lead-figure { border-radius: 20px; overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); }
.lead-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside .card { padding: 24px; }
.aside h3 { font-size: 18px; margin-bottom: 12px; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.aside-links a:hover { background: var(--bg-soft); color: var(--ink); }
.aside-links a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.aside-links svg { width: 16px; height: 16px; opacity: .5; }
.cta-card { background: var(--deep); color: var(--deep-ink); border: 0; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 200px at 100% 0%, rgba(124,179,66,.3), transparent 70%); }
.cta-card > * { position: relative; }
.cta-card h3 { color: #fff; font-size: 22px; }
.cta-card p { color: var(--deep-mute); font-size: 15px; margin: 8px 0 18px; }
.cta-card .btn { width: 100%; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.contact-lines li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-2); }
.contact-lines svg { width: 18px; height: 18px; color: var(--brand-600); margin-top: 3px; }
.contact-lines b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
@media (max-width: 640px) { .included { grid-template-columns: 1fr; } }
.included .card { padding: 22px; display: grid; gap: 8px; }
.included .card h3 { font-size: 18px; }
.included .card p { font-size: 15px; color: var(--ink-2); }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; 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(--brand-600); box-shadow: 0 0 0 4px rgba(124,179,66,.18); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 500; }
.notice.ok { background: var(--credit-bg); color: var(--credit); }
.notice.err { background: var(--debit-bg); color: var(--debit); }

/* CTA band */
.cta-band { padding-block: 0 clamp(72px, 9vw, 120px); }
.cta-box { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: var(--deep-ink); border-radius: 28px; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 100% 0%, rgba(124,179,66,.32), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(31,122,122,.25), transparent 60%); }
.cta-box h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; letter-spacing: -.03em; }
.cta-box p { color: var(--deep-mute); margin-top: 16px; font-size: 18px; max-width: 48ch; }
.cta-box .hero-actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } .cta-box .hero-actions { justify-content: flex-start; } }

/* Footer */
.site-footer { background: var(--deep); color: var(--deep-mute); font-size: 15px; }
.site-footer a { color: var(--deep-mute); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 72px 48px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }
.foot-brand img { height: 34px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 38ch; }
.foot-brand .contact-lines { margin-top: 22px; }
.foot-brand .contact-lines li { color: var(--deep-mute); }
.foot-brand .contact-lines b { color: var(--deep-ink); }
.site-footer h4 { color: #fff; font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.foot-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: 14px; }
.foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }


/* Utilities */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===================== Second pass: accents, imagery, shapes, motion ===================== */

/* Accent words in headings */
.hl { position: relative; background: linear-gradient(100deg, var(--brand-600) 0%, #2f9a6b 45%, var(--brand) 70%, var(--brand-600) 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: hlShine 7s linear infinite; }
.on-deep .hl, .hero .hl, .page-hero .hl, .cta-box .hl, .photo-band .hl, .section.deep .hl { background-image: linear-gradient(100deg, #a6dc6c 0%, #5fd3a3 40%, #c9f08f 65%, #a6dc6c 100%); }
@keyframes hlShine { to { background-position: -220% center; } }
.hl-u::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10C40 3 90 2 197 7' fill='none' stroke='%237cb342' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; transform-origin: left; animation: drawLine 1.1s .4s cubic-bezier(.6,0,.2,1) both; opacity: .9; pointer-events: none; }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--brand), #5fd3a3); }

/* Background photos */
.bg-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .22; filter: saturate(.6); }
.hero .bg-photo { opacity: .22; background-position: 70% center; mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); }
.page-hero .bg-photo { opacity: .2; mask-image: linear-gradient(90deg, transparent 10%, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 70%); }

/* Vector shapes */
.shapes { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; color: rgba(166, 220, 108, .5); }
.shapes.light { color: rgba(95, 146, 39, .32); z-index: 0; }
.deco { position: relative; isolation: isolate; overflow: hidden; }
.deco > .wrap { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blobMove 18s ease-in-out infinite alternate; }
.blob.b1 { width: 420px; height: 420px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(124,179,66,.55), transparent 65%); }
.blob.b2 { width: 360px; height: 360px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(47,154,107,.45), transparent 65%); animation-delay: -6s; }
.shapes.light .blob { opacity: .35; }
@keyframes blobMove { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.1); } 100% { transform: translate(30px, -20px) scale(.95); } }
.sh-ring { position: absolute; }
.sh-ring.r1 { width: 220px; height: 220px; right: 6%; bottom: -60px; animation: spin 40s linear infinite; }
.sh-ring.r2 { width: 120px; height: 120px; left: 4%; top: 18%; animation: spin 26s linear infinite reverse; opacity: .8; }
.dots { position: absolute; width: 120px; height: 120px; }
.dots.d1 { left: 46%; bottom: 8%; opacity: .7; animation: drift 9s ease-in-out infinite; }
.plus { position: absolute; width: 18px; height: 18px; }
.plus.p1 { left: 8%; bottom: 22%; animation: twinkle 4s ease-in-out infinite; }
.plus.p2 { right: 32%; top: 14%; animation: twinkle 5s 1.5s ease-in-out infinite; width: 14px; height: 14px; }
.tri { position: absolute; width: 30px; height: 30px; right: 14%; top: 58%; animation: spin 18s linear infinite; }
.hero-shapes .sh-ring.r1 { right: 42%; bottom: 40px; width: 160px; height: 160px; }
.hero-shapes .dots.d1 { left: 2%; bottom: 14%; }
.band .sh-ring.r1 { right: 4%; top: 20%; bottom: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(90deg); } }
.cta-box .shapes { z-index: -1; color: rgba(166, 220, 108, .45); }
@media (max-width: 760px) { .sh-ring.r1, .dots.d1, .tri { display: none; } }

/* Hero curve */
.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 48px; fill: #fff; z-index: 1; }

/* Banks marquee */
.banks .wrap { flex-wrap: nowrap; }
.banks p { flex: none; }
.marquee { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { flex-wrap: nowrap; padding-right: 34px; }
.marquee li { white-space: nowrap; transition: color .2s; }
.marquee li:hover { color: var(--brand-700); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .banks .wrap { flex-direction: column; gap: 12px; } .marquee { width: 100%; flex: none; } }

/* Buttons: shine + lift */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 30px -10px rgba(124,179,66,1); }
.btn:hover svg { transform: translateX(3px); }

/* Card spotlight + hover */
.svc, .rep-card, .industry, .step { position: relative; overflow: hidden; }
.svc::before, .rep-card::before, .industry::before, .step::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(124,179,66,.14), transparent 60%); }
.step::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(166,220,108,.12), transparent 60%); }
.svc:hover::before, .rep-card:hover::before, .industry:hover::before, .step:hover::before { opacity: 1; }
.svc > *, .rep-card > *, .industry > *, .step > * { position: relative; z-index: 1; }
.svc::after, .industry::after, .rep-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), #2f9a6b); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.svc:hover::after, .industry:hover::after, .rep-card:hover::after { transform: scaleX(1); }
.svc .ic, .industry .ic, .rep-card .ic, .feature .ic, .mega .ic { transition: background-color .25s, color .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
.svc:hover .ic, .industry:hover .ic, .rep-card:hover .ic, .feature:hover .ic, .mega a:hover .ic { background: var(--brand); color: #fff; transform: rotate(-8deg) scale(1.06); }
.industry { transition: transform .25s, box-shadow .25s, border-color .25s; }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.step { transition: transform .25s, border-color .25s, background-color .25s; }
.step:hover { transform: translateY(-4px); border-color: rgba(166,220,108,.35); background: rgba(255,255,255,.055); }
.feature { transition: transform .25s; }
.feature:hover { transform: translateX(6px); }
.kpi-tile { transition: transform .2s, border-color .2s; }
.kpi-tile:hover { transform: translateY(-2px); border-color: var(--line-2); }
.rtable tbody tr { transition: background-color .15s; }
.rtable tbody tr:not(.grand):not(.tot):hover td:not(.dr):not(.cr) { background-color: #f7faf3; }
.rep-card .mini i { transition: background-color .3s; }
.rep-card:hover .mini i { background: #d9eac4; }
.rep-card:hover .mini i.hi { background: var(--brand-600); }
.post-card .thumb { position: relative; }
.post-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12,29,19,.35)); opacity: 0; transition: opacity .3s; }
.post-card:hover .thumb::after { opacity: 1; }
.post-card h3 { transition: color .2s; }
.post-card:hover h3 { color: var(--brand-700); }
.stat { transition: background-color .25s; }
.stat:hover { background: var(--bg-soft); }
.stat .suf { color: var(--brand-600); }
.drawer-body > a { position: relative; }
@media (min-width: 1025px) { .drawer-body > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s; } .drawer-body > a:hover::after, .drawer-body > a[aria-current="page"]::after { transform: scaleX(1); } }

/* Collage */
.collage { position: relative; min-height: 520px; min-width: 0; }
.collage figure { margin: 0; position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.collage figure:hover img { transform: scale(1.06); }
.c-main { left: 0; top: 0; width: 78%; height: 78%; }
.c-small { right: 0; bottom: 0; width: 46%; height: 52%; border: 6px solid #fff; animation: drift 8s ease-in-out infinite; }
.c-dots { position: absolute; right: 4%; top: -24px; width: 130px; height: 130px; color: var(--brand); opacity: .45; animation: drift 10s ease-in-out infinite; }
.c-ring { position: absolute; left: -40px; bottom: 40px; width: 140px; height: 140px; border-radius: 50%; border: 2px dashed rgba(124,179,66,.55); animation: spin 30s linear infinite; }
.c-badge { position: absolute; left: 6%; bottom: 6%; z-index: 2; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite; }
.c-badge .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.c-badge b { display: block; font-family: var(--display); font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.c-badge small { color: var(--ink-3); font-size: 12.5px; }
.c-badge-2 { left: auto; bottom: auto; right: 2%; top: 8%; animation-delay: -3s; }
.c-badge-2 .ic { background: var(--ink); }
@media (max-width: 900px) { .collage { min-height: 420px; } }
@media (max-width: 520px) { .collage { min-height: 340px; } .c-badge-2 { display: none; } .c-badge { left: 0; bottom: 0; padding: 10px 14px; } .c-ring { display: none; } }

/* Photo band */
.photo-band { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--deep-ink); padding-block: clamp(80px, 11vw, 150px); }
.photo-band .bg-photo { opacity: .6; filter: saturate(.5); inset: -60px 0; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,29,19,.96) 0%, rgba(12,29,19,.82) 50%, rgba(12,29,19,.3) 100%); }
.band-inner { max-width: 640px; display: grid; gap: 18px; }
.band-inner blockquote { margin: 0; font-family: var(--display); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.03em; color: #fff; font-weight: 700; text-wrap: balance; }
.band-inner p { color: var(--deep-mute); font-size: 18px; max-width: 52ch; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; position: relative; }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,29,19,.45)); opacity: 0; transition: opacity .3s; }
.gallery figure:hover::after { opacity: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery .g1 { grid-row: span 2; }
.gallery .g4 { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; } .gallery .g1 { grid-row: auto; grid-column: span 2; } .gallery .g4 { grid-column: span 2; } }

/* Hero app parallax */
.stage .app { transition: transform .4s cubic-bezier(.2,.8,.2,1); will-change: transform; }

/* Reveal stagger */
.lead-figure img { transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.lead-figure:hover img { transform: scale(1.03); }

/* ===================== Third pass: consultation form, footer, entrance animations ===================== */

/* Entrance animations (AOS-style). Content stays visible without JS. */
.js [data-aos] { opacity: 0; transition-property: opacity, transform, filter, clip-path; transition-duration: .9s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); transition-delay: var(--aos-delay, 0ms); will-change: opacity, transform; }
.js [data-aos="fade-up"] { transform: translate3d(0, 48px, 0); }
.js [data-aos="fade-down"] { transform: translate3d(0, -40px, 0); }
.js [data-aos="fade-left"] { transform: translate3d(60px, 0, 0); }
.js [data-aos="fade-right"] { transform: translate3d(-60px, 0, 0); }
.js [data-aos="zoom-in"] { transform: scale(.9); }
.js [data-aos="zoom-out"] { transform: scale(1.08); }
.js [data-aos="flip-up"] { transform: perspective(1000px) rotateX(-28deg) translate3d(0, 30px, 0); transform-origin: 50% 100%; }
.js [data-aos="blur-up"] { transform: translate3d(0, 24px, 0); filter: blur(10px); }
.js [data-aos="reveal-up"] { clip-path: inset(100% 0 0 0); transform: translate3d(0, 20px, 0); }
.js [data-aos].aos-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .js [data-aos] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; } }

/* Consultation form above the footer */
.consult { padding-block: clamp(64px, 8vw, 110px); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.consult-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
@media (max-width: 960px) { .consult-box { grid-template-columns: 1fr; } }
.consult-copy { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--deep-ink); padding: clamp(32px, 5vw, 60px); display: grid; gap: 18px; align-content: start; }
.consult-copy::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../../images/single-img-2.jpg") center / cover; opacity: .12; filter: saturate(.4); }
.consult-copy .shapes { z-index: -1; }
.consult-copy h2 { color: #fff; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.04; letter-spacing: -.03em; }
.consult-copy > p { color: var(--deep-mute); font-size: 17px; max-width: 46ch; }
.consult-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.consult-points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; color: var(--deep-ink); font-size: 15.5px; }
.consult-points svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(124,179,66,.18); color: var(--brand); }
.consult-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
@media (max-width: 520px) { .consult-contact { grid-template-columns: 1fr; } }
.consult-contact > * { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--deep-ink); text-decoration: none; font-size: 14px; min-width: 0; transition: background-color .2s, border-color .2s, transform .2s; }
.consult-contact > a:hover { background: rgba(255,255,255,.09); border-color: rgba(166,220,108,.4); color: #fff; transform: translateY(-2px); }
.consult-contact svg { color: var(--brand); flex: none; }
.consult-contact span span { min-width: 0; overflow-wrap: anywhere; }
.consult-contact small { display: block; color: var(--deep-mute); font-size: 12px; }
.consult-online { color: var(--brand); margin-top: 4px; }
.consult-online:hover { color: #c9f08f; }
.consult-form { padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; align-content: start; background: #fff; position: relative; }
.cf-head h3 { font-size: 26px; letter-spacing: -.02em; }
.cf-head p { color: var(--ink-3); margin-top: 4px; font-size: 15px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }
.ff { position: relative; }
.ff input, .ff select, .ff textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 14px; padding: 26px 16px 10px; transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.ff textarea { min-height: 128px; resize: vertical; }
.ff select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375837a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; cursor: pointer; }
.ff label { position: absolute; left: 17px; top: 18px; color: var(--ink-3); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .2s, color .2s, top .2s; }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: none; background: #fff; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(124,179,66,.16); }
.ff input:focus + label, .ff input:not(:placeholder-shown) + label,
.ff textarea:focus + label, .ff textarea:not(:placeholder-shown) + label,
.ff select:focus + label, .ff select:valid + label { transform: translateY(-10px) scale(.78); color: var(--brand-700); font-weight: 600; }
.ff:hover input:not(:focus), .ff:hover select:not(:focus), .ff:hover textarea:not(:focus) { border-color: var(--line-2); }
.cf-submit { width: 100%; min-height: 54px; font-size: 16px; border-radius: 14px; }
.cf-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--ink-3); font-size: 13px; text-align: center; }
.cf-note svg { flex: none; color: var(--brand-600); }

/* Professional footer */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: #08150d; color: var(--deep-mute); }
.foot-glow { position: absolute; z-index: -1; width: 900px; height: 500px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(124,179,66,.18), transparent); pointer-events: none; }
.foot-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-block: 34px; border-bottom: 1px solid rgba(255,255,255,.07); }
.foot-trust > div { display: flex; gap: 14px; align-items: center; padding: 6px 20px; border-left: 1px solid rgba(255,255,255,.07); }
.foot-trust > div:first-child { border-left: 0; padding-left: 0; }
.foot-trust svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(124,179,66,.12); color: var(--brand); }
.foot-trust b { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.foot-trust small { font-size: 13px; color: var(--deep-mute); }
@media (max-width: 900px) { .foot-trust { grid-template-columns: 1fr 1fr; row-gap: 20px; } .foot-trust > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .foot-trust { grid-template-columns: 1fr; } .foot-trust > div { border-left: 0; padding-left: 0; } }
.foot-top { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; padding-block: 64px 40px; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; gap: 36px; } }
.foot-brand img { height: 90px; }
.foot-brand p { margin-top: 18px; max-width: 40ch; line-height: 1.7; }
.foot-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.site-footer .btn-ghost { color: var(--deep-ink); border-color: rgba(255,255,255,.2); }
.site-footer .btn-ghost:hover { color: #fff; border-color: #fff; }
.site-footer .btn-primary, .site-footer .btn-primary:hover { color: #0b1a10; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: var(--deep-ink); transition: background-color .2s, color .2s, transform .2s, border-color .2s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #0b1a10; transform: translateY(-3px); }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -.01em; text-transform: none; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--brand); }
.foot-col ul { gap: 12px; }
.foot-col a { position: relative; display: inline-block; transition: color .2s, transform .2s; }
.foot-col a:hover { color: #fff; transform: translateX(4px); }
.foot-col:not(.foot-contact) a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); transform: translateY(-50%) scale(0); transition: transform .2s; }
.foot-col:not(.foot-contact) a:hover::before { transform: translateY(-50%) scale(1); }
.foot-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.foot-contact svg { color: var(--brand); margin-top: 3px; }
.foot-contact small { display: block; font-size: 12px; color: #6f8573; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 1px; }
.foot-contact span { color: var(--deep-ink); min-width: 0; overflow-wrap: anywhere; }
.foot-mark { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 13.5vw, 210px); line-height: .8; letter-spacing: -.05em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(166, 220, 108, .14); background: linear-gradient(180deg, rgba(124,179,66,.12), transparent 75%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; margin-top: 10px; overflow: hidden; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.2); }
.foot-bottom .wrap { align-items: center; }
.foot-bottom nav a { position: relative; }
.to-top { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #0b1a10 !important; transition: transform .2s, box-shadow .2s; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -8px rgba(124,179,66,.8); }
@media (max-width: 640px) { .foot-bottom .wrap { flex-direction: column; align-items: flex-start; } }

/* Entrance animations start off to the side; never let that widen the page */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
@media (max-width: 640px) { .announce .hide-sm, .announce .tag { display: none; } .announce .wrap { gap: 8px; font-size: 13px; } }

/* ===================== Fourth pass: off-canvas mobile navigation ===================== */
.drawer-body { display: contents; }
.drawer-head, .drawer-foot, .drawer-label, .nav-ic, .nav-chev, .nav-overlay, .nav-home { display: none; }
.nav-drop > button .nav-tx { display: inline; }

/* Hamburger */
.menu-toggle { position: relative; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .2s, width .3s; }
.menu-toggle span:nth-child(2) { width: 14px; margin-left: 6px; }
.menu-toggle:hover span:nth-child(2) { width: 20px; margin-left: 0; }

@media (max-width: 1024px) {
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(8, 21, 13, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
  body.menu-open .nav-overlay { opacity: 1; visibility: visible; }

  .nav { position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(88vw, 400px); height: 100%; height: 100dvh; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 0; border-radius: 24px 0 0 24px; box-shadow: -30px 0 80px -20px rgba(8, 21, 13, .45); overflow: hidden; opacity: 1; visibility: hidden; transform: translateX(105%); transition: transform .45s cubic-bezier(.16, 1, .3, 1), visibility .45s; }
  body.menu-open .nav { visibility: visible; transform: none; }

  .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 16px 22px; border-bottom: 1px solid var(--line); }
  .drawer-head img { height: 30px; width: auto; }
  .drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .3s, background-color .2s; }
  .drawer-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

  .drawer-body { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px; }
  .drawer-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 0 10px 8px; }
  .nav-home { display: flex; }
  .drawer-body > a, .nav-drop > button { width: 100%; height: auto; min-height: 54px; display: flex; align-items: center; gap: 14px; justify-content: flex-start; padding: 8px 10px; border: 0; border-radius: 14px; font: 600 16.5px/1.2 var(--body); color: var(--ink); background: none; transition: background-color .2s, color .2s, transform .2s; }
  .drawer-body > a::after { display: none; }
  .drawer-body > a:hover, .nav-drop > button:hover, .nav-drop.open > button { background: var(--bg-soft); }
  .drawer-body > a:active { transform: scale(.98); }
  .drawer-body > a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
  .nav-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--bg-soft); color: var(--ink-2); transition: background-color .2s, color .2s, transform .3s; }
  .drawer-body > a:hover .nav-ic, .nav-drop.open .nav-ic, .drawer-body > a[aria-current="page"] .nav-ic { background: var(--brand); color: #fff; transform: rotate(-6deg); }
  .nav-tx { flex: 1; text-align: left; }
  .nav-chev { display: grid; color: var(--ink-3); transition: transform .2s; }
  .drawer-body > a:hover .nav-chev { transform: translateX(3px); color: var(--ink); }
  .nav-drop > button > svg:last-child { width: 16px; height: 16px; color: var(--ink-3); }

  .mega { position: static; display: grid; grid-template-columns: 1fr; gap: 2px; width: auto; padding: 0 0 0 26px; margin: 0; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.16, 1, .3, 1), padding .3s; }
  .nav-drop.open .mega { max-height: 620px; padding-top: 6px; padding-bottom: 8px; }
  .mega a { grid-template-columns: 30px 1fr; gap: 10px; padding: 9px 10px; border-left: 2px solid var(--line); border-radius: 0 10px 10px 0; align-items: center; }
  .mega a:hover { border-left-color: var(--brand); }
  .mega .ic { width: 30px; height: 30px; border-radius: 8px; }
  .mega .ic svg { width: 16px; height: 16px; }
  .mega b { font-size: 14.5px; }
  .mega small { display: none; }

  .drawer-foot { display: grid; gap: 14px; padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg-soft); }
  .nav-mobile-cta { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
  .nav-mobile-cta .btn { min-height: 46px; }
  .drawer-contact { display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
  .drawer-contact > * { display: flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; min-width: 0; }
  .drawer-contact svg { flex: none; color: var(--brand-600); }
  .drawer-contact span span { overflow-wrap: anywhere; }

  /* Links slide in one after another */
  .drawer-body > * { opacity: 0; transform: translateX(24px); transition: opacity .4s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
  .drawer-foot { opacity: 0; transform: translateY(16px); transition: opacity .4s ease .35s, transform .5s cubic-bezier(.16, 1, .3, 1) .35s; }
  body.menu-open .drawer-body > *, body.menu-open .drawer-foot { opacity: 1; transform: none; }
  body.menu-open .drawer-body > :nth-child(2) { transition-delay: .08s; }
  body.menu-open .drawer-body > :nth-child(3) { transition-delay: .12s; }
  body.menu-open .drawer-body > :nth-child(4) { transition-delay: .16s; }
  body.menu-open .drawer-body > :nth-child(5) { transition-delay: .2s; }
  body.menu-open .drawer-body > :nth-child(6) { transition-delay: .24s; }
  body.menu-open .drawer-body > :nth-child(7) { transition-delay: .28s; }
  body.menu-open .drawer-body > :nth-child(8) { transition-delay: .32s; }
  body.menu-open .drawer-body > :nth-child(9) { transition-delay: .36s; }

  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .nav, .drawer-body > *, .drawer-foot { transition: none !important; }
}
@media (min-width: 1025px) { .drawer-body > a.nav-home { display: none; } }

/* ===================== Fifth pass: blog, post, thank-you and 404 pages ===================== */

/* Blog index */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cat-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: all .2s; }
.cat-chips a span { font-size: 12px; background: var(--bg-soft); color: var(--ink-3); border-radius: 999px; padding: 1px 8px; transition: all .2s; }
.cat-chips a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.cat-chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chips a[aria-current="page"] span { background: rgba(255,255,255,.15); color: #fff; }
.post-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); margin-bottom: 28px; transition: box-shadow .3s, transform .3s; }
.post-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--ink); }
.pf-img { position: relative; overflow: hidden; min-height: 320px; }
.pf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.post-featured:hover .pf-img img { transform: scale(1.05); }
.pf-badge { position: absolute; top: 18px; left: 18px; background: var(--brand); color: #0b1a10; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; }
.pf-body { padding: clamp(26px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.pf-body h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; transition: color .2s; }
.post-featured:hover h2 { color: var(--brand-700); }
.pf-body p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } .pf-img { min-height: 240px; } }
.post-meta svg { vertical-align: -2px; margin-right: 2px; }

/* Post page */
.post-hero .post-meta { color: var(--deep-mute); gap: 14px; }
.post-hero .post-meta .tag { background: rgba(124,179,66,.18); color: var(--brand); }
.post-hero h1 { max-width: 22ch; }
.post-author { display: flex; gap: 12px; align-items: center; margin-top: 6px; color: var(--deep-mute); font-size: 14px; }
.post-author b { display: block; color: #fff; font-weight: 600; }
.post-author small { font-size: 13px; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--brand), #2f9a6b); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.prose h2 { scroll-margin-top: 100px; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { font-size: 13.5px; font-weight: 600; color: var(--brand-700); background: var(--brand-50); border-radius: 8px; padding: 5px 10px; text-decoration: none; transition: background-color .2s, color .2s; }
.post-tags a:hover { background: var(--brand); color: #fff; }
.share { display: flex; align-items: center; gap: 8px; }
.share > span { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-right: 4px; }
.share a, .share button { height: 38px; min-width: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 13px var(--body); cursor: pointer; text-decoration: none; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 32px; padding: 24px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
.author-box .av { width: 56px; height: 56px; font-size: 17px; }
.author-box b { font-family: var(--display); font-size: 18px; }
.author-box p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.post-nav { margin-top: 32px; }
.post-nav h3 { font-size: 18px; }
.post-nav .muted { font-size: 13px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.4; transition: background-color .2s, color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--brand-600); padding-top: 2px; }
.toc a:hover { background: var(--bg-soft); color: var(--ink); }

/* Thank-you and 404 */
.thanks { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--deep-ink); }
.thanks::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 50% 0%, rgba(124,179,66,.25), transparent 65%); }
.thanks-inner { padding-block: clamp(64px, 9vw, 120px); display: grid; justify-items: center; text-align: center; gap: 18px; }
.thanks h1 { color: #fff; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; }
.thanks .lede { color: var(--deep-mute); max-width: 56ch; margin-inline: auto; }
.thanks .lede b { color: #fff; font-weight: 600; }
.thanks .hero-actions { justify-content: center; }
.tick { position: relative; width: 112px; height: 112px; margin-bottom: 6px; }
.tick svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tick-ring { stroke: var(--brand); stroke-width: 5; stroke-dasharray: 340; stroke-dashoffset: 340; animation: drawStroke .9s .2s cubic-bezier(.65,0,.35,1) forwards; }
.tick-mark { stroke: #fff; stroke-width: 7; stroke-dasharray: 80; stroke-dashoffset: 80; animation: drawStroke .5s 1s cubic-bezier(.65,0,.35,1) forwards; }
.burst { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: burst 1.2s 1.2s ease-out forwards; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes burst { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.5); } }
.light-steps .step { background: #fff; border: 1px solid var(--line); }
.light-steps .step p { color: var(--ink-2); }
.light-steps .step h3 { color: var(--ink); }
.light-steps .step .num { color: var(--brand-700); }
.light-steps .step:hover { background: #fff; border-color: var(--line-2); box-shadow: var(--shadow); }
.thanks-alt { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 24px 28px; border-radius: 18px; background: var(--brand-50); border: 1px solid #dbe9c8; }
.thanks-alt b { display: block; font-family: var(--display); font-size: 20px; }
.thanks-alt span { color: var(--ink-2); }
.big-404 { font-family: var(--display); font-weight: 800; font-size: clamp(110px, 20vw, 220px); line-height: .85; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(166,220,108,.55); }
.big-404 span { display: inline-block; color: var(--brand); -webkit-text-stroke: 0; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-6px); } }

/* Sending state */
.btn.is-sending { opacity: .75; pointer-events: none; }
.thanks .bg-photo { opacity: .1; filter: saturate(.3); }

/* Services dropdown (desktop): services on the left, consultation card on the right */
.mega .mega-foot a { display: inline-flex; grid-template-columns: none; padding: 0; border-radius: 0; }
@media (min-width: 1025px) {
  .mega { width: 780px; grid-template-columns: 1fr 1fr 230px; gap: 4px; padding: 12px; background: #fff; }
  .mega > a:nth-child(odd) { grid-column: 1; }
  .mega > a:nth-child(even) { grid-column: 2; }
  .mega .mega-foot { grid-column: 3; grid-row: 1 / span 3; margin: 0 0 0 8px; padding: 22px 20px; border: 0; border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px; position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: var(--deep-mute); font-size: 14px; line-height: 1.5; }
  .mega .mega-foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(220px 160px at 100% 0%, rgba(124,179,66,.35), transparent 70%); }
  .mega .mega-foot::after { content: "Free consultation"; order: -1; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
  .mega .mega-foot span { color: var(--deep-mute); }
  .mega .mega-foot .link-arrow { width: 100%; justify-content: center; gap: 8px; min-height: auto; padding: 10px 14px; border-radius: 10px; background: var(--brand); color: #0b1a10; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .2s, transform .2s; align-items: center; }
  .mega .mega-foot .link-arrow:hover { background: #8cc44f; color: #0b1a10; transform: translateY(-1px); }
  .mega .mega-foot .link-arrow svg { width: 15px; height: 15px; }
}
