/* =================================================================
   Jose Maldonado — Portfolio (dark "developer console" theme)
   -----------------------------------------------------------------
   Beginner notes:
   - All colors / fonts live in :root below. Change them once there.
   - The look is a dark IDE / ops-dashboard aesthetic: monospace
     "chrome" (labels, prompts, ids), a terminal hero, status dots,
     and a CI-style pipeline. Green is used ONLY for real "status: ok"
     meaning, not as decoration.
   ================================================================= */

/* ---------- 1. Design tokens (edit these to re-theme) ---------- */
:root {
  /* Backgrounds (dark slate) */
  --bg:      #0a0f1a;   /* base background          */
  --bg-2:    #0c1320;   /* alternate section        */
  --panel:   #0f1828;   /* cards / panels           */
  --panel-2: #111c2f;   /* raised panel             */
  --line:    #1d2940;   /* hairline borders         */
  --line-2:  #2a3a57;   /* brighter border on hover */

  /* Text */
  --text:   #e6edf6;    /* main text                */
  --muted:  #93a4bf;    /* secondary text           */
  --dim:    #62748e;    /* faint text               */

  /* Accents */
  --accent:   #38bdf8;  /* cyan-blue (primary signal) */
  --accent-2: #3b82f6;  /* deeper blue (buttons)      */
  --accent-3: #818cf8;  /* soft indigo (sparingly)    */
  --ok:       #34d399;  /* status: operational (green = meaning) */
  --build:    #fbbf24;  /* status: building/pending   */
  --accent-soft: rgba(56, 189, 248, .12);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --maxw: 1080px;
  --radius: 12px;
  --glow: 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, .45);
}

/* ---------- 2. Base / reset ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #7dd3fc; }

::selection { background: rgba(56, 189, 248, .28); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* ---------- 3. Navigation (app title-bar style) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 26, .82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 14px; }
.nav__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}
.nav__prompt { color: var(--text); font-weight: 500; }
.nav__path { color: var(--accent); }

.nav__menu { display: flex; gap: 2px; }
.nav__link {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 13.5px;
  padding: 8px 11px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); background: var(--panel); }
.nav__link.is-active { color: var(--accent); }
.nav__link.is-active::before { content: "› "; color: var(--accent); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 38px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--text); transition: transform .25s ease, opacity .25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 4. Shared section styles ---------- */
.section { padding: 92px 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--intro { padding-top: 76px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .3px;
  color: var(--accent);
  margin: 0 0 16px;
}

.section__title {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.5px;
  margin-bottom: 18px;
  color: var(--text);
}
.section__lead { color: var(--muted); font-size: 1.07rem; max-width: 70ch; margin-bottom: 36px; }

/* ---------- 5. Hero + terminal ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 18% -10%, rgba(56, 189, 248, .10), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(129, 140, 248, .08), transparent 55%),
    var(--bg);
  padding: 104px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__inner { position: relative; z-index: 1; }

/* terminal window */
.terminal {
  max-width: 720px;
  background: linear-gradient(180deg, #0d1626, #0b1220);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--glow);
  overflow: hidden;
  margin-bottom: 40px;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #0a1120;
  border-bottom: 1px solid var(--line);
}
.tdot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.tdot--r { background: #ff5f56; }
.tdot--y { background: #ffbd2e; }
.tdot--g { background: #27c93f; }
.terminal__title { margin-left: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); }

.terminal__body { padding: 20px 20px 22px; font-family: var(--font-mono); font-size: 14.5px; line-height: 1.85; }
.tline, .tout { margin: 0; }
.prompt { color: var(--ok); margin-right: 8px; }
.cmd { color: var(--text); }
.tout { color: var(--muted); }
.tout--accent { color: var(--accent); }
.ok { color: var(--ok); }
.cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

.hero__name {
  font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 10px;
}
.hero__tagline { font-family: var(--font-display); font-size: clamp(1rem, .85rem + .9vw, 1.3rem); font-weight: 500; color: var(--muted); margin-bottom: 34px; }
.pipe { color: var(--accent); margin: 0 6px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn__sym { font-size: 13px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }
.btn--primary:hover { background: #2f6fe0; box-shadow: 0 8px 24px rgba(59, 130, 246, .35); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: #7dd3fc; }

/* ---------- 7. Intro ---------- */
.intro__lead { max-width: 72ch; font-size: 1.1rem; color: var(--text); margin-bottom: 46px; }
.intro__lead p { margin-bottom: 1.2rem; }

/* ---------- 8. Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.status--on    { background: var(--ok);    box-shadow: 0 0 8px var(--ok); }
.status--build { background: var(--build); box-shadow: 0 0 8px var(--build); }
.card__title { font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.card__body { color: var(--muted); margin: 0; font-size: .97rem; }
.card__more { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.card--link { display: block; color: inherit; }
.card--link:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(56, 189, 248, .12); }
.preview { margin-top: 6px; }

/* ---------- 9. Resume file card ---------- */
.filecard {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.filecard__icon {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 14px 12px;
  background: var(--accent-soft);
}
.filecard__info { display: flex; flex-direction: column; gap: 3px; flex: 1 1 220px; }
.filecard__name { font-family: var(--font-mono); font-weight: 500; color: var(--text); }
.filecard__meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); }
.filecard__btn { flex: none; }

/* ---------- 10. How I Work ---------- */
.prose { max-width: 74ch; }
.prose p { color: var(--text); margin-bottom: 1.2rem; }
.subhead { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; color: var(--accent); margin: 42px 0 18px; }

/* task list (markdown [x] style) */
.tasklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; max-width: 840px; }
.tasklist li { position: relative; padding-left: 30px; color: var(--text); font-family: var(--font-mono); font-size: .92rem; }
.tasklist li::before {
  content: "[x]";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-family: var(--font-mono);
  font-size: .9rem;
}

/* CI-style pipeline (real ordered steps) */
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px; }
.pipeline__stage {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 500;
  color: var(--text);
  font-size: .96rem;
}
.pipeline__num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-right: 10px; }
/* connector arrows between stages on wide screens */
.pipeline__stage:not(:nth-child(3n))::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--line-2);
  font-family: var(--font-mono);
  z-index: 1;
}

/* ---------- 11. Applied Technology ---------- */
.taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 40px; }
.taglist li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 14px;
}

.project { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: flex; flex-direction: column; }
.project:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 12px 34px rgba(0, 0, 0, .5); }

.project__image {
  height: 184px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(56,189,248,.04), rgba(56,189,248,.04)),
    repeating-linear-gradient(0deg,  #0b1322 0 22px, #0d1729 22px 23px),
    repeating-linear-gradient(90deg, #0b1322 0 22px, #0d1729 22px 23px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project__image::after { /* drafting corner mark */
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  opacity: .6;
}
.project__scan { /* moving scan line */
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.7), transparent);
  animation: scan 3.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 8%; opacity: .25; } 50% { top: 92%; opacity: .8; } }
.project__imagelabel { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 13px; color: var(--muted); background: rgba(10, 16, 28, .7); padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); }
.project__body { padding: 22px; }

/* ---------- 12. Contact ---------- */
.section--contact {
  background:
    radial-gradient(800px 420px at 80% 0%, rgba(56,189,248,.08), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.contact__links { display: flex; flex-wrap: wrap; gap: 16px; }
.contact__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 270px;
  transition: border-color .2s ease, transform .15s ease;
}
.contact__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact__label { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }
.contact__value { font-family: var(--font-mono); font-size: 1.02rem; color: #fff; }

/* ---------- 13. Footer ---------- */
.footer { background: #070b13; border-top: 1px solid var(--line); padding: 26px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; justify-content: space-between; font-family: var(--font-mono); font-size: 12.5px; }
.footer__brand { color: var(--text); }
.footer__meta { color: var(--dim); }
.footer__top { color: var(--accent); }

/* ---------- 14. Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline__stage:not(:nth-child(3n))::after { content: none; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 62px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { padding: 12px 8px; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .tasklist { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline__stage::after { content: none !important; }
  .section { padding: 64px 0; }
  .hero { padding: 76px 0 68px; }
  .terminal__body { font-size: 13px; }
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card--link:hover, .project:hover, .contact__item:hover { transform: none; }
  .cursor { animation: none; }
  .project__scan { animation: none; opacity: .4; top: 50%; }
}

/* Keyboard focus visible for everyone tabbing through */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =================================================================
   EXPANSION COMPONENTS (about snapshot, metrics, timeline, stack,
   collaborate, faq, split contact, hero routing)
   ================================================================= */

/* ---------- Hero audience routing line ---------- */
.hero__route { margin-top: 22px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.hero__route a { color: var(--accent); }
.hero__route-sep { margin: 0 10px; color: var(--line-2); }
@media (max-width: 560px) {
  .hero__route-sep { display: none; }
  .hero__route-item { display: block; margin-top: 6px; }
}

/* ---------- Profile snapshot (Get-Profile readout) ---------- */
.profile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 8px 0 28px;
  max-width: 760px;
}
.profile__head {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  padding: 12px 18px;
  background: #0a1120;
  border-bottom: 1px solid var(--line);
}
.profile__head .prompt { color: var(--ok); margin-right: 8px; }
.profile__grid { padding: 8px 0; }
.profile__row { display: flex; gap: 16px; padding: 9px 18px; border-bottom: 1px dashed var(--line); }
.profile__row:last-child { border-bottom: 0; }
.profile__key { font-family: var(--font-mono); font-size: 13px; color: var(--accent); min-width: 116px; flex: none; }
.profile__val { font-family: var(--font-mono); font-size: 13.5px; color: var(--text); }
.profile__val .status { margin-right: 6px; }
@media (max-width: 560px) {
  .profile__row { flex-direction: column; gap: 2px; }
  .profile__key { min-width: 0; }
}

/* ---------- Quick metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 44px; }
.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 18px 18px;
}
.metric__big { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1.1; }
.metric__label { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }
@media (max-width: 720px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .metrics { grid-template-columns: 1fr; } }

/* ---------- Experience timeline (changelog style) ---------- */
.timeline { list-style: none; margin: 0 0 8px; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding: 0 0 30px 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--accent); box-shadow: 0 0 10px rgba(56,189,248,.4); }
.timeline__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.timeline__tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; }
.timeline__title { font-size: 1.12rem; font-weight: 600; color: var(--text); }
.timeline__meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); margin: 0 0 10px; }
.timeline__list { margin: 0; padding-left: 18px; color: var(--muted); }
.timeline__list li { margin-bottom: 6px; }

/* ---------- Skills stack ---------- */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stackcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .18s ease, transform .18s ease; }
.stackcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.stackcard__title { font-size: 1.08rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--font-mono); font-size: 12px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 7px; padding: 5px 10px; }
@media (max-width: 860px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stack { grid-template-columns: 1fr; } }

/* ---------- Collaborate cards ---------- */
.collabcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .18s ease, transform .18s ease; display: flex; flex-direction: column; }
.collabcard:hover { border-color: var(--accent); transform: translateY(-3px); }
.collabcard__icon { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.collabcard__cta { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-top: 14px; align-self: flex-start; }

/* ---------- FAQ (accessible <details>) ---------- */
.faq { max-width: 820px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--line); background: var(--panel); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 20px; font-family: var(--font-mono); font-size: .95rem; color: var(--text); display: flex; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "+"; color: var(--accent); font-weight: 700; width: 14px; flex: none; }
.faq__item[open] summary::before { content: "–"; }
.faq__item summary:hover { color: var(--accent); }
.faq__item p { margin: 0; padding: 0 20px 18px 46px; color: var(--muted); }

/* ---------- Split contact cards ---------- */
.contact2 { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact2__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.section--contact .contact__links { margin-top: 28px; }


/* ---------- About: portrait + intro two-column ---------- */
.about__top { display:flex; gap:40px; align-items:flex-start; margin-bottom:8px; }
.about__top .intro__lead { margin-bottom:0; flex:1 1 auto; }
.portrait { margin:0; flex:0 0 280px; max-width:280px; position:relative; }
.portrait img {
  width:100%; height:auto; display:block; border-radius:var(--radius);
  border:1px solid var(--line-2);
  box-shadow:0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(56,189,248,.06);
}
.portrait figcaption {
  font-family:var(--font-mono); font-size:12.5px; color:var(--muted);
  margin-top:12px; display:flex; align-items:center; gap:8px;
}
@media (max-width: 760px) {
  .about__top { flex-direction:column-reverse; gap:26px; align-items:stretch; }
  .portrait { flex-basis:auto; max-width:260px; margin:0 auto; }
  .portrait figcaption { justify-content:center; }
}
