/* AP News colour theme on top of the pradeepdive.com layout (site.css).
   Layout, spacing and pictures stay as they are; only colour, type and corners change.
   AP palette: black header and footer, white page, black text, AP red #DA1026,
   light grey rules, mid grey for meta text, square-ish corners, condensed bold headlines. */

html:root {
  --bg: #ffffff;
  --bg-deep: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --surface-3: #f2f2f2;
  --text: #000000;
  --text-muted: #555555;
  --text-subtle: #767676;
  --border: #e2e2e2;
  --border-strong: #cccccc;
  --brand: #da1026;
  --brand-strong: #b00d1f;
  --brand-soft: #da102612;
  --accent: #da1026;
  --accent-strong: #b00d1f;
  --accent-soft: #da102612;
  --shadow-sm: 0 1px 2px #0000000f;
  --shadow-md: 0 8px 24px #00000014;
  --shadow-lg: 0 16px 40px #0000001f;
  --font-heading: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 3px;
  --radius-xl: 4px;
  --radius-2xl: 4px;
  color-scheme: light;
}
body { background: #fff; color: #000; font-family: var(--font-body); }

/* Black header and footer, like apnews.com: dark tokens scoped to them. */
.site-header, .site-footer {
  --bg: #000000; --bg-deep: #000000; --surface: #111111; --surface-2: #1c1c1c; --surface-3: #262626;
  --text: #ffffff; --text-muted: #d4d4d4; --text-subtle: #9a9a9a; --border: #2b2b2b; --border-strong: #444444;
  color: #fff;
}
.site-header { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
.nav-link { font-weight: 700; }
.nav-link.is-active:after { background: var(--accent); }
.subscribe-btn, .subscribe-btn:hover { color: #fff; box-shadow: none; }
.site-footer { background: #000; border-top: 0; }
.footer-socials a:hover, .footer-tag:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Headlines: condensed and bold. */
h1, h2, h3, .top-story-title, .article-title, .pick-title, .article-hero-title, .brand-name { font-family: var(--font-heading); }
.top-story-title, .article-hero-title { font-weight: 700; letter-spacing: -.005em; }
.article-title, .pick-title { font-weight: 700; letter-spacing: 0; }

/* Red where pradeepdive.com used purple. */
.top-story-badge, .subscribe-icon, .avatar { background: var(--accent); color: #fff; }
.top-story-category { color: #fff; background: var(--accent); align-self: flex-start; padding: 3px 8px; }
.subscribe-card { background: #f7f7f7; border: 1px solid var(--border); }
.subscribe-card input { background: #fff; color: #000; border-color: var(--border-strong); }
.subscribe-card input:focus { box-shadow: 0 0 0 3px #da10262e; }
.subscribe-card button:hover { box-shadow: none; }
.btn-primary:hover, .btn-accent:hover { box-shadow: none; }
.source-pill { background: #f2f2f2; border-color: #e2e2e2; color: #555; }
.category-pill { background: transparent; padding-left: 0; padding-right: 0; }
.chip.is-active, .models-chip.is-active { background: #000; border-color: #000; color: #fff; }
.skill-item:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Category icons in AP's black, turning red on hover. */
.cat-tint-ai, .cat-tint-dev, .cat-tint-arch, .cat-tint-lead, .cat-tint-tech, .cat-tint-mobile, .cat-tint-review { background: #000; }
.category-list-row:hover .category-list-icon, .category-tile:hover .category-tile-icon { background: var(--accent); }
.category-tile:hover { background: #fff; }

/* Cards: white with light rules, a subtle lift on hover. */
.article-card, .editors-picks, .categories-card, .category-tile, .profile-card, .blog-detail-content { background: #fff; }
.top-story-hero:after { background: linear-gradient(#00000000 30%, #0000008c 62%, #000000eb); }
.top-story-hero .top-story-excerpt { color: #f2f2f2; }
.top-story-meta { color: #e6e6e6; }

/* Owner-only bars keep working on a light page. */
.owner-notice { background: #fdecee; color: #000; }

/* AP uses near-square corners everywhere. */
.article-card.compact { border-radius: var(--radius-xl); }

/* ---------------------------------------------------------------------------
   Heavy royal navy and deep emerald, mixed into the AP look.
   White page, black footer and red buttons stay from AP. Royal navy is the main
   second colour, used in solid blocks (header, sign-up box, Editor's Picks bar);
   deep emerald supports it in a few places so the page never reads as green.
   --------------------------------------------------------------------------- */
html:root {
  --navy: #000000;        /* was royal navy; now the header's black (owner's choice) */
  --navy-2: #1a1a1a;
  --navy-deep: #000000;
  --navy-soft: #f2f2f2;
  --emerald: #0b6b35;     /* deep jewel emerald, forest green (no teal) */
  --emerald-2: #12843f;
  --emerald-soft: #eaf6ee;
}

/* Header: pitch black with a deep emerald rule under it. */
.site-header { background: #000000; border-bottom: 4px solid var(--emerald); }
.site-header {
  --bg: #000000; --bg-deep: #000000; --surface: #111111; --surface-2: #1c1c1c; --surface-3: #262626;
  --text: #ffffff; --text-muted: #d4d4d4; --text-subtle: #9a9a9a; --border: #2b2b2b; --border-strong: #444444;
}
.site-header .nav-link.is-active:after { background: #ffffff; }
.site-header .icon-btn { border-color: #444444; }

/* Footer stays black (AP); a royal navy band closes the page. */
.site-footer { border-top: 4px solid var(--navy); }
.site-footer-bottom { background: var(--navy); color: #cccccc; border-top: 0; }
.footer-socials a:hover, .footer-tag:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }

/* Section headings in navy with a navy underline. */
.section-bar h2, .section-head-inline h2 { color: var(--navy); }
.section-bar h2:after { background: var(--navy); height: 3px; }
.section-bar { border-bottom-color: #dddddd; }
.view-all:hover { color: var(--navy-2); }

/* Editor's Picks: a solid royal navy title bar. */
.editors-picks { padding-top: 0; overflow: hidden; }
.editors-picks > .section-head-inline { background: var(--navy); margin: 0 -18px 6px; padding: 14px 18px; }
.editors-picks > .section-head-inline h2, .editors-picks > .section-head-inline h2:before,
.editors-picks > .section-head-inline .view-all { color: #ffffff; }

/* Categories: a deep emerald title bar. */
.categories-card { padding-top: 0; overflow: hidden; }
.categories-card > .section-head-inline { background: var(--emerald); margin: 0 -18px 6px; padding: 14px 18px; }
.categories-card > .section-head-inline h2, .categories-card > .section-head-inline .view-all { color: #ffffff; }

/* Sign-up box: a solid royal navy block; the button stays AP red. */
.subscribe-card { background: var(--navy); border-color: var(--navy); color: #fff; }
.subscribe-card h3 { color: #ffffff; }
.subscribe-card p, .subscribe-fineprint { color: #c9d2ef; }
.subscribe-kicker { color: #86d99f; }
.subscribe-icon { background: var(--emerald); color: #fff; }
.subscribe-card input { background: #ffffff; border-color: #ffffff; color: #000; }

/* Story labels and small marks: navy. Top story's label on a deep emerald chip. */
.category-pill, .pick-category { color: var(--navy-2); }
.top-story-category { background: var(--emerald); }
.avatar { background: var(--navy); }
.article-card:hover .article-title, .pick-row:hover .pick-title { color: var(--navy-2); }

/* Category icons: mostly navy, every third one emerald; hover goes navy-bright. */
.cat-tint-ai, .cat-tint-tech, .cat-tint-dev, .cat-tint-arch, .cat-tint-mobile { background: var(--navy); }
.cat-tint-lead, .cat-tint-review { background: var(--emerald); }
.category-list-row:hover .category-list-icon, .category-tile:hover .category-tile-icon { background: var(--navy-2); }
.category-list-row:hover { color: var(--navy-2); }
.category-tile:hover { border-color: var(--navy); background: var(--navy-soft); }

/* Article page and catalog touches. */
.source-pill { background: var(--navy-soft); border-color: #dddddd; color: var(--navy-2); }
.article-sources-footer .section-kicker, .article-close-cta .section-kicker { color: var(--emerald-2); }
.article-close-cta { border-top: 4px solid var(--navy); }
.chip.is-active, .models-chip.is-active { background: var(--navy); border-color: var(--navy); }
.skill-icon { color: var(--navy-2); }
.category-hero .kicker { color: var(--navy-2); }

/* "Agentic news portal" declaration: footer line, article byline note, About section. */
.footer-brand-block .agentic-note { color: #9fb0e0; font-size: .82rem; margin-top: -6px; }
.agentic-byline { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 6px 12px;
  background: var(--navy-soft); border-left: 3px solid var(--emerald); color: var(--navy-2);
  font: 600 .8rem/1.3 var(--font-heading); letter-spacing: .02em; border-radius: 0 4px 4px 0; }
.agentic-byline::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); flex: none; }
.agentic-explainer { margin: 22px 0 6px; padding: 18px 20px; background: var(--navy-soft); border-top: 3px solid var(--navy); border-radius: 4px; }
.agentic-explainer h3 { color: var(--navy); margin: 0 0 8px; }
.agentic-explainer p { margin: 0 0 8px; }
.agentic-explainer ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 6px; }

/* Newsletter sign-up reply, shown in place. */
.subscribe-msg { margin: 0; font-weight: 600; font-size: .9rem; }
.subscribe-msg.is-ok { color: #86d99f; }
.subscribe-msg.is-bad { color: #ffb4b4; }

/* Report an error (under every article) */
.report-error { margin: 2rem 0 1.5rem; border: 1px solid var(--border); border-left: 4px solid var(--brand); background: var(--surface-2); }
.report-error summary { cursor: pointer; list-style: none; padding: .9rem 1.1rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; }
.report-error summary::-webkit-details-marker { display: none; }
.report-error summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--brand); }
.report-error[open] summary::after { content: "\2212"; }
.report-error summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.report-error-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; flex: none; }
.report-error-intro { margin: 0 1.1rem .8rem; color: var(--text-muted); font-size: .95rem; }
.report-error-form { display: grid; gap: .5rem; padding: 0 1.1rem 1.1rem; max-width: 640px; }
.report-error-form fieldset { border: 0; padding: 0; margin: 0 0 .4rem; display: grid; gap: .3rem; }
.report-error-form legend, .report-error-form > label { font-weight: 700; font-size: .9rem; margin-bottom: .1rem; }
.report-error-form fieldset label { font-size: .95rem; display: flex; gap: .5rem; align-items: center; }
.report-error-form textarea, .report-error-form input[type="email"] { width: 100%; box-sizing: border-box; border: 1px solid var(--border-strong); background: #fff; padding: .6rem .7rem; font: inherit; border-radius: var(--radius-sm); }
.report-error-form textarea:focus, .report-error-form input[type="email"]:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.report-error-form .optional { font-weight: 400; color: var(--text-subtle); }
.report-error-form button { justify-self: start; margin-top: .3rem; }
.report-error .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.report-error .report-error-msg { margin: 0 1.1rem 1.1rem; }
.report-error .report-error-msg.is-ok { color: var(--emerald, #0b6b35); }
.report-error .report-error-msg.is-bad { color: var(--brand-strong); }

/* Contact: footer line and /contact page */
.contact-card { max-width: 680px; margin: 0 0 3rem; padding: 1.5rem 1.6rem; border: 1px solid var(--border); border-top: 4px solid var(--navy); background: var(--surface-2); }
.contact-card h2 { margin: 0 0 .8rem; font-family: var(--font-heading); }
.contact-card ul { margin: 0 0 1.2rem; padding-left: 1.2rem; display: grid; gap: .3rem; }
.contact-email-line { font-size: 1.15rem; margin: 0 0 .4rem; }
.contact-email { font-weight: 700; color: var(--brand); word-break: break-all; }
.contact-note { color: var(--text-muted); margin: .4rem 0 0; }

/* Error pages (404 and 5xx) */
.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; }
.error-page { max-width: 720px; margin: 0 auto; padding: 4rem 0 5rem; text-align: center; }
.error-code { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; color: var(--brand); letter-spacing: -.02em; }
.error-page h1 { margin: .6rem 0 .6rem; font-family: var(--font-heading); font-size: clamp(1.7rem, 4vw, 2.4rem); text-wrap: balance; }
.error-lede { margin: 0 auto 1.6rem; color: var(--text-muted); max-width: 52ch; font-size: 1.05rem; }
.error-search { display: flex; gap: .5rem; max-width: 480px; margin: 0 auto 1.2rem; }
.error-search input { flex: 1; min-width: 0; border: 1px solid var(--border-strong); padding: .65rem .8rem; font: inherit; border-radius: var(--radius-sm); }
.error-search input:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.error-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.2rem; }
.error-topics { border-top: 1px solid var(--border); padding-top: 1.4rem; }
.error-topics h2 { font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 .8rem; }
.error-topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.error-help { margin-top: 1.8rem; color: var(--text-muted); }
.error-help a { color: var(--brand); font-weight: 600; }

/* About page */
.about-hero { background: var(--surface-2); border-bottom: 1px solid var(--border); padding-block: 48px 40px; }
.about-hero-inner { display: grid; grid-template-columns: 168px 1fr; gap: 40px; align-items: center; }
.about-avatar { width: 168px; height: 168px; border-radius: 50%; overflow: hidden; background: #000; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--emerald); display: grid; place-items: center; }
.about-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-avatar span { color: #fff; font: 800 56px/1 var(--font-heading); letter-spacing: .02em; }
.about-kicker { display: inline-block; font: 700 12px/1 var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 10px; }
.about-hero h1 { margin: 0; font: 800 clamp(2rem, 4.5vw, 3rem)/1.05 var(--font-heading); letter-spacing: -.01em; }
.about-role { margin: 8px 0 0; font: 600 1.15rem/1.4 var(--font-heading); color: var(--text-muted); }
.about-bio { margin: 16px 0 0; max-width: 62ch; font-size: 1.12rem; line-height: 1.6; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-placeholder { opacity: .55; }

.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-block: 44px 24px; align-items: start; }
.about-body { max-width: 68ch; font-size: 1.05rem; line-height: 1.7; }
.about-body > p:first-child { font-size: 1.15rem; }
.about-body h2 { font: 800 1.6rem/1.2 var(--font-heading); margin: 2.2rem 0 .8rem; padding-top: 1.2rem; border-top: 3px solid #000; }
.about-body p { margin: 0 0 1rem; }
.about-body blockquote { margin: 2rem 0; padding: 4px 0 4px 22px; border-left: 6px solid var(--accent); }
.about-body blockquote p { margin: 0; font: 800 clamp(1.3rem, 2.4vw, 1.65rem)/1.3 var(--font-heading); color: #000; }
.about-body ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 12px; }
.about-body li { background: var(--surface-2); border-left: 4px solid var(--emerald); padding: 14px 18px; }
.about-body li strong { display: block; font: 700 1.08rem/1.3 var(--font-heading); margin-bottom: 4px; }
.about-location { color: var(--text-muted); }

.about-side { display: grid; gap: 20px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.about-side h2 { font: 700 .85rem/1 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.about-stats { background: #000; color: #fff; padding: 22px 22px 8px; border-top: 4px solid var(--emerald); }
.about-stats h2 { color: #bdbdbd; }
.about-stat { padding: 12px 0 14px; border-top: 1px solid #2a2a2a; }
.about-stat:first-of-type { border-top: 0; padding-top: 0; }
.about-stat b { display: block; font: 800 2.1rem/1 var(--font-heading); color: #fff; }
.about-stat span { display: block; margin-top: 6px; color: #cfcfcf; font-size: .95rem; line-height: 1.4; }
.about-portal { border: 1px solid var(--border); border-top: 4px solid var(--brand); padding: 20px 22px; }
.about-portal ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 10px; font-size: .97rem; line-height: 1.5; }

.about-topics { border-top: 1px solid var(--border); padding-block: 32px 56px; }
.about-topics h2 { font: 800 1.4rem/1.2 var(--font-heading); margin: 0 0 16px; }
.about-topic-list { display: flex; flex-wrap: wrap; gap: 10px; }
.about-topic { padding: 9px 16px; border: 1px solid var(--border-strong); font: 600 .95rem/1 var(--font-heading); color: var(--text); text-decoration: none; }
.about-topic:hover, .about-topic:focus-visible { background: #000; border-color: #000; color: #fff; }

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-side { position: static; }
}
@media (max-width: 620px) {
  .about-hero-inner { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .about-avatar { width: 112px; height: 112px; }
  .about-avatar span { font-size: 38px; }
}

/* News archive: grouped by month, newest first */
.month-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.month-jump a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border: 1px solid #000; font: 700 .85rem/1 var(--font-heading); color: #000; text-decoration: none; }
.month-jump a:hover { background: #000; color: #fff; }
.month-jump a span { font-weight: 400; opacity: .7; }
.month-group { scroll-margin-top: 80px; }
.month-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 14px; padding-top: 10px; border-top: 3px solid #000; font: 800 1.5rem/1.2 var(--font-heading); }
.month-head span { font: 400 .9rem/1 var(--font-body, inherit); color: #555; }

/* ---- About Me landing ("/") ---- */
.about-hero { padding-block: 40px 32px; }
.about-hero-inner { align-items: start; }
.about-intro { max-width: 70ch; }
.about-intro .about-bio { margin-top: 14px; }
.about-more { margin-top: 4px; }
.about-more > summary { list-style: none; display: flex; justify-content: flex-end; cursor: pointer; }
.about-more > summary::-webkit-details-marker { display: none; }
.about-more > summary span { font: 700 .9rem/1 var(--font-heading); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); padding: 6px 0; border-bottom: 2px solid currentColor; }
.about-more > summary span::after { content: " ▾"; }
.about-more .less-label, .about-more[open] .more-label { display: none; }
.about-more[open] .less-label { display: inline; }
.about-more[open] .less-label::after { content: " ▴"; }
.about-more[open] > summary { order: 2; }
.about-more[open] { display: flex; flex-direction: column; }
.about-more .about-body { margin-top: 10px; max-width: none; }
.about-more .about-body h2:first-child { margin-top: .6rem; }

.about-glance { background: #000; color: #fff; border-top: 4px solid var(--emerald); }
.about-glance-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-glance .about-stat { padding: 20px 22px; border-top: 0; border-left: 1px solid #2a2a2a; }
.about-glance .about-stat:first-child { border-left: 0; padding-left: 0; }
.about-glance .about-stat b { font-size: 2rem; }

.built { padding-block: 36px 12px; }
.built-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.built-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border: 1px solid var(--border); border-top: 4px solid #000; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.built-card:hover, .built-card:focus-visible { border-top-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.built-n { position: absolute; top: 16px; right: 20px; font: 800 2.4rem/1 var(--font-heading); color: var(--border); }
.built-tag { align-self: flex-start; font: 700 11px/1 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; background: var(--surface-3); color: var(--text); }
.built-tag.is-live { background: var(--emerald-soft); color: var(--emerald); }
.built-card h3 { margin: 4px 0 0; font: 800 1.45rem/1.15 var(--font-heading); }
.built-card p { margin: 0; color: var(--text-muted); line-height: 1.55; flex: 1; }
.built-meta { font: 600 .85rem/1.2 var(--font-heading); color: #555; }
.built-cta { font: 700 .95rem/1 var(--font-heading); color: var(--accent); margin-top: 4px; }

.about-latest { padding-block: 24px 48px; }
.insight-rows { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--border); }
.insight-rows li { border-bottom: 1px solid var(--border); }
.insight-rows a { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 20px; row-gap: 4px; padding: 16px 0; color: var(--text); text-decoration: none; }
.insight-rows a:hover .insight-row-title { color: var(--accent); }
.insight-rows time { grid-row: span 3; font: 600 .85rem/1.4 var(--font-heading); color: #666; text-transform: uppercase; letter-spacing: .04em; }
.insight-row-title { font: 800 1.25rem/1.25 var(--font-heading); }
.insight-row-excerpt { color: var(--text-muted); line-height: 1.5; }
.insight-row-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.insights-hero p a { color: inherit; text-decoration: underline; }
.insights-empty { padding: 24px 0 56px; color: var(--text-muted); }
.agentic-byline.is-human { color: var(--emerald); }

@media (max-width: 900px) {
  .built-grid { grid-template-columns: 1fr; }
  .about-glance-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-glance .about-stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .about-hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .about-avatar { width: 112px; height: 112px; }
  .insight-rows a { grid-template-columns: 1fr; }
  .insight-rows time { grid-row: auto; }
}

/* Insight picture credit */
figure.article-hero-cover { margin: 0; }
.photo-credit { margin-top: 6px; font: 400 .82rem/1.4 var(--font-body); color: var(--text-muted); text-align: right; }
.photo-credit a { color: inherit; text-decoration: underline; }
.insight-row-read { display: block; margin-top: 2px; font-weight: 400; color: #888; letter-spacing: .02em; }
/* Four tiles: LinkedIn sits before GitHub */
.built-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.built-card h3 { font-size: 1.3rem; }
@media (max-width: 1100px) { .built-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .built-grid { grid-template-columns: 1fr; } }
/* Header: keep every menu label on one line ("Agentic News Portal", "Dashboard (17)") */
.nav-link { white-space: nowrap; padding-inline: .7rem; }
@media (max-width: 1280px) { .nav-link { padding-inline: .5rem; font-size: .8rem; } }
