/* ============================================================
   shakelahmed.com - "Netscape '96, remastered"
   Classic browser chrome + web-safe link colors, executed with
   modern type, spacing and motion.
   ============================================================ */

:root {
  /* Classic web */
  --link: #0000ee;
  --visited: #551a8b;
  --navy: #000080;
  --chrome: #c6c6c6;
  --chrome-light: #ffffff;
  --chrome-dark: #7b7b7b;
  --chrome-darker: #3d3d3d;

  /* Modern layer */
  --paper: #f6f4ec;
  --page: #fffdf6;
  --ink: #191817;
  --ink-soft: #55524b;
  --accent: #e33d1f;
  --lcd: #2bff6f;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", sans-serif;
  --pixel: "Silkscreen", monospace;

  --bevel-out: inset 1px 1px 0 var(--chrome-light), inset -1px -1px 0 var(--chrome-darker),
               inset 2px 2px 0 #ececec, inset -2px -2px 0 var(--chrome-dark);
  --bevel-in:  inset 1px 1px 0 var(--chrome-dark), inset -1px -1px 0 var(--chrome-light);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  /* the Windows 95 desktop, dithered */
  background:
    repeating-conic-gradient(rgba(0, 0, 0, 0.07) 0% 25%, transparent 0% 50%) 0 0 / 6px 6px,
    #0b7f7c;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Win95 scrollbar */
html { scrollbar-color: var(--chrome) #a8a8a8; }
::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track {
  background:
    repeating-conic-gradient(#ffffff 0% 25%, #c6c6c6 0% 50%) 0 0 / 2px 2px;
}
::-webkit-scrollbar-thumb {
  background: var(--chrome);
  box-shadow: var(--bevel-out);
}

::selection { background: var(--navy); color: #fff; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

/* ---------- System strip ---------- */
.sysbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 1rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--pixel);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Window chrome ---------- */
.window {
  max-width: 1020px;
  margin: clamp(1.25rem, 4vw, 3.5rem) auto 0;
  background: var(--chrome);
  box-shadow:
    var(--bevel-out),
    12px 14px 0 rgba(25, 24, 23, 0.14);
  padding: 3px;
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 3px;
  padding: 0.3rem 0.55rem;
  background: linear-gradient(90deg, var(--navy), #1084d0);
  color: #fff;
  font-family: var(--pixel);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.titlebar-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.titlebar-btns { display: flex; gap: 3px; }

.tb-btn {
  width: 18px;
  height: 16px;
  display: grid;
  place-items: center;
  background: var(--chrome);
  color: var(--ink);
  box-shadow: var(--bevel-out);
  font-size: 0.55rem;
  line-height: 1;
}

.menubar {
  display: flex;
  gap: 1.1rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--chrome-dark);
}
.menubar span:hover { color: var(--navy); cursor: default; }

/* Navigator 3.0 chrome: toolbar + location left, throbber right, directory row below */
.chrome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: 1px solid var(--chrome-dark);
}

.chrome-main { min-width: 0; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 3px;
  padding: 0.45rem 0.6rem 0.35rem;
}

.tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--pixel);
  font-size: 0.5rem;
  padding: 0.3rem 0.55rem 0.25rem;
  background: var(--chrome);
  box-shadow: var(--bevel-out);
  cursor: default;
  user-select: none;
  min-width: 44px;
}
.tool-btn:active { box-shadow: var(--bevel-in); transform: translate(1px, 1px); }
.tool-btn.dim { color: var(--chrome-dark); }
.tool-btn.dim .tool-ico { color: var(--chrome-dark); }

.tool-ico {
  font-size: 0.8rem;
  line-height: 1;
  color: var(--navy);
}
.tool-ico.stop { color: var(--accent); }

a.tool-btn { color: var(--ink); text-decoration: none; cursor: pointer; }
a.tool-btn:hover { background: #d6d6d6; }

.location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.15rem 0.6rem 0.45rem;
}

.location-label {
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.location-field {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  box-shadow: var(--bevel-in);
  padding: 0.35rem 0.5rem;
  font-family: var(--pixel);
  font-size: 0.6rem;
  color: var(--navy);
}

.loc-drop {
  font-size: 0.5rem;
  padding: 0.35rem 0.3rem;
  background: var(--chrome);
  box-shadow: var(--bevel-out);
  color: var(--ink);
}

.caret {
  display: inline-block;
  width: 6px;
  height: 0.7em;
  background: var(--navy);
  margin-left: 2px;
  vertical-align: -1px;
  animation: blink 1.1s steps(1) infinite;
}

/* The throbber: big N, shooting comet */
.throbber {
  position: relative;
  width: 58px;
  margin: 0.45rem 0.6rem 0.45rem 0.3rem;
  background: linear-gradient(180deg, #000428, var(--navy));
  box-shadow: var(--bevel-in);
  overflow: hidden;
  display: grid;
  place-items: center;
  align-self: stretch;
}

.throbber-n {
  font-family: var(--pixel);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 0 #1084d0;
  z-index: 1;
}

.comet {
  position: absolute;
  top: -4px;
  left: -8px;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: -4px -4px 0 -1px #9fd0ff, -8px -8px 0 -2px #4a90d9;
  animation: comet 1.6s linear 4 forwards;
  opacity: 0;
}

@keyframes comet {
  0% { opacity: 1; transform: translate(0, 0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translate(70px, 62px); }
}

.throbber .star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #9fd0ff;
  animation: blink 1.3s steps(1) 5;
}
.throbber .s1 { top: 10px; left: 10px; }
.throbber .s2 { top: 34px; left: 44px; animation-delay: 0.4s; }
.throbber .s3 { top: 20px; left: 30px; animation-delay: 0.8s; }

/* Directory buttons: the '96 row, repurposed as real navigation */
.dirbar {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 0.35rem 0.6rem 0.45rem;
  border-top: 1px solid var(--chrome-light);
  grid-column: 1 / -1;
}

.dir-btn {
  font-family: var(--pixel);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem 0.3rem;
  background: var(--chrome);
  box-shadow: var(--bevel-out);
  color: var(--navy);
  text-decoration: none;
}
.dir-btn:hover { background: #d6d6d6; }
.dir-btn:active { box-shadow: var(--bevel-in); transform: translate(1px, 1px); }

/* ---------- Page ---------- */
.page {
  background: var(--page);
  box-shadow: var(--bevel-in);
  margin: 0 3px;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem) clamp(2rem, 5vw, 3.5rem);
}

/* Links: classic blue, modern manners */
.page a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}
.page a:visited { color: var(--visited); }
.page a:hover { background: var(--link); color: #fff; text-decoration: none; }
.page a:visited:hover { background: var(--visited); }
.page a:focus-visible { outline: 2px dotted var(--navy); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.kicker {
  font-family: var(--pixel);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}

.fullstop { color: var(--accent); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 1.75rem;
}
.lede em { font-family: var(--serif); font-size: 1.12em; color: var(--ink); }

.hero-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn-95 {
  display: inline-block;
  font-family: var(--pixel);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 1rem 0.6rem;
  background: var(--chrome);
  box-shadow: var(--bevel-out);
  color: var(--ink) !important;
  text-decoration: none;
}
.btn-95:hover { background: #d6d6d6; color: var(--ink) !important; }
.btn-95:active { box-shadow: var(--bevel-in); transform: translate(1px, 1px); }

/* Portrait placeholder, dithered like a 1-bit GIF */
.portrait { text-align: center; }

.portrait-frame {
  background: var(--chrome);
  padding: 6px;
  box-shadow: var(--bevel-out);
  display: inline-block;
  transform: rotate(1.5deg);
}

.portrait-photo {
  display: block;
  width: clamp(150px, 22vw, 220px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait figcaption {
  margin-top: 0.6rem;
  font-family: var(--pixel);
  font-size: 0.52rem;
  color: var(--ink-soft);
}

.hero-solo { grid-template-columns: minmax(0, 1fr); }

/* ---------- Bio cards ---------- */
.bio-card {
  max-width: 620px;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: 4px 4px 0 rgba(25, 24, 23, 0.12);
}

.bio-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  font-family: var(--pixel);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.copy-btn {
  font-family: var(--pixel);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.7rem 0.4rem;
  background: var(--chrome);
  border: none;
  box-shadow: var(--bevel-out);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.copy-btn:hover { background: #d6d6d6; }
.copy-btn:active { box-shadow: var(--bevel-in); transform: translate(1px, 1px); }

.bio-text { padding: 1rem 1.2rem 0.2rem; }
.bio-text p { max-width: none; }

.headshot-frame { max-width: 320px; }

.colophon-link { color: rgba(255, 255, 255, 0.85); }
.colophon-link:hover { color: #fff; }

/* ---------- Rules & sections ---------- */
.rule {
  border: none;
  border-top: 2px groove var(--chrome-light);
  margin: clamp(2rem, 5vw, 3.25rem) 0;
}

.section {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}

.section-label { padding-top: 0.4rem; }

.pixel-chip {
  display: inline-block;
  font-family: var(--pixel);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 0.35rem 0.5rem;
  background: #fff;
  box-shadow: 3px 3px 0 var(--navy);
  white-space: nowrap;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}

.section-body p {
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 1rem;
  color: var(--ink-soft);
}
.section-body p strong { color: var(--ink); }

/* ---------- Now table ---------- */
.now-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(25, 24, 23, 0.12);
}

.now-table th,
.now-table td {
  border: 1px solid var(--ink);
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

.now-table th {
  font-family: var(--pixel);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--navy);
  white-space: nowrap;
  width: 1%;
}

.now-table td { line-height: 1.55; color: var(--ink-soft); }

/* ---------- FAQ dialogs ---------- */
.dialog {
  border: 1px solid var(--ink);
  background: #fff;
  margin-bottom: 0.8rem;
  box-shadow: 4px 4px 0 rgba(25, 24, 23, 0.12);
  max-width: 620px;
}

.dialog summary {
  cursor: pointer;
  list-style: none;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  user-select: none;
}
.dialog summary::-webkit-details-marker { display: none; }

.dialog summary::before {
  content: "▸";
  font-family: var(--pixel);
  color: var(--accent);
  transition: transform 0.15s ease;
}
.dialog[open] summary::before { transform: rotate(90deg); }
.dialog[open] summary { border-bottom: 1px dashed var(--chrome-dark); }

.dialog summary:hover { background: var(--paper); }

.dialog p {
  padding: 0.9rem 1rem 1rem 2.2rem;
  margin: 0;
  max-width: none;
}

/* ---------- Speaking ---------- */
.talk-photo { margin: 1.5rem 0 1.75rem; }

.talk-frame {
  background: var(--chrome);
  padding: 6px;
  box-shadow: var(--bevel-out);
  display: inline-block;
  max-width: 620px;
}

.talk-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.talk-photo figcaption {
  margin-top: 0.6rem;
  font-family: var(--pixel);
  font-size: 0.52rem;
  color: var(--ink-soft);
}

.quote {
  max-width: 620px;
  margin: 0 0 1rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-left: 4px solid var(--navy);
  border-top: 1px solid var(--chrome-dark);
  border-right: 1px solid var(--chrome-dark);
  border-bottom: 1px solid var(--chrome-dark);
  box-shadow: 4px 4px 0 rgba(25, 24, 23, 0.12);
}

.quote p {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 0.5rem;
  max-width: none;
}

.quote cite {
  font-family: var(--pixel);
  font-style: normal;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ---------- Press list ---------- */
.press-list {
  list-style: none;
  max-width: 620px;
}

.press-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--chrome-dark);
}
.press-list li:first-child { border-top: 1px dashed var(--chrome-dark); }

.press-tag {
  flex-shrink: 0;
  font-family: var(--pixel);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border: 1px solid var(--chrome-dark);
  background: #fff;
  padding: 0.25rem 0.4rem;
  margin-top: 0.15rem;
  min-width: 52px;
  text-align: center;
}

.press-tag-byline {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.press-tag-guide {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.press-tag-tool {
  color: #fff;
  background: #1c6b3c;
  border-color: #1c6b3c;
}

.press-sub {
  font-family: var(--pixel);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.6rem 0 0.2rem;
}
.press-sub:first-of-type { margin-top: 0.4rem; }

.press-item { display: flex; flex-direction: column; gap: 0.3rem; }

.press-item a { font-size: 1.02rem; line-height: 1.45; }

.press-meta {
  font-family: var(--pixel);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.4rem 1.2rem;
  margin-top: 1.4rem;
}

.gallery-item a {
  display: block;
  background: var(--chrome);
  padding: 5px;
  box-shadow: var(--bevel-out), 5px 6px 0 rgba(25, 24, 23, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-item:nth-child(odd) a { transform: rotate(-1.2deg); }
.gallery-item:nth-child(even) a { transform: rotate(1.2deg); }

.gallery-item a:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: var(--bevel-out), 7px 9px 0 rgba(25, 24, 23, 0.18);
  background: var(--chrome);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-item figcaption {
  margin-top: 0.55rem;
  font-family: var(--pixel);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Badges (88×31, forever) ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 2rem;
}

.badge {
  width: 106px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-family: var(--pixel);
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(25, 24, 23, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  text-align: center;
  line-height: 1.3;
}

a.badge:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(25, 24, 23, 0.35);
  background-image: none;
}

.badge-linkedin { background: var(--navy); color: #fff !important; }
.badge-linkedin .badge-bottom { color: #9fd0ff; }

.badge-cyber { background: #1a0a2e; color: #ff7edb !important; }
.badge-cyber .badge-bottom { color: #7df9ff; }

.badge-github { background: #0d1117; color: #e6edf3 !important; }
.badge-github .badge-bottom { color: #58a6ff; }

.badge-blog { background: var(--accent); color: #fff !important; }
.badge-blog .badge-bottom { color: #ffd9cf; }

.badge-any { background: #fff; color: var(--ink); }
.badge-any .badge-top { color: var(--accent); }

.badge-netscape { background: linear-gradient(180deg, #000428, var(--navy)); color: #fff; }
.badge-netscape .badge-bottom { color: #9fd0ff; }

.badge-speaker { background: #fff; color: var(--ink); }
.badge-speaker .badge-top { color: var(--navy); }
.badge-speaker .badge-bottom { color: var(--accent); }

/* ---------- Hit counter ---------- */
.counter {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.counter-label {
  font-family: var(--pixel);
  font-size: 0.58rem;
  color: var(--ink-soft);
}

.counter-digits {
  display: inline-flex;
  gap: 2px;
  background: var(--ink);
  padding: 4px;
  box-shadow: var(--bevel-in);
}

.counter-digits span {
  font-family: var(--pixel);
  font-size: 0.85rem;
  color: var(--lcd);
  background: #041007;
  padding: 0.2rem 0.35rem;
  text-shadow: 0 0 6px rgba(43, 255, 111, 0.7);
}

/* ---------- Status bar ---------- */
.statusbar {
  display: flex;
  gap: 3px;
  margin: 3px;
  font-family: var(--pixel);
  font-size: 0.52rem;
  color: var(--ink-soft);
}

.status-cell {
  padding: 0.3rem 0.6rem;
  box-shadow: var(--bevel-in);
  white-space: nowrap;
}
.status-cell.grow { flex: 1; }

.progress-cell {
  width: 110px;
  padding: 3px;
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  min-height: 10px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--navy) 0 8px, #1084d0 8px 10px);
  transform-origin: left;
  animation: progressFill 2.2s steps(12) forwards;
}

@keyframes progressFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Footer ---------- */
.footer { margin-top: clamp(2rem, 5vw, 3.5rem); }

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--pixel);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.55rem 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.colophon {
  text-align: center;
  font-family: var(--pixel);
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  padding: 1.4rem 1rem 2rem;
  letter-spacing: 0.06em;
}

.nowrap { white-space: nowrap; }

/* ---------- Load reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.r1 { animation-delay: 0.05s; }
.r2 { animation-delay: 0.15s; }
.r3 { animation-delay: 0.3s; }
.r4 { animation-delay: 0.45s; }

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .portrait { order: -1; text-align: left; }
  .section { grid-template-columns: 1fr; gap: 0.9rem; }
  .sysbar-right { display: none; }
  .menubar span:nth-child(n+6) { display: none; }
  .hide-sm { display: none; }
  .throbber { width: 44px; }
  .dirbar a:nth-child(n+5) { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; padding-left: 1rem; }
  .blink, .caret, .comet, .throbber .star { animation: none; }
  .progress-fill { animation: none; }
}
