:root {
  --bg: #050607;
  --bg-2: #0E1216;
  --card: #111518;
  --line: #22282D;
  --text: #F2F3EF;
  --muted: #9AA1A5;
  --lime: #D8F238;
  --lime-ink: #0B0C08;
  --coral: #FF7A59;
  --font: "Space Grotesk", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 64rem;
}
/* light mode keeps the same identity: dark is the design, so we only soften for forced light */
:root[data-theme="light"] {
  --bg: #F4F5F1; --bg-2: #E9ECE6; --card: #FFFFFF; --line: #D9DDD6;
  --text: #0B0D0E; --muted: #5A6266; --lime: #C5E21A;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

/* faint grid behind the top of every page */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

/* ---------- top bar ---------- */
.top { display: flex; justify-content: space-between; align-items: center; padding-block: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 600; line-height: 1.1; font-size: 0.95rem; }
.brand .dot {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 0.8rem; letter-spacing: 0.02em;
}
.top nav ul { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0.3rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.top nav a { display: block; padding: 0.45rem 0.95rem; border-radius: 999px; text-decoration: none; font-size: 0.9rem; color: var(--muted); }
.top nav a:hover { color: var(--text); }
.top nav a[aria-current="page"] { background: var(--text); color: var(--bg); }
@media (max-width: 560px) { .brand span:last-child { display: none; } .top nav a { padding: 0.4rem 0.7rem; } }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 0.85rem 1.4rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; border-radius: 4px; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #E6FF5C; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- hero ---------- */
.hero { text-align: center; padding-block: 1.5rem 5rem; }
.arch {
  width: min(15rem, 56vw); aspect-ratio: 640 / 820; margin: 0 auto;
  border: 3px solid var(--text); border-bottom: 0;
  border-radius: 999px 999px 0 0; overflow: hidden; position: relative;
  background: #fff;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.arch::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero h1 {
  position: relative; margin: -2.2rem 0 1.25rem; text-shadow: 0 0 24px var(--bg), 0 0 8px var(--bg);
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600;
}
.hero h1 span { display: block; }
.hero h1 span + span { font-size: 0.72em; font-weight: 500; color: #DADDD8; white-space: nowrap; }
@media (max-width: 480px) { .hero h1 span + span { white-space: normal; } }
.hero p { max-width: 40rem; margin: 0 auto 0.6rem; color: var(--muted); font-size: 1.05rem; }
.hero p strong { color: var(--text); font-weight: 600; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }

/* ---------- path cards with the lime curve ---------- */
.paths { position: relative; padding-block: 4rem 6rem; }
.paths svg.curve { position: absolute; left: 0; top: 50%; width: 100%; height: 22rem; transform: translateY(-50%); z-index: 0; pointer-events: none; }
.cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: 52rem; margin-inline: auto; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 15rem;
  padding: 1.5rem; background: rgba(17,21,24,.82); border: 1px solid var(--line); border-radius: 6px;
  text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--lime); transform: translateY(-3px); }
.card svg { width: 1.6rem; height: 1.6rem; stroke: var(--text); }
.card h2 { font-size: 1.35rem; line-height: 1.2; font-weight: 500; margin: 0 0 0.4rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; max-width: 24rem; } .card { min-height: 10rem; } }

.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; margin: 0 auto; max-width: 44rem; }
.stack li { padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--muted); }

/* ---------- section headings ---------- */
.sec { padding-block: clamp(4rem, 9vw, 6.5rem); }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1.5rem; align-items: baseline; margin-bottom: 2.5rem; }
.sec-head em { font-family: var(--serif); font-size: 1.6rem; color: var(--muted); }
.sec-head h2, .page-title { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; margin: 0; }
.page-title + p { color: var(--muted); max-width: 40rem; margin: 1rem 0 0; }
.page-head { padding-block: 2.5rem 3.5rem; }

/* ---------- contact ---------- */
.contact { background: var(--bg-2); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start; }
.contact h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0; font-weight: 600; }
.contact h2 span { color: var(--lime); display: block; }
.contact-box { background: #08131A; border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 1.5rem; }
.contact-box ul { list-style: none; margin: 0; padding: 0; }
.contact-box li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-box li:last-child { border-bottom: 0; }
.contact-box span { color: var(--muted); font-size: 0.85rem; padding-top: 0.15rem; }
.contact-box a { text-underline-offset: 4px; text-decoration-color: var(--line); word-break: break-word; }
.contact-box a:hover { color: var(--lime); text-decoration-color: var(--lime); }
@media (max-width: 760px) { .contact .wrap { grid-template-columns: 1fr; } .contact-box li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ---------- footer arcs ---------- */
.foot { position: relative; height: clamp(14rem, 28vw, 24rem); overflow: hidden; text-align: center; }
.foot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot .sign { position: absolute; left: 0; right: 0; bottom: 2.5rem; font-size: 0.85rem; color: var(--muted); }
.foot .sign strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 0.4rem; }

/* ---------- trajetória ---------- */
.jobs { display: grid; gap: 1.25rem; }
.job {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0 2rem;
  padding: 1.75rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px;
}
.job .when { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; color: var(--muted); }
.job .when strong { font-size: 1.9rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.job .when .end { font-size: 1.25rem; color: var(--muted); }
.job .when .rail { width: 2px; height: 1.6rem; margin-left: 0.85rem; background: linear-gradient(to bottom, var(--line), var(--muted)); border-radius: 2px; }
.job.now .when strong:first-child { color: var(--lime); }
.job.now .when .end { color: var(--lime); }
.job.now .when .rail { background: linear-gradient(to bottom, var(--lime), rgba(216,242,56,.25)); }
.job h3 { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.job .meta { display: block; margin: 0.25rem 0 0.9rem; font-size: 0.85rem; color: var(--muted); }
.job p { margin: 0 0 0.75rem; color: #C9CED0; max-width: 62ch; }
.job ul { margin: 0; padding-left: 1.1rem; max-width: 62ch; }
.job li { margin-bottom: 0.4rem; color: #C9CED0; }
.job li::marker { color: var(--lime); }
@media (max-width: 640px) {
  .job { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.25rem; }
  .job .when { flex-direction: row; align-items: center; gap: 0.6rem; }
  .job .when .rail { width: 1.4rem; height: 2px; margin: 0; }
  .job .when .end { font-size: 1.9rem; }
}

/* ---------- projetos ---------- */
.lead { font-size: 1.2rem; line-height: 1.5; max-width: 44rem; margin: 0 0 2.5rem; }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; max-width: 48rem; }
.work { text-decoration: none; display: block; }
.work .shot { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); background: var(--card); }
.work .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); transition: filter .35s ease, transform .35s ease; }
.work:hover .shot img, .work:focus-visible .shot img { filter: none; transform: scale(1.02); }
.work h3 { margin: 1rem 0 0.35rem; font-size: 1.2rem; font-weight: 600; }
.work p { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.95rem; }
.work .go { font-size: 0.85rem; font-weight: 600; color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) { .works { grid-template-columns: 1fr; } }

.pubs { border: 1px solid var(--line); border-radius: 14px; padding: 0.5rem 1.75rem; }
.pubs details { border-bottom: 1px solid var(--line); }
.pubs details:last-child { border-bottom: 0; }
.pubs summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start;
  padding: 1.2rem 0;
}
.pubs summary::-webkit-details-marker { display: none; }
.pubs summary h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.pubs summary .venue { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 400; margin-top: 0.25rem; }
.pubs .pm { width: 1.4rem; height: 1.4rem; border: 1.5px solid var(--text); border-radius: 50%; position: relative; margin-top: 0.1rem; flex: none; }
.pubs .pm::before, .pubs .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.6rem; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.pubs .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.pubs details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.pubs .body { padding: 0 0 1.25rem; }
.pubs .body p { margin: 0 0 0.75rem; color: #C9CED0; font-size: 0.95rem; max-width: 62ch; }
.pubs .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: 0.9rem; }
.pubs .links a { color: var(--lime); text-underline-offset: 4px; }
.rg { margin-top: 1.75rem; }
.rg a { color: var(--lime); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 560px) { .pubs { padding: 0.25rem 1.1rem; } }

/* ---------- projetos v2 ---------- */
.panel {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px;
  background: radial-gradient(60rem 26rem at 85% -10%, rgba(216,242,56,.10), transparent 60%), var(--bg-2);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.panel-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.panel-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 1rem; font-weight: 600; }
.panel-head p { margin: 0 0 1.25rem; font-size: 1.1rem; color: #C9CED0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.02); }
.panel-head .tags li { border-color: rgba(216,242,56,.35); color: var(--lime); }

.case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.case + .case { margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: clamp(3rem, 7vw, 4.5rem); border-top: 1px solid var(--line); }
.case.flip .browser { order: 2; }
.browser {
  display: block; text-decoration: none; border-radius: 12px; overflow: hidden;
  background: #1A1F23; border: 1px solid #2B3237;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02);
  transition: transform .3s ease, box-shadow .3s ease;
}
.browser:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(216,242,56,.35); }
.case.flip .browser:hover { transform: translateY(-4px) rotate(0.4deg); }
.bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.8rem; border-bottom: 1px solid #2B3237; }
.bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #3A4248; }
.bar i:first-child { background: var(--coral); }
.bar i:nth-child(2) { background: #F2C14E; }
.bar i:nth-child(3) { background: var(--lime); }
.bar span { margin-left: 0.6rem; flex: 1; font-size: 0.75rem; color: var(--muted); background: #0F1316; border-radius: 6px; padding: 0.2rem 0.6rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.case-text h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.case-lead { font-size: 1.1rem; color: var(--text); margin: 0 0 0.75rem; }
.case-text p:not(.case-lead) { color: var(--muted); margin: 0 0 1.25rem; }
.case-text .tags { margin-bottom: 1.5rem; }
.btn-pill { display: inline-block; padding: 0.6rem 1.15rem; border-radius: 999px; border: 1px solid var(--lime); color: var(--lime); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.btn-pill:hover { background: var(--lime); color: var(--lime-ink); }
@media (max-width: 820px) {
  .case { grid-template-columns: 1fr; }
  .case.flip .browser { order: 0; }
}

.research { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.research-side { position: sticky; top: 2rem; }
.research-side h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 1rem; font-weight: 600; }
.research-side p { color: #C9CED0; margin: 0 0 1rem; }
@media (max-width: 860px) { .research { grid-template-columns: 1fr; } .research-side { position: static; } }

.papers { display: grid; gap: 1rem; }
.paper {
  position: relative; padding: 1.5rem 1.6rem 1.4rem; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 60%), var(--card);
  transition: border-color .2s ease;
}
.paper::before { content: ""; position: absolute; left: 0; top: 1.6rem; width: 3px; height: 1.4rem; background: var(--lime); border-radius: 0 3px 3px 0; }
.paper:hover { border-color: #3A4348; }
.paper-venue { margin: 0 0 0.5rem; font-size: 0.8rem; color: var(--lime); }
.paper h3 { margin: 0 0 0.75rem; font-size: 1.15rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.paper-desc { margin: 0 0 1.1rem; color: #B9BFC2; font-size: 0.95rem; line-height: 1.6; }
.paper-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.pill { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; text-decoration: none; color: var(--text); }
.pill:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- tech groups ---------- */
.tech-sec { padding-block: 1rem 0; }
.tech-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; font-weight: 600; margin: 0 0 1.5rem; text-align: center; }
.tech-table { max-width: 56rem; margin-inline: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.tech-row { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1rem 2rem; align-items: center; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
.tech-row:last-child { border-bottom: 0; }
.tech-label h3 { margin: 0 0 0.2rem; font-size: 1.1rem; font-weight: 600; }
.tech-label p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 0.4rem 0.8rem; border-radius: 8px; border: 1px solid #2C3338; background: #171C20; font-size: 0.88rem; color: var(--text); }
.tech-row.ai { background: radial-gradient(30rem 8rem at 0% 50%, rgba(216,242,56,.08), transparent 70%); }
.tech-row.ai h3 { color: var(--lime); }
.tech-row.ai .chips li { border-color: rgba(216,242,56,.4); color: var(--lime); background: rgba(216,242,56,.06); }
@media (max-width: 720px) { .tech-row { grid-template-columns: 1fr; padding: 1.2rem; } }

/* ---------- bento ---------- */
.bento-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; max-width: 60rem; margin-inline: auto; }
.bento { padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 55%), var(--card); display: flex; flex-direction: column; }
.bento svg { width: 1.6rem; height: 1.6rem; stroke: var(--text); margin-bottom: 1.25rem; }
.bento h3 { margin: 0 0 0.25rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.bento > p { margin: 0 0 1.25rem; font-size: 0.9rem; color: var(--muted); }
.bento .chips { margin-top: auto; }
.b-back { grid-column: span 3; order: 1; }
.b-cloud { grid-column: span 3; order: 2; }
.b-front { grid-column: span 2; order: 3; }
.b-ai { grid-column: span 4; order: 4; border-color: rgba(216,242,56,.45); background: radial-gradient(28rem 14rem at 100% 0%, rgba(216,242,56,.12), transparent 70%), var(--card); }
.b-ai svg { stroke: var(--lime); }
.b-ai h3 { color: var(--lime); }
.b-ai .chips li { border-color: rgba(216,242,56,.4); color: var(--lime); background: rgba(216,242,56,.06); }
@media (max-width: 820px) { .bento-grid { grid-template-columns: 1fr; } .b-back, .b-cloud, .b-front, .b-ai { grid-column: auto; } }

/* ---------- tech tabs ---------- */
.tabs { max-width: 52rem; margin-inline: auto; }
.tablist { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.35rem; padding: 0.35rem; margin: 0 auto 1.75rem; width: fit-content; max-width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.tablist button { font: inherit; font-size: 0.95rem; cursor: pointer; border: 0; background: transparent; color: var(--muted); padding: 0.55rem 1.2rem; border-radius: 999px; }
.tablist button:hover { color: var(--text); }
.tablist button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.tablist button.ai { color: var(--lime); }
.tablist button.ai[aria-selected="true"] { background: var(--lime); color: var(--lime-ink); }
.tab-desc { text-align: center; color: var(--muted); margin: 0 0 1.5rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.75rem; }
.tiles li { display: flex; align-items: center; gap: 0.75rem; padding: 0.95rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 0.95rem; line-height: 1.25; }
.tiles svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--text); }
.tab-panel.ai .tiles li { border-color: rgba(216,242,56,.35); background: radial-gradient(10rem 5rem at 0% 0%, rgba(216,242,56,.08), transparent 70%), var(--card); }
.tab-panel.ai .tiles svg { color: var(--lime); }
@media (max-width: 480px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tablist button { padding: 0.5rem 0.85rem; } }
@media (max-width: 760px) { .paths svg.curve { display: none; } }

/* ---------- tech groups (always visible) ---------- */
.tech-groups { max-width: 60rem; margin-inline: auto; display: grid; gap: 2rem; }
.tech-group { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem 2rem; align-items: start; padding-top: 2rem; border-top: 1px solid var(--line); }
.tech-group:first-child { border-top: 0; padding-top: 0; }
.tech-group-label h3 { margin: 0 0 0.25rem; font-size: 1.2rem; font-weight: 600; }
.tech-group-label p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.tech-group .tiles { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.tech-group.ai h3 { color: var(--lime); }
.tech-group.ai .tiles li { border-color: rgba(216,242,56,.35); background: radial-gradient(10rem 5rem at 0% 0%, rgba(216,242,56,.08), transparent 70%), var(--card); }
.tech-group.ai .tiles svg { color: var(--lime); }
@media (max-width: 760px) { .tech-group { grid-template-columns: 1fr; } }
