/* adabro.ai — pencil-on-paper style (shared by all pages) */
:root {
  --paper: #f5f1e8;
  --grid: rgba(60, 100, 140, .075);
  --graphite: #2a2a2e;
  --pencil: #55555c;
  --soft: #8a8780;
  --marker: rgba(255, 226, 120, .55);
  --c-vision: #6b4c9a;
  --c-ops: #2d7d9a;
  --c-code: #6f8f3f;
  --c-adoption: #b0713a;
  --f-hand: 'Kalam', 'Comic Sans MS', cursive;
  --f-note: 'Caveat', 'Kalam', cursive;
  --f-body: 'Source Serif 4', Georgia, serif;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 48px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--graphite);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* graphite grain over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .16 0 0 0 0 .18 0 0 0 .10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; }
:focus-visible { outline: 2px dashed var(--pencil); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--f-hand); font-weight: 700; line-height: 1.15; letter-spacing: -.005em; }
.eyebrow { font-family: var(--f-note); font-size: 1.5rem; color: var(--pencil); margin-bottom: .2rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }

/* ── sketch layer (drawn by sketch.js) ── */
[data-sk] { position: relative; }
.sk { position: absolute; pointer-events: none; overflow: visible; filter: url(#pencil); }
.sk path { fill: none; stroke: var(--sk-c, var(--graphite)); stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset var(--t, .35s) cubic-bezier(.5,.1,.4,1) var(--d, 0s); }
.sk.on path { stroke-dashoffset: 0; }
.no-motion .sk path { transition: none; stroke-dashoffset: 0; }
.track-lane .sk path { stroke-opacity: .8; }
.track-lane .sk path:last-child { stroke-opacity: 1; }
.ink-icon { fill: none; stroke: var(--graphite); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: url(#pencil); }

/* ── header ── */
.header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px var(--gutter); max-width: var(--max); margin: 0 auto; }
.logo { font-family: var(--f-hand); font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.nav { display: flex; gap: clamp(14px, 3vw, 34px); list-style: none; font-family: var(--f-hand); font-size: 1.1rem; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline wavy var(--soft) 1.5px; text-underline-offset: 6px; }
.header nav { margin-left: auto; }
.lang { display: flex; gap: 2px; list-style: none; font-family: var(--f-note); font-size: 1.25rem; line-height: 1; }
.lang li + li::before { content: "·"; color: var(--soft); padding: 0 6px; }
.lang a { text-decoration: none; color: var(--soft); }
.lang a:hover { color: var(--graphite); }
.lang a[aria-current] { color: var(--graphite); font-weight: 700; background: var(--marker); padding: 0 4px; }

/* ── shared pieces ── */
.btn { display: inline-block; margin-top: 2.2rem; padding: .7rem 1.6rem; font-family: var(--f-hand); font-weight: 700;
  font-size: 1.2rem; text-decoration: none; }
.btn:hover { background: var(--marker); }
.section-title { max-width: 40rem; margin-bottom: 2.6rem; }
.section-title h2, .h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.hr { height: 14px; max-width: var(--max); margin: 0 auto; }
.note { font-family: var(--f-note); color: var(--pencil); line-height: 1.15; }

/* ── home: hero ── */
.hero { padding-top: clamp(40px, 7vw, 90px); }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 5rem); max-width: 16ch; }
.hero .w { display: inline-block; padding-bottom: .12em; }
.nw { white-space: nowrap; }
.hero-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 1.4rem; max-width: 34rem; }
.hero-note svg { flex: 0 0 64px; height: 52px; margin-top: -6px; }
.hero-note p { font-family: var(--f-note); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; color: var(--pencil); }

/* ── home: method ── */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-bottom: 3.4rem; }
.tracks figcaption { font-family: var(--f-note); font-size: 1.7rem; margin-bottom: .6rem; }
.track { display: grid; grid-template-columns: 9.5rem 1fr; align-items: center; gap: 10px; height: 38px; }
.track-label { font-family: var(--f-hand); font-size: .98rem; color: var(--pencil); }
.track-lane { position: relative; height: 26px; }
.axis { font-family: var(--f-note); font-size: 1.3rem; color: var(--soft); margin: .4rem 0 0 10.1rem; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.card { padding: 1.4rem 1.3rem 1.5rem; }
.card svg.ink-icon { width: 44px; height: 44px; margin-bottom: .6rem; }
.card h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.card p { font-size: .98rem; }

/* ── home: proof ── */
.proof h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 2.2rem; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat-num { display: inline-block; font-family: var(--f-hand); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; padding: 0 .1em .12em; }
.stat-label { display: block; margin-top: .5rem; font-size: .96rem; color: var(--pencil); }
.proof-note { margin-top: 2.2rem; font-family: var(--f-note); font-size: 1.6rem; color: var(--pencil); max-width: 40rem; line-height: 1.2; }

/* ── home: goal ── */
.goal-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.goal h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.4rem; }
.field-label { font-family: var(--f-note); font-size: 1.4rem; color: var(--pencil); }
.chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: .5rem; }
.chip { padding: .3rem .9rem; font-family: var(--f-hand); font-size: 1.02rem; }
.outcomes { display: grid; gap: 22px; }
.outcome { display: flex; align-items: center; gap: 14px; font-family: var(--f-hand); font-size: 1.3rem; }
.outcome svg { width: 40px; height: 40px; flex: none; }

/* ── contact (all pages) ── */
.contact { text-align: center; }
.contact h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.contact-sub { margin-top: .6rem; font-family: var(--f-note); font-size: 1.6rem; color: var(--pencil); }
.contact-buttons { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.contact-buttons .btn { display: inline-flex; align-items: center; gap: 10px; }
.contact-buttons svg { width: 20px; height: 20px; }

/* ── home: founder & more ── */
.founder-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.text-link { display: inline-block; margin-top: 1rem; font-family: var(--f-hand); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline wavy var(--soft) 1.5px; text-underline-offset: 6px; }
.founder-stats { display: grid; gap: 18px; }
.founder-stat { display: flex; align-items: baseline; gap: 14px; }
.founder-stat b { font-family: var(--f-hand); font-size: 2.6rem; line-height: 1; min-width: 3.2ch; }
.founder-stat span { color: var(--pencil); }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 48px); }
.more-col { padding: 1.6rem 1.5rem; }
.more-col svg.ink-icon { width: 44px; height: 44px; margin-bottom: .5rem; }
.more-col h2 { font-size: 1.8rem; margin-bottom: .4rem; }

/* ── inner pages: title block ── */
.page-hero { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 48px); }
.page-hero h1 { display: inline-block; font-size: clamp(2.3rem, 6vw, 4.4rem); padding-bottom: .12em; }
.page-hero .note { margin-top: .6rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

/* ── about ── */
.lead { display: flex; align-items: flex-start; gap: 10px; max-width: 46rem; margin-bottom: 2.6rem; }
.lead svg { flex: 0 0 64px; height: 52px; margin-top: -4px; }
.lead p { font-family: var(--f-note); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; color: var(--pencil); }
.rows { max-width: 60rem; }
.row { display: grid; grid-template-columns: 12rem 1fr; gap: clamp(12px, 3vw, 40px); padding: 1.5rem 0; }
.row h3 { font-size: 1.45rem; }
.row ol { list-style: none; counter-reset: step; display: grid; gap: .9rem; }
.row ol li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; }
.row ol li::before { content: counter(step) "."; font-family: var(--f-hand); font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
.rows .hr { margin: 0; max-width: none; }

/* ── missions ── */
.filters { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-bottom: 2.8rem; }
.filter-btn { padding: .35rem .95rem; font-family: var(--f-hand); font-size: 1rem; color: var(--graphite);
  background: none; border: 0; cursor: pointer; }
.filter-btn:hover { background: rgba(255, 226, 120, .3); }
.filter-btn.active { background: var(--marker); font-weight: 700; }
.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); align-items: start; }
.mission { padding: 1.4rem 1.3rem 1.5rem; }
.mission[hidden] { display: none; }
.mission-sector { display: block; font-family: var(--f-note); font-size: 1.3rem; color: var(--pencil); line-height: 1.1; }
.mission h2 { font-size: 1.28rem; margin: .35rem 0 .3rem; }
.mission-team { font-family: var(--f-note); font-size: 1.2rem; color: var(--soft); line-height: 1.2; margin-bottom: .6rem; }
.mission-text { font-size: .95rem; }

/* ── footer ── */
.footer { padding: 40px var(--gutter) 56px; text-align: center; font-family: var(--f-hand); color: var(--pencil); }
.footer-social { display: flex; justify-content: center; gap: 18px; margin-top: .8rem; }
.footer-social svg { width: 34px; height: 34px; fill: var(--graphite); }

@media (max-width: 900px) {
  .method-grid, .missions { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .tracks, .goal-inner, .founder-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .method-grid, .more-grid, .missions { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .track { grid-template-columns: 7.2rem 1fr; }
  .track-label { font-size: .85rem; }
  .axis { margin-left: 7.8rem; }
  .row { grid-template-columns: 1fr; gap: .4rem; }
}
