  @font-face { font-family: "Fraunces"; font-weight: 500; font-display: swap; src: url("fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
  @font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
  @font-face { font-family: "Epilogue"; font-weight: 400; font-display: swap; src: url("fonts/epilogue-latin-400-normal.woff2") format("woff2"); }
  @font-face { font-family: "Epilogue"; font-weight: 600; font-display: swap; src: url("fonts/epilogue-latin-600-normal.woff2") format("woff2"); }

  :root {
    --bg: #080e26;
    --bg-2: #0e1636;
    --surface: #283157;
    --surface-2: #1a2246;
    --line: #414a70;
    --ink: #ebecef;
    --muted: #b4b9cc;
    --accent: #8c98ca;
    --accent-2: #b8c1ea;
    --radius: 10px;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Epilogue", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 64px; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.65 var(--sans); -webkit-text-size-adjust: 100%; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--accent-2); text-underline-offset: 3px; }
  h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: #fff; letter-spacing: -0.01em; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

  /* Navigation */
  nav { position: sticky; top: 0; z-index: 20; background: rgba(8,14,38,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(140,152,202,.18); }
  nav .wrap { display: flex; align-items: center; gap: 24px; height: 58px; }
  nav .brand { font-family: var(--serif); font-size: 20px; color: #fff; text-decoration: none; white-space: nowrap; }
  nav .links { display: flex; gap: 22px; overflow-x: auto; margin-left: auto; scrollbar-width: none; }
  nav .links::-webkit-scrollbar { display: none; }
  nav .links a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
  nav .links a:hover { color: #fff; }

  /* Hero */
  .hero { position: relative; overflow: hidden; min-height: calc(100vh - 58px); display: flex; align-items: center;
    background:
      radial-gradient(900px 500px at 85% 20%, rgba(140,152,202,.22), transparent 60%),
      radial-gradient(700px 500px at 5% 95%, rgba(84,96,170,.25), transparent 60%),
      var(--bg); }
  .hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 56px; width: 100%; }
  .hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.05; margin: 0 0 22px; text-align: center; }
  .hero h1 span { display: block; color: var(--accent-2); font-size: clamp(24px, 3.5vw, 44px); line-height: 1.2; margin-top: 6px; white-space: nowrap; }
  .hero .tags { font-size: inherit; color: var(--ink); margin: 0 0 14px; }
  .hero p { margin: 0 0 14px; color: var(--ink); max-width: 580px; }
  .hero .photo { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; max-height: 76vh; justify-self: end; width: 100%; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(140,152,202,.25); }
  .hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
  .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
  .btn { display: inline-block; padding: 13px 24px; border-radius: 7px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
  .btn.primary { background: var(--accent); color: #0b1230; }
  .btn.ghost { background: var(--bg); color: var(--ink); border: 1px solid rgba(235,236,239,.55); }
  .btn:hover { transform: translateY(-2px); }
  .btn.primary:hover { background: var(--accent-2); }

  /* Sections */
  section { padding: 96px 0; }
  .alt { background: var(--bg-2); }
  h2 { font-size: clamp(34px, 4.4vw, 46px); line-height: 1.1; margin: 0 0 10px; }
  .lead { color: var(--muted); margin: 0 0 40px; }
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

  /* About */
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "title title" "art list"; column-gap: 40px; row-gap: 0; align-items: start; }
  .about-grid h2 { grid-area: title; }
  .about-art { grid-area: art; align-self: stretch; display: flex; align-items: center; justify-content: center; }
  .about-grid ul { grid-area: list; }
  .about-art { background: var(--surface); border-radius: var(--radius); padding: 16px; }
  .about-art img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
  .about h2 { text-align: center; margin-bottom: 26px; }
  .about ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .about li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 16px 50px; position: relative; font-size: 17px; display: flex; align-items: center; min-height: 64px; }
  .about li::before { content: ""; position: absolute; left: 22px; top: 50%; width: 11px; height: 11px; border-radius: 3px; background: var(--accent); transform: translateY(-50%) rotate(45deg); }
  .tools { background: #f4f5f9; border-radius: var(--radius); padding: 20px 28px; }
  .tools img { max-height: 54px; width: auto; margin: 0 auto; }

  /* Career: trunk and branches */
  .center { text-align: center; }
  .trunk { list-style: none; margin: 48px 0 0; padding: 0; position: relative;
    display: grid; grid-template-columns: 1fr 72px 1fr; grid-auto-rows: minmax(90px, auto); }
  .trunk::before { content: ""; position: absolute; top: 10px; bottom: 0; left: 50%; width: 2px; transform: translateX(-1px); background: linear-gradient(var(--line), var(--line) 94%, transparent); }
  .branch { position: relative; padding-bottom: 68px; display: flex; }
  .branch:nth-child(odd)  { grid-column: 1; justify-content: flex-end; padding-right: 42px; }
  .branch:nth-child(even) { grid-column: 3; justify-content: flex-start; padding-left: 42px; }
  .branch:nth-child(1) { grid-row: 1 / span 2; } .branch:nth-child(2) { grid-row: 2 / span 2; }
  .branch:nth-child(3) { grid-row: 3 / span 2; } .branch:nth-child(4) { grid-row: 4 / span 2; }
  .branch:nth-child(5) { grid-row: 5 / span 2; } .branch:nth-child(6) { grid-row: 6 / span 2; }
  .blk { width: min(420px, 100%); }
  .branch:nth-child(odd) .blk  { text-align: right; }
  .branch:nth-child(even) .blk { text-align: left; }
  /* number and branch line anchored to the vertical middle of each role block (68px = bottom spacing) */
  .branch .num { position: absolute; top: calc(50% - 34px); transform: translateY(-50%); width: 41px; height: 41px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 22px; display: grid; place-items: center; z-index: 1; }
  .branch:nth-child(odd) .num  { right: -56.5px; }
  .branch:nth-child(even) .num { left: -56.5px; }
  .branch::after { content: ""; position: absolute; top: calc(50% - 34px); width: 40px; height: 2px; transform: translateY(-1px); background: var(--line); }
  .branch:nth-child(odd)::after  { right: -16px; }
  .branch:nth-child(even)::after { left: -16px; }
  .branch h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; text-align: center; }
  .branch p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
  .branch b { color: #fff; }
  .branch .when { white-space: nowrap; }
  .logos { display: block; background: #fff; border-radius: 6px; overflow: hidden; margin-top: 8px; width: 100%; }
  .logos img { width: 100%; height: auto; }

  /* Products */
  .products { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
  .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .product { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
  .product:hover { transform: translateY(-4px); border-color: var(--accent); }
  .product .shot { aspect-ratio: 16 / 10; background: #f4f5f9; }
  .product .shot img { width: 100%; height: 100%; object-fit: contain; }
  .product .body { padding: 22px 24px 26px; }
  .product h3 { margin: 0 0 8px; font-size: 27px; }
  .product p { margin: 0; color: var(--ink); font-size: 16.5px; }

  /* Sample work band */
  .band { position: relative; overflow: hidden; background: linear-gradient(180deg, #151d45 0%, #0b1230 100%); }
  .band .mtn { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; pointer-events: none; }
  .band .wrap { position: relative; }
  .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  figure { margin: 0; overflow: hidden; background: rgba(8,14,38,.85); border: 1px solid var(--line); border-radius: var(--radius); }
  figure a { display: block; aspect-ratio: 16 / 10; background: #f4f5f9; }
  figure img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
  figure a:hover img { transform: scale(1.03); }
  figcaption { padding: 14px 18px; font-size: 15px; color: var(--muted); }
  figcaption b { display: block; color: #fff; font-family: var(--serif); font-weight: 500; font-size: 19px; }

  /* Skills */
  /* Header, lead, and list are one left-hand group, vertically centered against the skills map. */
  .skills-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
  .skills-copy .lead { margin-bottom: 32px; }
  .skills { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
  .skills li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; }
  .skills h3 { margin: 4px 0 4px; font-size: 23px; }
  .skills p { margin: 0; color: var(--muted); font-size: 16.5px; }
  .skills-map { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px; }
  .skills-map img { max-height: 820px; width: auto; margin: 0 auto; }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .contact-item { padding: 24px; }
  .contact-item span { display: block; color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
  .contact-item a, .contact-item p { color: #fff; margin: 0; font-size: 18px; word-break: break-word; }
  footer { border-top: 1px solid rgba(140,152,202,.18); color: var(--muted); font-size: 14px; text-align: center; padding: 26px 0; }


  /* Lightbox */
  .lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(4,7,20,.92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
  .lightbox.open { display: flex; }
  .lightbox img { max-width: min(1400px, 100%); max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); background: #f4f5f9; }
  .lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 15px; margin: 0; }
  .lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
  figure a { cursor: zoom-in; }

  /* Reveal on scroll */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

  /* Responsive */
  @media (max-width: 920px) {
    .hero { min-height: auto; }
    .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 64px; }
    .hero .photo { order: -1; justify-self: center; max-width: 300px; max-height: none; }
    .grid-2, .gallery, .contact-grid, .about-grid, .skills-grid { grid-template-columns: 1fr; gap: 32px; }
    .trunk { display: block; margin-top: 32px; }
    .trunk::before { display: none; }
    .branch:nth-child(n) { display: flex; flex-direction: column; align-items: center; padding: 0 0 48px; }
    .branch:nth-child(n) .num { position: static; transform: none; margin-bottom: 14px; }
    .branch:nth-child(n)::after { display: none; }
    .branch + .branch::before { content: ""; width: 2px; height: 28px; background: var(--line); margin: -34px 0 6px; }
    .branch:nth-child(n) .blk { text-align: left; width: min(420px, 100%); }
    .branch h3 { font-size: 19px; }
    .about-grid { grid-template-areas: "title" "art" "list"; row-gap: 24px; }
    .about-art { max-width: 420px; width: 100%; margin: 0 auto; align-self: auto; }
    .about-art img { height: auto; }
    .skills-map { display: none; }
    section { padding: 64px 0; }
    .products { padding: 18px; }
  }
  @media (max-width: 560px) {
    body { font-size: 17px; }
    .wrap { padding: 0 16px; }
    nav .brand { display: none; }
    nav .links { margin-left: 0; gap: 16px; }
    .hero .photo { max-width: 240px; }
    .products { padding: 0; border: 0; }
    .tools { padding: 14px 16px; }
    /* Skills list on phones: number badge centered on top, like the case study steps */
    .skills li { grid-template-columns: 1fr; gap: 8px; text-align: center; }
    .skills li > .num { justify-self: center; }
    .skills-copy h2, .skills-copy .lead { text-align: center; }
  }

/* Product cards link to case studies */
a.product { color: inherit; text-decoration: none; }
.product .more { display: inline-block; margin-top: 14px; color: var(--accent-2); font-weight: 600; font-size: 15px; }
a.product:hover .more { text-decoration: underline; text-underline-offset: 3px; }

/* Case study pages (single solid background) */
body.case { background: var(--bg); }
.case-hero { padding: 72px 0 56px; }
.case-hero .crumb { font-size: 14px; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.case-hero .crumb a { color: var(--accent); text-decoration: none; }
.case-hero .crumb a:hover { color: #fff; }
.case-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.case-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; margin: 0 0 16px; }
.case-hero .sub { font-size: 19px; color: var(--ink); margin: 0 0 24px; }
.case-hero .role-line { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.case-shot { background: #f4f5f9; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); cursor: zoom-in; display: block; }
.case-shot img { width: 100%; height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; }
.chips li b { color: var(--accent-2); font-weight: 600; }
.case-body section { padding: 40px 0; border-top: 1px solid rgba(140,152,202,.15); }
.case-body h2 { font-size: clamp(28px, 3.4vw, 36px); margin: 0 0 18px; }
.case-body .prose { max-width: 760px; }
.case-body .prose p { margin: 0 0 16px; }
.case-body .prose ul { margin: 0 0 16px; padding-left: 20px; }
.case-body .prose li { margin: 6px 0; }
.case-body .prose li::marker { color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 860px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.steps h3 { margin: 4px 0 6px; font-size: 21px; }
.steps p { margin: 0; color: var(--ink); font-size: 16.5px; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.result b { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; color: #fff; margin-bottom: 6px; }
.result span { color: var(--muted); font-size: 15px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.stack li { border: 1px solid var(--line); border-radius: 6px; padding: 5px 11px; font-size: 14px; color: var(--muted); }
.case-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 40px 0 64px; border-top: 1px solid rgba(140,152,202,.15); }
.case-nav a { color: var(--accent-2); text-decoration: none; font-weight: 600; }
.case-nav a:hover { text-decoration: underline; }
.source { font-size: 14px; color: var(--muted); }
.draft-note { border: 1px dashed #f2b134; background: rgba(242,177,52,.08); color: #f6d58f; border-radius: var(--radius); padding: 16px 20px; margin-top: 8px; font-size: 15px; max-width: 860px; }
.draft-note b { color: #f2b134; }
.draft-note ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 920px) {
  .case-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-hero { padding: 40px 0 32px; }
}
@media (max-width: 560px) {
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .steps li > .num { justify-self: center; }
}

/* Shared number badge (skills list, case study steps) */
.num { width: 41px; height: 41px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 20px; display: grid; place-items: center; }

/* Case study: scoring table and embedded prototype */
.tw { overflow-x: auto; margin: 0 0 16px; }
table.score { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
table.score th, table.score td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.score th { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
table.score { border-collapse: separate; border-spacing: 0; }
table.score tr.pick td { color: #fff; font-weight: 600; }
/* Chosen row: emerald outline, left accent bar, fading tint, check circle in a gutter left of the grid */
table.score .gut { width: 40px; padding: 0 8px 0 0; border-bottom: 0; text-align: center; }
table.score .ck { width: 30px; height: 30px; display: block; margin: 0 auto; }
table.score tr:has(+ tr.pick) td { border-bottom-color: transparent; }
table.score tr.pick td:not(.gut) { border-top: 1.5px solid #34d399; border-bottom: 1.5px solid #34d399; background: rgba(52,211,153,.05); }
table.score tr.pick td.first { border-left: 5px solid #34d399; border-radius: 10px 0 0 10px; background: linear-gradient(90deg, rgba(52,211,153,.16), rgba(52,211,153,.04)); }
table.score tr.pick td:last-child { border-right: 1.5px solid #34d399; border-radius: 0 10px 10px 0; }
table.score tr.pick td.gut { background: none; border: 0; }
.proto-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0a0e11; margin: 8px 0 20px; }
.proto-frame iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; }
@media (max-width: 760px) { .proto-frame { display: none; } }
/* Featured product card (full width) */
.product.featured { grid-column: 1 / -1; flex-direction: row; }
.product.featured .shot { flex: 1.1; aspect-ratio: auto; min-height: 320px; }
.product.featured .body { flex: .9; align-self: center; padding: 28px 32px; }
@media (max-width: 920px) { .product.featured { flex-direction: column; } .product.featured .shot { aspect-ratio: 16 / 10; min-height: 0; } }

/* Case study v2: centered headers, full-width copy, flow-down steps */
.case-hero .crumb span { color: var(--accent-2); }
.case-body h2 { text-align: center; }
.case-body .prose { max-width: none; }
.steps.flow { max-width: none; gap: 0; }
/* each step is a downward chevron; arrows run from each point into the next notch */
.steps.flow li { position: relative; display: block; background: none; border: 0; padding: 0; margin-bottom: 16px; }
.steps.flow li:last-child { margin-bottom: 0; }
.steps.flow .box { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: center;
  background: var(--surface); padding: 46px 40px 50px;
  clip-path: polygon(0 0, 50% 26px, 100% 0, 100% calc(100% - 26px), 50% 100%, 0 calc(100% - 26px)); }
.steps.flow li:first-child .box { padding-top: 30px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 50% 100%, 0 calc(100% - 26px)); }
.steps.flow .txt h3 { margin: 0 0 8px -64px; font-size: 21px; text-align: center; }
.steps.flow .txt p { margin: 0; font-size: 16.5px; }
.steps.flow li:not(:last-child)::after { content: ""; position: absolute; left: calc(50% - 1px); top: 100%; width: 2px; height: 32px; background: var(--accent-2); z-index: 2; }
.steps.flow li:not(:last-child)::before { content: ""; position: absolute; left: calc(50% - 7px); top: calc(100% + 32px); width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--accent-2); z-index: 2; }
@media (max-width: 560px) {
  .steps.flow .box { grid-template-columns: 1fr; gap: 10px; padding: 40px 22px 46px; clip-path: polygon(0 0, 50% 18px, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px)); }
  .steps.flow li:first-child .box { padding-top: 24px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px)); }
  .steps.flow li:not(:last-child)::after { height: 24px; }
  .steps.flow li:not(:last-child)::before { top: calc(100% + 24px); }
  .steps.flow .txt h3 { margin-left: 0; }
  .steps.flow .num { justify-self: center; }
}

.insight-box { border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 24px; margin: 8px 0 22px; }
.insight-box b { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; color: #fff; margin-bottom: 8px; }
.insight-box p { margin: 0 0 10px; }
.insight-box p:last-child { margin: 0; }

/* Agentic AI visuals: turnaround timeline, prototype speed bars, tool grid */
.tl { display: grid; gap: 14px; }
.tl-row, .bar-row { display: grid; grid-template-columns: 260px 1fr 260px; gap: 16px; align-items: center; }
.tl-name, .bar-label { color: var(--ink); font-size: 15.5px; }
.tl-track, .bar-track { height: 14px; background: rgba(140,152,202,.12); border-radius: 4px; overflow: hidden; }
.tl-track { height: 22px; }
.tl-bar, .bar { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.tl-val, .bar-val { color: var(--muted); font-size: 14.5px; }
.tl-val b { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 20px; margin-right: 6px; }
.bars { display: grid; gap: 10px; }
.bar-row:hover .bar { background: var(--accent-2); }
.toolgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.tool b { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.tool span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) {
  .tl-row, .bar-row { grid-template-columns: 1fr; gap: 4px; }
  .tl-row { margin-bottom: 8px; } .bar-row { margin-bottom: 6px; }
}
/* centered lead-in titles on tiles and result cards */
.tool, .result { text-align: center; }
.result span { display: block; }
