/* ==========================================================================
   orr365.tools — GitHub dark theme (Primer dark palette)
   ========================================================================== */

:root {
  /* Surfaces */
  --bg-default:  #0d1117;
  --bg-muted:    #151b23;
  --bg-inset:    #010409;
  --bg-subtle:   #212830;

  /* Borders */
  --border-default: #3d444d;
  --border-muted:   #2f353d;

  /* Foreground */
  --fg-default: #f0f6fc;
  --fg-muted:   #9198a1;
  --fg-subtle:  #6e7681;
  --fg-onEmphasis: #ffffff;

  /* Accents */
  --accent-fg:       #4493f8;
  --accent-emphasis: #1f6feb;
  --accent-muted:    rgba(56, 139, 253, 0.4);
  --accent-subtle:   rgba(56, 139, 253, 0.1);

  --success-fg:   #3fb950;
  --done-fg:      #ab7df8;
  --attention-fg: #d29922;
  --severe-fg:    #db6d28;
  --danger-fg:    #f85149;

  /* Buttons */
  --btn-bg:        #212830;
  --btn-hover-bg:  #262c36;
  --btn-border:    #3d444d;
  --btn-primary-bg:       #238636;
  --btn-primary-hover-bg: #29903b;
  --btn-primary-border:   rgba(240, 246, 252, 0.1);

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
               Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  /* Layout */
  --wrap: 1280px;
  --radius:    6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 0 rgba(1, 4, 9, 0.2);
  --shadow-md: 0 3px 6px rgba(1, 4, 9, 0.15);
  --shadow-lg: 0 8px 24px rgba(1, 4, 9, 0.2);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg-default);
  color: var(--fg-default);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-fg); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 600; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent-fg);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
  vertical-align: text-bottom;
}
.icon--lg    { width: 24px; height: 24px; }
.icon--brand { width: 22px; height: 22px; color: var(--accent-fg); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent-emphasis);
  color: var(--fg-onEmphasis);
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }

.btn--ghost {
  background: var(--btn-bg);
  color: var(--fg-default);
}
.btn--ghost:hover {
  background: var(--btn-hover-bg);
  border-color: var(--fg-subtle);
}

.btn--primary {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-border);
  color: var(--fg-onEmphasis);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--btn-primary-hover-bg); }

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-muted);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-default);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand__tld { color: var(--fg-muted); font-weight: 400; }

.masthead__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.masthead__nav > a:not(.btn) {
  color: var(--fg-muted);
  font-weight: 500;
  transition: color .15s;
}
.masthead__nav > a:not(.btn):hover {
  color: var(--fg-default);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border-muted);
  background:
    radial-gradient(60% 120% at 50% -10%, rgba(31, 111, 235, 0.18), transparent 65%),
    radial-gradient(40% 80% at 85% 10%, rgba(171, 125, 248, 0.10), transparent 70%),
    var(--bg-default);
}

/* Subtle grid texture behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(61, 68, 77, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(61, 68, 77, 0.25) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }

.hero__eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-fg);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-muted);
  border-radius: 999px;
}

.hero__title {
  max-width: 20ch;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.grad {
  background: linear-gradient(135deg, #4493f8 0%, #ab7df8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  max-width: 62ch;
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.6vw, 1.175rem);
  color: var(--fg-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__stats span {
  font-size: 13px;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   Toolbar — search + filters
   -------------------------------------------------------------------------- */

.tools { padding: 56px 0 88px; scroll-margin-top: 62px; }

.tools__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 320px;
  max-width: 420px;
}
.search__icon {
  position: absolute;
  left: 12px;
  color: var(--fg-subtle);
  pointer-events: none;
}
.search__input {
  width: 100%;
  padding: 8px 40px 8px 36px;
  font-family: inherit;
  font-size: 14px;
  color: var(--fg-default);
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.search__input::placeholder { color: var(--fg-subtle); }
.search__input:focus {
  outline: none;
  border-color: var(--accent-emphasis);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.search__input::-webkit-search-cancel-button { filter: invert(0.6); }

.search__kbd {
  position: absolute;
  right: 10px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 18px;
  color: var(--fg-subtle);
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  pointer-events: none;
}
.search__input:focus ~ .search__kbd { opacity: 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 5px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s, background-color .15s, border-color .15s;
}
.chip:hover {
  color: var(--fg-default);
  background: var(--bg-muted);
  border-color: var(--fg-subtle);
}
.chip[aria-pressed="true"] {
  color: var(--fg-onEmphasis);
  background: var(--accent-emphasis);
  border-color: var(--accent-emphasis);
}
.chip__count {
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
  opacity: .6;
}

/* --------------------------------------------------------------------------
   Tool grid
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.card:hover {
  border-color: var(--fg-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.card__head .icon { color: var(--fg-muted); margin-top: 3px; }

.card__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card__title a { color: var(--accent-fg); }
/* Whole card is clickable via the title's stretched link */
.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card { position: relative; }

.card__badge {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
}
.card__badge--new {
  color: var(--success-fg);
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.35);
}
.card__badge--updated {
  color: var(--done-fg);
  background: rgba(171, 125, 248, 0.1);
  border: 1px solid rgba(171, 125, 248, 0.35);
}

.card__desc {
  flex: 1;
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--fg-muted);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.card__tag {
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-fg);
  background: var(--accent-subtle);
  border: 1px solid transparent;
  border-radius: 999px;
}

/* Copyable install command */
.card__install {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 8px 7px 12px;
  background: var(--bg-inset);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius);
}
.card__install code {
  flex: 1;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  white-space: nowrap;
  scrollbar-width: none;
}
.card__install code::-webkit-scrollbar { display: none; }

.card__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  color: var(--fg-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color .15s, background-color .15s, border-color .15s;
}
.card__copy:hover {
  color: var(--fg-default);
  background: var(--btn-bg);
  border-color: var(--border-default);
}
.card__copy.is-copied { color: var(--success-fg); }
/* Swap the clipboard glyph for a tick on success */
.card__copy.is-copied .icon use { display: none; }
.card__copy.is-copied::after {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L1.72 9.28a.75.75 0 1 1 1.06-1.06L6 11.44l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L1.72 9.28a.75.75 0 1 1 1.06-1.06L6 11.44l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.card__copy.is-copied .icon { display: none; }

.card__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-muted);
  font-size: 12px;
  color: var(--fg-muted);
}

.card__lang { display: inline-flex; align-items: center; gap: 6px; }
.card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fg-subtle);
}

.card__links {
  display: flex;
  gap: 14px;
  margin-left: auto;
}
/* Sits above the stretched link so secondary links stay clickable */
.card__links a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg-muted);
  font-weight: 500;
  transition: color .15s;
}
.card__links a:hover { color: var(--accent-fg); text-decoration: none; }

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 72px 0;
  color: var(--fg-muted);
}
.empty .icon { color: var(--fg-subtle); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  padding: 72px 0;
  border-top: 1px solid var(--border-muted);
  background: var(--bg-inset);
  scroll-margin-top: 62px;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.about h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.about p {
  max-width: 62ch;
  margin: 0 0 14px;
  color: var(--fg-muted);
}
.about__links { display: flex; gap: 12px; margin-top: 24px; }

.callout {
  padding: 20px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}
.callout h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 14px;
}
.callout h3 .icon { color: var(--accent-fg); }
.callout li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.9;
}
.callout li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-subtle);
}

/* --------------------------------------------------------------------------
   About page — profile header
   -------------------------------------------------------------------------- */

.profile {
  position: relative;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border-muted);
  background:
    radial-gradient(55% 110% at 20% -10%, rgba(31, 111, 235, 0.16), transparent 65%),
    radial-gradient(45% 90% at 90% 0%, rgba(171, 125, 248, 0.10), transparent 70%),
    var(--bg-default);
}

.profile__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.profile__photo img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border-default);
  background: var(--bg-muted);
}

.profile__name {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.profile__tagline {
  max-width: 60ch;
  margin: 0 0 20px;
  font-size: 1.0625rem;
  color: var(--fg-muted);
}

.profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--fg-muted);
}
.profile__meta li { display: inline-flex; align-items: center; gap: 7px; }
.profile__meta .icon { color: var(--fg-subtle); }

.profile__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* MVP card */
.mvp-card {
  width: 260px;
  padding: 20px;
  text-align: center;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.mvp-card img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 14px;
}
.mvp-card__cat {
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-muted);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-default);
}
.mvp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   About page — generic sections
   -------------------------------------------------------------------------- */

.section { padding: 64px 0; scroll-margin-top: 62px; }
.section--inset {
  background: var(--bg-inset);
  border-block: 1px solid var(--border-muted);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
}
.section__sub {
  max-width: 60ch;
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--fg-muted);
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 18px; }
.prose p {
  max-width: 66ch;
  margin: 0 0 16px;
  color: var(--fg-muted);
  font-size: 15.5px;
}
.prose__lead {
  font-size: 1.125rem !important;
  color: var(--fg-default) !important;
  font-style: italic;
}
.prose__note {
  margin-top: 24px !important;
  padding: 16px 18px;
  background: var(--bg-muted);
  border: 1px solid var(--border-muted);
  border-left: 3px solid var(--accent-emphasis);
  border-radius: var(--radius);
}
.prose__note strong { color: var(--fg-default); }

.side-stack { display: grid; gap: 16px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-list li {
  padding: 3px 11px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-fg);
  background: var(--accent-subtle);
  border-radius: 999px;
}

.factlist { display: grid; gap: 12px; }
.factlist li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
}
.factlist strong {
  min-width: 44px;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-default);
}

/* Writing */
.posts { display: grid; gap: 2px; }
.post a {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  color: var(--fg-default);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color .15s, border-color .15s;
}
.post a:hover {
  background: var(--bg-muted);
  border-color: var(--border-default);
  text-decoration: none;
}
.post time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
}
.post__title { font-size: 15px; font-weight: 500; }
.post a:hover .post__title { color: var(--accent-fg); }
.post__arrow { color: var(--fg-subtle); opacity: 0; transition: opacity .15s; }
.post a:hover .post__arrow { opacity: 1; }

/* Speaking */
.talks { display: grid; gap: 12px; }
.talk {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}
.talk--placeholder {
  border-style: dashed;
  background: transparent;
}
.talk__meta { display: flex; flex-direction: column; gap: 2px; }
.talk__year {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-default);
}
.talk__date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
}

.talk__headrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.talk__title { font-size: 15.5px; }
.talk__role {
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--done-fg);
  background: rgba(171, 125, 248, 0.1);
  border: 1px solid rgba(171, 125, 248, 0.35);
  border-radius: 999px;
}

.talk__event {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-fg);
}

.talk__desc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
}
.talk__desc .icon { color: var(--fg-subtle); }

/* Tools strip */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.strip__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  transition: border-color .15s, transform .15s;
}
.strip__item:hover {
  border-color: var(--fg-subtle);
  transform: translateY(-2px);
  text-decoration: none;
}
.strip__name { font-size: 14.5px; font-weight: 600; color: var(--fg-default); }
.strip__item:hover .strip__name { color: var(--accent-fg); }
.strip__cat { font-size: 12px; color: var(--fg-muted); }
.strip__mod {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-subtle);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border-muted);
  font-size: 13px;
  color: var(--fg-muted);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.footer__note { color: var(--fg-subtle); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .profile__inner { grid-template-columns: auto minmax(0, 1fr); }
  .mvp-card { grid-column: 1 / -1; width: 100%; max-width: 100%; display: flex;
              align-items: center; gap: 20px; text-align: left; }
  .mvp-card img { margin: 0; width: 180px; }
  .mvp-card__cat { padding-top: 0; border-top: 0; border-left: 1px solid var(--border-muted);
                   padding-left: 20px; margin: 0; }
  .mvp-card__link { margin-left: auto; }
}

@media (max-width: 900px) {
  .about__inner,
  .prose-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .wrap { padding-inline: 16px; }
  .hero { padding: 64px 0 56px; }
  .hero__stats { gap: 28px; }
  .masthead__nav > a:not(.btn) { display: none; }
  .search { max-width: none; }
  .search__kbd { display: none; }
  .grid { grid-template-columns: 1fr; }

  /* About page */
  .section { padding: 48px 0; }
  .profile { padding: 48px 0 40px; }
  .profile__inner { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
  .profile__photo img { width: 128px; height: 128px; }
  .mvp-card { flex-direction: column; align-items: stretch; text-align: center; }
  .mvp-card img { width: 100%; max-width: 200px; margin: 0 auto; }
  .mvp-card__cat { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--border-muted); }
  .mvp-card__link { margin: 0 auto; }
  .post a { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .post time { grid-row: 2; }
  .talk { grid-template-columns: 1fr; gap: 8px; }
  .strip { grid-template-columns: 1fr; }
}
