/*
 * aimahdi.com — shared design system
 * Extracted from new-design-system/*.html reference files (Phase 2 redesign).
 * Used by the static pages: index.html, about.html, experience.html, tour.html.
 * Tokens: Navy/Saddle palette (Phase 6 — see REDESIGN_BRIEF.md).
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --canvas: #FFFFFF;
  --ink: #162331;
  --primary: #234E70;
  --primary-hover: #193B57;
  --saddle: #8A4F32;
  --muted: #596773;
  --surface: #E6EBEF;
  --border: #CCD5DC;
  --border-strong: #748490;
  --white: #FFFFFF;
  /* Status green — deliberate exception to the Navy/Saddle palette:
     used only where color communicates meaning (available/visited),
     never as a brand or decorative accent. */
  --success: #2E9E5B;
  --success-bg: #E8FFF0;
  --success-text: #1A7A42;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--canvas); color: var(--ink); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
/* Keeps the footer pinned to the viewport bottom on short pages (e.g. a
   blocked contact form) instead of floating up with dead space beneath it. */
main { flex: 1 0 auto; }
::selection { background: rgba(35,78,112,0.15); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol { margin: 0; }
img { max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* TYPE HELPERS (used throughout via class="serif" / class="mono") */
.serif { font-family: 'DM Serif Display', serif; font-weight: 400; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* SKIP LINK — hidden until keyboard-focused */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--canvas) !important; padding: 12px 20px; border-radius: 0 0 8px 0; font-size: 14px; font-weight: 600; }
.skip-link:focus { left: 0; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: var(--canvas); border-bottom: 1px solid var(--border); }
.nav-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 32px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
/* Wordmark monogram, not a boxed app icon: "Ai" (Amimul Ihsan) set in the
   site's own serif display face, italic, Navy. No container shape, so it
   reads as initials rather than a generic square tech/AI icon. */
.nav-mark { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 21px; line-height: 1; color: var(--primary); flex-shrink: 0; }
.nav-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; color: var(--ink); flex-wrap: wrap; }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 9px 17px; border-radius: 7px; font-size: 13.5px; font-weight: 600; transition: background .15s; white-space: nowrap; }
.nav-cta:hover { background: var(--primary-hover) !important; }

/* Mobile nav toggle — hidden entirely above the breakpoint. */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; gap: 5px; flex-direction: column; background: none; border: none; border-radius: 7px; cursor: pointer; padding: 0; flex-shrink: 0; }
.nav-toggle:hover { background: var(--surface); }
.nav-toggle-bar { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .15s, opacity .15s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 799px) {
  .nav-toggle { display: flex; }
  .nav-collapse { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--canvas); border-bottom: 1px solid var(--border); padding: 8px 32px 20px; box-shadow: 0 8px 24px rgba(22,35,49,0.08); }
  .nav-collapse.is-open { display: flex; }
  .nav-collapse .nav-links { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-collapse .nav-links a { display: block; width: 100%; padding: 10px 0; }
  .nav-collapse .nav-cta { display: inline-block; margin-top: 8px; text-align: center; }
}
@media (min-width: 800px) {
  .nav-collapse { display: contents; }
}

/* FOOTER */
.footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 52px 32px 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-about { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-col-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); }

/* LAYOUT */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.wrap-reading { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0 72px; border-bottom: 1px solid var(--border); }

/* TYPOGRAPHY */
.label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; color: var(--saddle); margin-bottom: 16px; text-transform: uppercase; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }

/* BADGE — forms/crm/smtp/wp are categorical product tags, unrelated to the
   brand accent; left as-is. Cart's badge previously reused the old orange
   accent directly, so it's recolored onto the saddle token instead. */
.badge { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 500; border-radius: 5px; padding: 3px 8px; display: inline-block; }
.badge-forms { background: #E8F3FF; color: #1A5FA8; }
.badge-crm { background: #F0EBFF; color: #6B3DAE; }
.badge-cart { background: var(--canvas); color: var(--saddle); border: 1px solid var(--saddle); }
.badge-smtp { background: #E8FFF0; color: #1A7A42; }
.badge-wp { background: #F0F0F0; color: #3A372F; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: background .15s, transform .12s; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--canvas); color: var(--ink); border: 1px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink); }

/* MISC */
.avail { display: flex; align-items: center; gap: 9px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 28px; }
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(46,158,91,0.18); flex-shrink: 0; }
.link-arrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--primary); font-weight: 600; white-space: nowrap; }
.link-arrow:hover { color: var(--primary-hover); }

/* Card hover lift (case studies, testimonials, etc.) */
.card-lift { transition: transform .18s, box-shadow .18s; }
.card-lift:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -18px rgba(22,35,49,0.25); }

/* Photo placeholder (used where real photography doesn't exist yet — about portrait fallback, tour entries) */
.photo-placeholder { background: var(--surface); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); text-align: center; flex-shrink: 0; }

/* Status pill (tour entries) */
.pill-visited { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; background: var(--success-bg); color: var(--success-text); border-radius: 5px; padding: 3px 8px; display: inline-block; }

/* Tour entries — description + photo gallery grid (tour-history.html).
   Gallery tiles are placeholders until real photos are added; layout is
   ready to receive them without further markup changes. */
.tour-card { padding: 32px 0; border-top: 1px solid var(--border); }
.tour-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.tour-card-date { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--saddle); }
.tour-card-title { font-size: 19px; font-weight: 600; margin: 8px 0 12px; }
.tour-card-desc { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 68ch; margin-bottom: 20px; }
.tour-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tour-gallery-item { display: flex; flex-direction: column; gap: 8px; }
.tour-gallery-photo { aspect-ratio: 4 / 3; border-radius: 8px; }
.tour-gallery-caption { font-size: 11.5px; color: var(--muted); text-align: center; }
@media (max-width: 700px) {
  .tour-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Awards timeline — a connecting line with per-award nodes, not another
   stack of cards. The individual award gets a saddle node + badge, the six
   team awards get plain navy-outlined nodes.

   Rows are fully visible by default (this is the no-JS / JS-failed state).
   scripts.js progressively enhances this: it adds .pre-reveal to each item
   on load (making it invisible) and then .is-visible as each one scrolls
   into view. If JS never runs, .pre-reveal is never added and every row
   just stays visible — the animation can only ever add polish, never hide
   content. */
.awards-timeline { position: relative; padding-left: 44px; margin: 0; }
.awards-timeline::before { content: ''; position: absolute; left: 15px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.awards-timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 14px 14px 0;
  margin-left: -14px;
  padding-left: 14px;
  border-radius: 8px;
  border-top: 1px solid var(--border);
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease, background-color .2s ease;
}
.awards-timeline-item:first-child { border-top: none; }
.awards-timeline-item.pre-reveal { opacity: 0; transform: translateY(14px); }
.awards-timeline-item.pre-reveal.is-visible { opacity: 1; transform: translateY(0); }
.awards-timeline-item:hover { background: var(--surface); }
/* Award badge — a small vector star mark, not a fabricated certificate
   image (no real badge graphics exist for these internal awards). Navy
   outline for team awards, a solid saddle fill for the individual one. */
.awards-timeline-node {
  position: absolute; left: -42px; top: 11px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: transform .25s ease;
}
.awards-timeline-node svg { width: 13px; height: 13px; }
.awards-timeline-item:hover .awards-timeline-node { transform: scale(1.12); }
.awards-timeline-item.pre-reveal .awards-timeline-node { transform: scale(0.4); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.awards-timeline-item.pre-reveal.is-visible .awards-timeline-node { transform: scale(1); }
.awards-timeline-item.pre-reveal.is-visible:hover .awards-timeline-node { transform: scale(1.12); }
.awards-timeline-item--individual .awards-timeline-node { background: var(--canvas); border-color: var(--saddle); color: var(--saddle); }
.awards-timeline-year { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); order: 2; margin-left: auto; }
.awards-timeline-title { font-size: 15px; font-weight: 500; color: var(--ink); order: 1; }
.awards-individual-badge { display: inline-block; margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.02em; color: var(--saddle); border: 1px solid var(--saddle); border-radius: 4px; padding: 1px 7px; vertical-align: middle; }

/* TESTIMONIALS (verified WordPress.org reviews — index.html) */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 28px; background: var(--surface); border-radius: 12px; display: block; }
.testimonial-quote { font-size: 16px; line-height: 1.6; color: var(--ink); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--canvas); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.testimonial-name { font-size: 13.5px; font-weight: 600; }
.testimonial-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Visually hidden but still announced by screen readers. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* REVIEWS SECTION (redesign — featured / direct-name / attributed tiers) */
.reviews-intro { font-size: 14px; color: var(--muted); max-width: 68ch; margin-bottom: 36px; }

/* Tier 1: featured reviews — larger cards, restrained saddle accent (top
   border + label + oversized quote mark), never a saddle fill. Each card is
   a flex column so the footer/link always sits flush at the bottom,
   regardless of quote length. */
.reviews-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 56px; align-items: stretch; }
.review-featured-card { position: relative; padding: 32px 32px 28px; background: var(--surface); border-radius: 12px; border-top: 3px solid var(--saddle); display: flex; flex-direction: column; }
.review-featured-label { display: inline-flex; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--saddle); font-weight: 600; margin-bottom: 14px; }
.review-featured-mark { font-family: 'DM Serif Display', serif; font-size: 48px; line-height: 1; color: var(--saddle); opacity: 0.35; display: block; margin-bottom: -12px; }
.review-featured-card blockquote { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--ink); flex: 1; }
.review-name-highlight { color: var(--saddle); font-weight: 600; }
.review-featured-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.review-featured-who { display: flex; align-items: center; gap: 12px; }
.review-featured-name { font-size: 13.5px; font-weight: 600; }
.review-source-link { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--primary); white-space: nowrap; padding: 6px 2px; flex-shrink: 0; }
.review-source-link:hover { color: var(--primary-hover); }

/* Tier 2: compact grid of the other 8 reviews naming Amimul (the 2 featured
   above are not repeated here). Each card is a flex column so the source
   link sits flush at the bottom of every card in a row. */
.reviews-compact-heading { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.reviews-compact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; align-items: stretch; }
.review-compact-card { padding: 20px 22px; background: var(--surface); border-radius: 10px; display: flex; flex-direction: column; gap: 8px; }
.review-compact-title { font-size: 14.5px; font-weight: 600; }
.review-compact-excerpt { font-size: 13.5px; line-height: 1.55; color: var(--ink); flex: 1; }
.review-compact-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }

/* Tier 3: attributed-only FluentCart feedback — a lean divider list, not
   cards. All entries are FluentCart (stated once in the heading above), so
   no per-item badge; just the excerpt, reviewer name, and source link. */
.reviews-more { padding-top: 40px; border-top: 1px solid var(--border); margin-bottom: 40px; }
.reviews-more-heading { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.reviews-more-intro { font-size: 13.5px; color: var(--muted); max-width: 68ch; margin-bottom: 20px; }
.reviews-more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.review-more-item { padding: 16px 0; border-top: 1px solid var(--border); }
.review-more-excerpt { font-size: 13px; line-height: 1.55; color: var(--muted); margin-bottom: 8px; }
.review-more-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: 11.5px; }
.review-more-by { font-family: 'JetBrains Mono', monospace; color: var(--muted); }

.reviews-closing { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 68ch; }

/* Visible keyboard focus, matching the site's global navy focus ring. */
.review-featured-card a:focus-visible,
.review-compact-card a:focus-visible,
.review-more-item a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(35,78,112,0.25);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .reviews-compact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .reviews-featured { grid-template-columns: 1fr; }
  .reviews-compact-grid { grid-template-columns: 1fr; }
  .reviews-more-list { grid-template-columns: 1fr; }
}

/* ============================================
   PRODUCT SOLUTIONS
   Editorial index, not a card grid: oversized sequence
   numbers, thin Saddle separators, Navy text links.
   ============================================ */

.solutions-intro { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 64ch; }

.solutions-featured { padding: 44px 0 48px; border-bottom: 1px solid var(--border); }
.solutions-featured-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; color: var(--saddle); text-transform: uppercase; margin-bottom: 14px; }
.solutions-featured-title { font-size: 32px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 14px; }
.solutions-featured-title a { color: var(--ink); text-decoration: none; }
.solutions-featured-title a:hover { color: var(--primary); }
.solutions-featured-title a:hover .solutions-arrow { transform: translateX(4px); }
.solutions-featured-desc { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 64ch; margin-bottom: 20px; }
.solutions-featured-desc code, .solutions-row-desc code { overflow-wrap: anywhere; word-break: break-word; }
.solutions-featured-foot { display: flex; flex-wrap: wrap; gap: 20px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.solutions-featured-foot .solutions-status { color: var(--saddle); }
.solutions-featured-link { color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }
.solutions-featured-link:hover { text-decoration: underline; color: var(--primary-hover); }

.solutions-list { margin: 0; padding: 0; }
.solutions-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid rgba(138, 79, 50, 0.3);
  transition: background-color .15s;
}
.solutions-row:last-child { border-bottom: 1px solid rgba(138, 79, 50, 0.3); }
.solutions-row-num { font-family: 'JetBrains Mono', monospace; font-size: 40px; font-weight: 500; color: var(--saddle); line-height: 1; }
.solutions-row-product { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; color: var(--saddle); text-transform: uppercase; margin-top: 10px; }
.solutions-row-title { font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0 0 10px; }
.solutions-row-title a { color: var(--ink); text-decoration: none; }
.solutions-row-title a:hover { color: var(--primary); }
.solutions-row-title a:hover .solutions-arrow { transform: translateX(4px); }
.solutions-arrow { display: inline-block; transition: transform .15s; margin-left: 2px; }
.solutions-row-desc { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 62ch; margin-bottom: 14px; }
.solutions-row-foot { display: flex; flex-wrap: wrap; gap: 16px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.solutions-row-foot .solutions-status { color: var(--saddle); }
.solutions-row-link { color: var(--primary); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.solutions-row-link:hover { text-decoration: underline; color: var(--primary-hover); }

.solutions-group-heading { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; color: var(--saddle); text-transform: uppercase; padding-top: 48px; }

.solutions-closing-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--primary); text-decoration: none; }
.solutions-closing-link:hover { text-decoration: underline; color: var(--primary-hover); }
.solutions-closing-link:hover .solutions-arrow { transform: translateX(4px); }

/* Visible keyboard focus, matching the site's global navy focus ring. */
.solutions-featured-title a:focus-visible,
.solutions-row-title a:focus-visible,
.solutions-featured-link:focus-visible,
.solutions-row-link:focus-visible,
.solutions-closing-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 78, 112, 0.25);
  border-radius: 3px;
}

@media (max-width: 640px) {
  .solutions-row { grid-template-columns: 1fr; gap: 10px; }
  .solutions-row-num { font-size: 32px; }
  .solutions-featured-title { font-size: 26px; }
}

/* Dedicated /product-solutions/ page: evidence detail block appended to a
   featured/row entry, plus the repository-index and concise-contribution
   rows used further down the page. */
.solutions-evidence { display: grid; grid-template-columns: max-content 1fr; gap: 7px 18px; font-size: 13.5px; margin-top: 16px; max-width: 68ch; min-width: 0; }
.solutions-evidence dt { font-family: 'JetBrains Mono', monospace; text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.05em; color: var(--muted); padding-top: 1px; min-width: 0; }
.solutions-evidence dd { margin: 0; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; min-width: 0; }
.solutions-evidence code { overflow-wrap: anywhere; word-break: break-word; }
.solutions-evidence a { color: var(--primary); text-decoration: none; overflow-wrap: anywhere; }
.solutions-evidence a:hover { text-decoration: underline; color: var(--primary-hover); }
.solutions-evidence a:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(35,78,112,0.25); border-radius: 3px; }

/* Quiet, single-line status — the visible default for a solution record.
   Full verification detail lives behind .solutions-disclosure so metadata
   never competes with the finding itself for attention. */
.solutions-status-line { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); margin-top: 4px; }
.solutions-status-line .solutions-status { color: var(--saddle); }

.solutions-disclosure { margin-top: 12px; }
.solutions-disclosure summary { cursor: pointer; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.03em; color: var(--muted); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.solutions-disclosure summary::-webkit-details-marker { display: none; }
.solutions-disclosure summary::before { content: '+'; color: var(--saddle); font-weight: 600; }
.solutions-disclosure[open] summary::before { content: '\2212'; }
.solutions-disclosure summary:hover { color: var(--ink); }
.solutions-disclosure summary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(35,78,112,0.25); border-radius: 3px; }
.solutions-disclosure .solutions-evidence { margin-top: 14px; }

.solutions-repo-row { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(138,79,50,0.3); }
.solutions-repo-row:last-child { border-bottom: 1px solid rgba(138,79,50,0.3); }
.solutions-repo-count { font-family: 'JetBrains Mono', monospace; font-size: 32px; font-weight: 500; color: var(--saddle); line-height: 1; }
.solutions-repo-name { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.solutions-repo-name a { color: var(--ink); text-decoration: none; }
.solutions-repo-name a:hover { color: var(--primary); }
.solutions-repo-desc { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 62ch; }

.solutions-concise-row { padding: 22px 0; border-top: 1px solid var(--border); }
.solutions-concise-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.solutions-concise-product { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; color: var(--saddle); text-transform: uppercase; }
.solutions-concise-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.solutions-concise-desc { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 64ch; margin-bottom: 6px; }
.solutions-concise-row a.solutions-row-link { font-size: 13px; }

.solutions-methodology { font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 68ch; }
.solutions-methodology p + p { margin-top: 12px; }

/* WooCommerce external-contribution feature: a Saddle side rule instead of
   a shared sequence number, set apart from the FluentCart row sequence. */
.solutions-featured--external { border-bottom: none; padding: 0 0 8px 28px; border-left: 3px solid var(--saddle); }

/* Fluent ecosystem contribution overview: a two-column typographic index of
   verified merged-PR counts, not sequence numbers — 37 (FluentCart Core)
   reads as dominant, the rest still carry real visual weight. */
.solutions-repo-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.solutions-repo-count--major { font-size: 52px; }
.solutions-repo-row--major .solutions-repo-name { font-size: 18px; }

@media (max-width: 640px) {
  .solutions-evidence { grid-template-columns: 1fr; gap: 2px 0; }
  .solutions-evidence dt { margin-top: 10px; }
  .solutions-repo-row { grid-template-columns: 1fr; gap: 6px; }
  .solutions-repo-count { font-size: 24px; }
  .solutions-repo-count--major { font-size: 40px !important; }
  .solutions-repo-grid { grid-template-columns: 1fr; }
  .solutions-featured--external { padding-left: 18px; border-left-width: 2px; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .solutions-repo-grid { grid-template-columns: 1fr; }
}

/* About page Skills grid: 4 categories. Previously a fixed 3-column inline
   grid with no responsive collapse at all — fixed here alongside adding the
   4th (Competitive Programming) category. */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 40px; }
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .skills-grid { grid-template-columns: 1fr; }
}

/* About page hero: fixed 120px avatar column had no mobile collapse. */
@media (max-width: 420px) {
  .about-hero-grid { grid-template-columns: 1fr !important; }
  .about-hero-grid img { width: 72px !important; height: 72px !important; }
}

/* Experience role cards: KEY RESPONSIBILITIES / NOTABLE CONTRIBUTIONS
   two-column grid had no mobile collapse. */
@media (max-width: 480px) {
  .role-card-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
}

/* Experience/homepage date-labeled rows (Earlier roles, Experience Snapshot):
   fixed 160px date column had no mobile collapse. */
@media (max-width: 480px) {
  .date-row-grid { grid-template-columns: 1fr !important; gap: 6px !important; }
}
