/* Restrained glass finish, matching the scale of the Tabfolio reference. */
.topbar {
  position: absolute;
  z-index: 100;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
}
.dock-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 24px;
  background: rgba(245,245,251,.65);
  background-image: linear-gradient(112deg,rgba(255,255,255,.4) -21%,rgba(255,255,255,0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 1px 3px rgba(20,20,40,.035);
}
.dock-links a {
  display: block;
  position: relative;
  border-radius: 20px;
  padding: 7px 12px;
  color: #4e5362;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
  transition: background .18s,color .18s,box-shadow .18s;
}
.dock-links a:hover { color: var(--ink); background: rgb(var(--brand-blue) / .14); }
.dock-links a.is-current { color: var(--ink); font-weight: 700; background: #78cef4; }
.dock-links a:active { box-shadow: inset 0 0 0 1.5px #0a62b0; }
.card-art-1 { --thumb-green-position: 0% 100%; --thumb-lilac-position: 100% 0%; --thumb-angle: 135deg; }
.card-art-2 { --thumb-green-position: 100% 100%; --thumb-lilac-position: 0% 0%; --thumb-angle: 215deg; }
.card-art-3 { --thumb-green-position: 0% 0%; --thumb-lilac-position: 100% 100%; --thumb-angle: 35deg; }
.card-art-4 { --thumb-green-position: 100% 0%; --thumb-lilac-position: 0% 100%; --thumb-angle: 315deg; }
@media (max-width: 760px) {
  .topbar { top: 20px; }
  .dock-links { gap: 0; }
  .dock-links a { padding-inline: 11px; font-size: 13px; }
}
@media (max-width: 400px) {
  .dock-links a { padding-inline: 7px; font-size: 11.5px; }
}
@media (max-width: 340px) {
  .dock-links a { padding-inline: 5px; font-size: 11px; }
}

/* 2026-10-28: clearer card affordances, topic chips, trust strip, grouped skills */
.hero .intro { max-width: 520px; }
.work-card { position: relative; }
.card-art { transition: box-shadow .25s ease, transform .25s ease; }
.work-card:hover .card-art, .work-card:focus-visible .card-art { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23,69,220,.22); }
.work-card:hover h3 { color: var(--brand); }
.work-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 6px; }
.work-meta h3 { font-size: 17px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
.chips li { padding: 3px 10px; border-radius: 999px; background: #eeeef3; color: #4e5362; font-size: 12.5px; line-height: 20px; }
.chips-lg { margin-top: 24px; }
.chips-lg li { font-size: 14px; padding: 5px 14px; }
.trust { padding-bottom: 36px; }
.trust p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.trust ul { display: flex; flex-wrap: wrap; gap: 12px 32px; list-style: none; margin: 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.trust img { width: 34px; height: 34px; object-fit: contain; }
.skills-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 40px; }
.skills-groups h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.skills-link:hover { color: var(--brand); }
.button:focus-visible, .dock-links a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.about-story-copy h2 { max-width: 560px; }
@media (max-width: 760px) { .skills-groups { grid-template-columns: 1fr; } .hero .intro { max-width: none; } }
@media (hover: none) { .work-card:hover .card-art { transform: none; box-shadow: none; } }

/* 2026-10-28 (2): black underlined titles with blue hover, glance strip, featured break, photo framing */
.work-meta h3, .article-caption h3 { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.work-card:hover h3, .article-card:hover h3, .work-card:focus-visible h3, .article-card:focus-visible h3 { color: var(--brand); }
.glance { padding-bottom: 40px; }
.glance dl { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance div { padding: 18px 20px 18px 0; }
.glance div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.glance dt { margin: 0 0 4px; color: var(--muted); font-size: 13px; font-weight: 500; }
.glance dd { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }
.resume-role--feature { padding: 24px !important; margin-bottom: 8px; border: 1px solid #e6dff7 !important; border-radius: 20px; background: linear-gradient(135deg, #f6f1ff, #eaf6ef 70%, #eaf5ff); }
.resume-role--feature .resume-thumb { border-color: #e6dff7; }
.about-carousel-viewport { height: auto; aspect-ratio: 4 / 5; }
.about-carousel .about-portrait { object-position: center center; }
.about-carousel-slide .about-portrait[src$=".gif"] { object-fit: contain; }
@media (max-width: 1000px) { .glance dl { grid-template-columns: repeat(2, minmax(0,1fr)); } .glance div:nth-child(3) { padding-left: 0; border-left: 0; } .glance div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .glance { padding-bottom: 24px; } .glance dl { grid-template-columns: repeat(2, minmax(0,1fr)); } .glance div { padding: 12px 12px 12px 0; } .glance div + div { padding-left: 12px; } .glance div:nth-child(3) { padding-left: 0; border-left: 0; } .glance dt { font-size: 12px; } .glance dd { font-size: 13.5px; line-height: 1.4; } .resume-role--feature { padding: 18px !important; } }

/* 2026-10-28 (3): articles show the title first, never truncated; no empty-image icon */
.articles-grid .article-kind { font-size: 13px; font-weight: 500; letter-spacing: 0; line-height: 20px; color: var(--muted); }
.articles-grid .article-caption h3 { margin-top: 2px; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; white-space: normal; overflow: visible; text-overflow: clip; }
.articles-grid .article-card:hover h3, .articles-grid .article-card:focus-visible h3 { color: var(--brand); text-decoration: underline; }
.articles-grid .article-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 6px; }
.thumbnail-placeholder { display: none; }

/* 2026-10-29: case study intro facts, three decisions, takeaway */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 0 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 16px 20px 16px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { margin: 0 0 4px; color: var(--muted); font-size: 13px; font-weight: 500; }
.facts dd { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 500; }
.decisions-title { margin: 40px 0 16px; font-size: 22px; font-weight: 500; letter-spacing: -.035em; }
.decisions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.decisions li { padding: 20px; border-radius: 18px; background: var(--surface); }
.decision-n { display: block; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.decisions h4 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.decisions p { margin: 0; color: #4e5362; font-size: 15px; line-height: 1.55; }
.takeaway { margin: 8px 0 56px; padding: 4px 0 4px 24px; border-left: 3px solid var(--brand); }
.takeaway p { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 500; letter-spacing: -.03em; }
.study-section > p { max-width: 68ch; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0,1fr)); } .facts div:nth-child(3) { padding-left: 0; border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } .decisions { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts div, .facts div + div { padding-left: 0; border-left: 0; } .facts div + div { border-top: 1px solid var(--line); } .takeaway p { font-size: 19px; } }
