/* ============================================================
   PORTFOLIO — Terminal/Editor aesthetic
   ============================================================ */

:root {
  /* dark (default) — Ayu-mirage-inspired */
  --bg:            #0b0f14;
  --bg-elev:       #11161e;
  --bg-elev-2:     #161c26;
  --surface:       #0f141b;
  --border:        #1f2733;
  --border-strong: #2a3444;
  --fg:            #cbd5e1;
  --fg-dim:        #8a95a5;
  --fg-muted:      #5a6778;
  --fg-bright:     #e6edf3;
  --accent:        #5ccfe6;
  --accent-2:      #95e6cb;
  --accent-3:      #ffcc66;
  --danger:        #f28779;
  --violet:        #d4bfff;

  /* type */
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;

  --shadow: 0 1px 0 rgba(255,255,255,0.02) inset, 0 0 0 1px var(--border);
}

html[data-theme="light"] {
  --bg:            #fbf7ec;
  --bg-elev:       #f5efdf;
  --bg-elev-2:     #ede6d3;
  --surface:       #fdfaf1;
  --border:        #e3d9bf;
  --border-strong: #c9bd9e;
  --fg:            #3d4043;
  --fg-dim:        #6c7075;
  --fg-muted:      #8d9198;
  --fg-bright:     #1f2328;
  --accent:        #3a91c6;
  --accent-2:      #4eae5c;
  --accent-3:      #cf8f1f;
  --danger:        #c24b3a;
  --violet:        #8458b3;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* subtle grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at top, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 20%, transparent 70%);
  z-index: 0;
}

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

code, .mono { font-family: var(--mono); }

/* ============== Layout ============== */

.shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.main {
  min-width: 0;
  padding: 0 56px 40px;
  border-left: 1px solid var(--border);
}

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .main { padding: 0 24px 32px; border-left: none; }
}

/* ============== Sidebar ============== */

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--border);
}

@media (max-width: 960px) {
  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 24px;
    gap: 16px;
  }
  .sidebar .sidebar-nav,
  .sidebar .sidebar-footer { display: none; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: -0.01em;
}
.brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}
.brand .name { color: var(--fg-bright); font-weight: 600; }
.brand .sep { color: var(--fg-muted); }
.brand .tag { color: var(--fg-dim); }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: 13px;
  transition: all 0.15s;
}
.sidebar-nav a:hover {
  background: var(--bg-elev);
  color: var(--fg-bright);
  text-decoration: none;
}
.sidebar-nav a.active {
  background: var(--bg-elev);
  color: var(--accent);
}
.sidebar-nav a .idx {
  color: var(--fg-muted);
  font-size: 11px;
  width: 22px;
}
.sidebar-nav a .chev {
  margin-left: auto;
  color: var(--fg-muted);
  opacity: 0;
  transition: opacity 0.15s;
}
.sidebar-nav a:hover .chev,
.sidebar-nav a.active .chev { opacity: 1; color: var(--accent); }

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
}
.sidebar-footer .row {
  display: flex; justify-content: space-between;
  padding: 2px 0;
}
.sidebar-footer .row b { color: var(--fg-dim); font-weight: 500; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px;
  background: color-mix(in oklch, var(--accent-2) 12%, transparent);
  color: var(--accent-2);
  border-radius: 4px;
  font-weight: 500;
}
.status-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-2); }
  50% { opacity: 0.6; box-shadow: 0 0 0 4px transparent; }
}

.socials {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.socials a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg-dim);
  transition: all 0.15s;
  font-size: 14px;
}
.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ============== Section chrome ============== */

section {
  padding: 72px 0 32px;
  scroll-margin-top: 24px;
}
@media (max-width: 960px) {
  section { padding: 48px 0 24px; }
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.section-header .idx { color: var(--accent); }
.section-header .title {
  font-size: 20px;
  color: var(--fg-bright);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-header .path { color: var(--fg-muted); margin-left: auto; }

/* ============== Hero ============== */

.hero {
  padding-top: 56px;
  padding-bottom: 40px;
}
.hero-terminal {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.6);
}
.term-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
}
.term-chrome .dots { display: flex; gap: 6px; margin-right: 10px; }
.term-chrome .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong);
}
.term-chrome .dots span:nth-child(1) { background: #ff6159; }
.term-chrome .dots span:nth-child(2) { background: #ffbd2e; }
.term-chrome .dots span:nth-child(3) { background: #28c941; }
.term-chrome .file { color: var(--fg-dim); }
.term-chrome .meta { margin-left: auto; }

.term-body {
  padding: 28px 32px 32px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.8;
}
.term-line { display: flex; gap: 10px; align-items: baseline; }
.term-line .num { color: var(--fg-muted); width: 22px; text-align: right; user-select: none; flex: none; }
.term-comment { color: var(--fg-muted); }
.term-comment::before { content: '// '; }
.kw { color: var(--violet); }
.fn { color: var(--accent); }
.str { color: var(--accent-2); }
.num-v { color: var(--accent-3); }
.prop { color: var(--fg-bright); }
.punct { color: var(--fg-muted); }

.hero-identity {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding: 32px 32px 8px;
}
@media (max-width: 720px) {
  .hero-identity { grid-template-columns: 1fr; }
}
.hero-name {
  font-family: var(--sans);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg-bright);
  font-weight: 700;
  margin: 0 0 14px;
}
.hero-name em {
  font-style: normal;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.5em;
  vertical-align: middle;
  margin-left: 12px;
  padding: 3px 8px;
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  border-radius: 4px;
  letter-spacing: 0;
}
.hero-role {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--fg-dim);
  margin: 0 0 8px;
}
.hero-role .prompt { color: var(--accent-2); }
.hero-role .typed { color: var(--fg-bright); }
.typed-cursor {
  display: inline-block;
  width: 9px; height: 1.1em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: var(--bg-elev-2);
  position: relative;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-avatar::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg-elev), 0 0 0 4px var(--accent);
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.hero-meta-grid > div {
  background: var(--bg-elev);
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 12px;
}
.hero-meta-grid .k { color: var(--fg-muted); margin-bottom: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-meta-grid .v { color: var(--fg-bright); font-weight: 500; }
.hero-meta-grid .v.accent { color: var(--accent); }
.hero-meta-grid .v.green { color: var(--accent-2); }
@media (max-width: 720px) {
  .hero-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 0 32px 28px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg-bright);
  cursor: pointer;
  transition: all 0.15s;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn.primary:hover {
  background: transparent;
  color: var(--accent);
}
.btn .shortcut {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  opacity: 0.7;
}
.btn .shortcut kbd {
  display: inline-block;
  padding: 1px 5px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom-width: 2px;
  border-radius: 3px;
  font-size: 10px;
  font-family: inherit;
  line-height: 1.4;
}
html[data-theme="light"] .btn .shortcut kbd {
  background: rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.18);
  border-bottom-color: rgba(0,0,0,0.3);
}

/* ============== Stats strip ============== */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
}
.stats-strip > div {
  background: var(--bg);
  padding: 24px 20px;
}
.stats-strip .val {
  font-family: var(--mono);
  font-size: 30px;
  color: var(--fg-bright);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stats-strip .val .suf { color: var(--accent); }
.stats-strip .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ============== About ============== */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
}
.about-prose p {
  margin: 0 0 16px;
  color: var(--fg);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 62ch;
  text-wrap: pretty;
}
.about-prose p:first-of-type::first-letter {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.1em;
  font-weight: 600;
}

.kv-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12.5px;
}
.kv-card .kv-head {
  padding: 10px 16px;
  background: var(--bg-elev-2);
  color: var(--fg-muted);
  font-size: 11px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between;
}
.kv-card .kv-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.kv-card .kv-row:last-child { border-bottom: none; }
.kv-card .kv-row .k { color: var(--accent); }
.kv-card .kv-row .v { color: var(--fg-bright); }

/* ============== Skills ============== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .skills-grid { grid-template-columns: 1fr; } }

.skill-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s;
}
.skill-card:hover { border-color: var(--border-strong); }
.skill-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 14px;
}
.skill-head .ico { font-size: 14px; }
.skill-head .count {
  margin-left: auto;
  color: var(--fg-muted);
  font-size: 11px;
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-chip {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--fg-bright);
  padding: 5px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.15s;
}
.skill-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============== Projects ============== */

.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.project-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.project-card:hover {
  border-color: var(--border-strong);
}
.project-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  user-select: none;
}
.project-head .chev {
  color: var(--fg-muted);
  transition: transform 0.2s;
}
.project-card.open .project-head .chev { transform: rotate(90deg); color: var(--accent); }

.project-head .title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-bright);
  letter-spacing: -0.01em;
}
.project-head .sub {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.project-head .year {
  color: var(--fg-muted);
  font-size: 12px;
}

.project-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 7px;
  background: color-mix(in oklch, var(--accent-2) 14%, transparent);
  color: var(--accent-2);
  border-radius: 3px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor;
}

.project-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(.2,.8,.2,1);
}
.project-body > .inner {
  overflow: hidden;
}
.project-card.open .project-body { grid-template-rows: 1fr; }

.project-content {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
}
@media (max-width: 820px) {
  .project-content { grid-template-columns: 1fr; }
}

.project-tagline {
  font-size: 16px;
  color: var(--fg-bright);
  margin: 0 0 20px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 60ch;
}

.project-block h5 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 8px;
}
.project-block { margin-bottom: 18px; }
.project-block p {
  margin: 0;
  color: var(--fg);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 64ch;
}

.project-impact {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14.5px;
  list-style: none;
  padding: 0; margin: 0;
}
.project-impact li {
  color: var(--fg-bright);
  padding-left: 18px;
  line-height: 1.65;
  position: relative;
}
.project-impact li::before {
  content: '▸'; position: absolute; left: 0; color: var(--accent-2);
}

.project-aside {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  align-self: start;
}
.project-aside .asd-row { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.project-aside .asd-row:last-child { margin-bottom: 0; }
.project-aside .asd-row .k { color: var(--fg-muted); text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em; }
.project-aside .asd-row .v { color: var(--fg-bright); }

.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip {
  padding: 3px 8px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
}

/* ============== Personal builds ============== */

.subsection-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin: 8px 0 14px;
}
.subsection-label + .builds { margin-bottom: 36px; }

.builds { display: flex; flex-direction: column; gap: 18px; }

.build-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.build-shot {
  display: block;
  height: 200px;
  background: var(--bg-elev-2);
  overflow: hidden;
}
.build-shot .build-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.build-shot--empty {
  background: linear-gradient(135deg, var(--bg-elev-2), var(--bg));
}

.build-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 16px 0;
}
.build-meta .ttl {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--accent-3);
  font-size: 15px;
}
.build-meta .blurb {
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.build-links { display: flex; gap: 16px; margin-top: 4px; }
.build-link {
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
}
.build-link.live { color: var(--accent-2); }
.build-link.code { color: var(--fg-muted); }
.build-link:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .build-row { grid-template-columns: 1fr; }
  .build-shot { height: 170px; }
  .build-meta { padding: 0 16px 16px; }
}

/* ============== Experience & Education ============== */

.exp-ed-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) { .exp-ed-grid { grid-template-columns: 1fr; gap: 32px; } }

.exp-col h3, .ed-col h3 {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
}

.exp-item {
  padding: 18px 0 18px 22px;
  border-left: 1px solid var(--border);
  position: relative;
  margin-left: 6px;
}
.exp-item::before {
  content: ''; position: absolute;
  left: -5px; top: 22px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.exp-item + .exp-item { border-top: 1px dashed var(--border); }
.exp-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.exp-role {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-bright);
  letter-spacing: -0.01em;
}
.exp-company { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.exp-period { font-family: var(--mono); font-size: 12px; color: var(--fg-muted); }
.exp-tags { margin: 8px 0 10px; }
.exp-bullets { margin: 0; padding: 0; list-style: none; }
.exp-bullets li {
  position: relative;
  padding: 4px 0 4px 18px;
  color: var(--fg);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 62ch;
}
.exp-bullets li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--fg-muted);
}

.ed-item {
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.ed-item .deg { font-weight: 600; color: var(--fg-bright); font-size: 15px; letter-spacing: -0.01em; }
.ed-item .sch { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 2px; }
.ed-item .per { font-family: var(--mono); font-size: 11px; color: var(--fg-muted); margin-top: 2px; }
.ed-item .nt { font-size: 13px; color: var(--fg-dim); margin-top: 6px; line-height: 1.5; }

.certs {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  margin-top: 18px;
}
.certs .c {
  display: grid; grid-template-columns: 1fr auto;
  padding: 8px 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  gap: 12px;
}
.certs .c .nm { color: var(--fg-bright); }
.certs .c .yr { color: var(--fg-muted); }
.certs .c .is { color: var(--fg-dim); font-size: 11px; grid-column: 1; margin-top: 2px; }

/* ============== Demos ============== */

.demos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.demo-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.demo-head {
  padding: 12px 16px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  display: flex; align-items: center; gap: 10px;
  color: var(--fg-dim);
}
.demo-head .ico {
  color: var(--accent);
  font-size: 11px;
}
.demo-head .tag {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.demo-body { padding: 18px; flex: 1; }
.demo-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin: 0 0 14px;
  line-height: 1.6;
}

/* CV demo canvas */
.cv-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cv-demo canvas.draw {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: crosshair;
  touch-action: none;
}
.cv-pred {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
}
.cv-pred .row { display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: center; }
.cv-pred .row .d { color: var(--fg-muted); text-align: right; }
.cv-pred .row .b {
  height: 6px; background: var(--bg-elev-2); border-radius: 2px; overflow: hidden;
  position: relative;
}
.cv-pred .row .b::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%);
  background: var(--accent); transition: width 0.4s;
}
.cv-pred .row.top .b::after { background: var(--accent-2); }
.cv-pred .row.top .d { color: var(--accent-2); }
.cv-pred .row .p { color: var(--fg-dim); font-size: 10px; min-width: 34px; text-align: right; }
.cv-actions {
  display: flex; gap: 6px;
  grid-column: 1 / -1;
}
.cv-actions .btn { padding: 5px 10px; font-size: 11px; }

/* Predictive maintenance chart */
.pm-chart {
  width: 100%;
  height: 160px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pm-legend {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  margin-top: 10px;
  color: var(--fg-dim);
}
.pm-legend span::before {
  content: ''; display: inline-block; width: 10px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--fg-dim);
}
.pm-legend .hist::before { background: var(--fg-dim); }
.pm-legend .pred::before { background: var(--accent); }
.pm-legend .band::before { background: color-mix(in oklch, var(--accent) 30%, transparent); height: 8px; }
.pm-legend .alarm::before { background: var(--danger); }
.pm-readout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
}
.pm-readout > div {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
}
.pm-readout .k { color: var(--fg-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.pm-readout .v { color: var(--fg-bright); margin-top: 2px; }
.pm-readout .v.warn { color: var(--accent-3); }

/* Terminal playground */
.term-play {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12px;
  padding: 12px 14px;
  min-height: 220px;
  display: flex; flex-direction: column; gap: 2px;
  color: var(--fg-bright);
}
.term-play .out { color: var(--fg-dim); white-space: pre-wrap; }
.term-play .out .v { color: var(--accent-2); }
.term-play .out .k { color: var(--accent); }
.term-play .out .e { color: var(--danger); }
.term-play .in {
  display: flex; gap: 8px; align-items: baseline;
  margin-top: 4px;
}
.term-play .in .prompt { color: var(--accent-2); }
.term-play .in input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--fg-bright);
  font-family: var(--mono);
  font-size: 12px;
  outline: none;
}
.term-suggest {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px;
}
.term-suggest button {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 3px 7px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--fg-dim);
  cursor: pointer;
}
.term-suggest button:hover { color: var(--accent); border-color: var(--accent); }

/* AI Q&A */
.ai-qa {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 28px;
}
.ai-qa .label {
  font-family: var(--mono); font-size: 11px; color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.ai-qa .label::before {
  content: '◆'; color: var(--accent);
}
.ai-qa .prompt-row {
  display: flex; gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  align-items: center;
}
.ai-qa input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: var(--mono); font-size: 13px; color: var(--fg-bright);
}
.ai-qa .go {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 3px;
  background: var(--accent); color: var(--bg); border: none; cursor: pointer;
  font-weight: 600;
}
.ai-qa .go:disabled { opacity: 0.5; cursor: wait; }
.ai-qa .suggestions {
  margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px;
}
.ai-qa .suggestions button {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 9px;
  background: transparent; border: 1px dashed var(--border-strong);
  color: var(--fg-dim); border-radius: 3px; cursor: pointer;
}
.ai-qa .suggestions button:hover { color: var(--accent); border-color: var(--accent); border-style: solid; }
.ai-qa .answer {
  margin-top: 14px;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.6;
  white-space: pre-wrap;
  max-width: 72ch;
}
.ai-qa .answer.loading { color: var(--fg-muted); font-family: var(--mono); font-size: 12px; }

/* ============== Contact ============== */

.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) { .contact-card { grid-template-columns: 1fr; padding: 28px; } }
.contact-card .big {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-bright);
  margin: 0 0 8px;
  line-height: 1.15;
}
.contact-card .big em { font-style: normal; color: var(--accent); font-family: var(--mono); font-weight: 500; }
.contact-card .sub {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 20px;
  max-width: 50ch;
}
.contact-links {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  min-width: 220px;
}
.contact-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg-bright);
  transition: all 0.15s;
}
.contact-links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; transform: translateX(2px); }
.contact-links a .k { color: var(--fg-muted); font-size: 11px; width: 58px; }
.contact-links a .chev { margin-left: auto; color: var(--fg-muted); }
.contact-links a:hover .chev { color: var(--accent); }

/* ============== Footer ============== */

footer.site-footer {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  align-items: center;
}
footer.site-footer .b { color: var(--accent-2); }
@media (max-width: 720px) { footer.site-footer { grid-template-columns: 1fr; } }

/* ============== Photography strip ============== */

.photo-strip {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) {
  .photo-strip { grid-template-columns: 1fr; gap: 20px; }
}
.photo-intro { font-family: var(--mono); }
.photo-quote {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.4;
  color: var(--fg-bright);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.photo-quote em { color: var(--accent); font-style: normal; }
.photo-quote .q { color: var(--fg-muted); }
.photo-sub {
  font-size: 12px;
  color: var(--fg-dim);
  margin: 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
.photo {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: grayscale(0.65) saturate(0.7) brightness(0.9);
}
.photo:hover img,
.photo:focus-visible img {
  transform: scale(1.05);
  filter: grayscale(0) saturate(1.1) brightness(1) !important;
}

/* ============== Reading / Goodreads ============== */

.reading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 940px) {
  .reading { grid-template-columns: 1fr; }
}

/* ----- Now reading card ----- */
.reading-now {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.rn-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11.5px;
  color: var(--fg-dim);
  background: color-mix(in oklch, var(--bg) 50%, var(--bg-elev));
}
.rn-head .ico { color: var(--accent); }
.rn-head .k { color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.rn-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  padding: 20px;
}
@media (max-width: 520px) {
  .rn-body { grid-template-columns: 96px 1fr; gap: 14px; padding: 16px; }
}

/* book cover — placeholder stripes when no image, real cover when backgroundImage is set */
.rn-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklch, var(--accent) 22%, transparent) 0 6px,
      transparent 6px 12px
    ),
    color-mix(in oklch, var(--accent) 8%, var(--bg));
  border: 1px solid var(--border);
  box-shadow:
    -2px 2px 0 0 var(--bg),
    -2px 2px 0 1px var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 14px 10px;
  overflow: hidden;
}
.rn-cover[style*="background-image"] {
  background: none;
  padding: 0;
}
.rn-cover[style*="background-image"] .rn-cover-spine { display: none; }
.rn-cover-spine {
  position: absolute; top: 0; bottom: 0; left: 0; width: 6px;
  background: color-mix(in oklch, var(--accent) 60%, var(--bg));
  border-right: 1px solid var(--border);
}
.rn-cover-title {
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  color: var(--fg-bright);
  line-height: 1.3;
  letter-spacing: 0;
  word-break: break-word;
}

.rn-meta { min-width: 0; }
.rn-title {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--fg-bright);
  margin: 2px 0 4px;
  line-height: 1.25;
}
.rn-author {
  font-family: var(--mono); font-size: 12px;
  color: var(--accent);
  margin: 0 0 12px;
}
.rn-author::before { content: 'by '; color: var(--fg-muted); }
.rn-note {
  font-size: 13.5px; color: var(--fg-dim);
  line-height: 1.55;
  margin: 0 0 16px;
  border-left: 2px solid var(--border);
  padding-left: 10px;
}
.rn-progress { font-family: var(--mono); }
.rn-bar {
  position: relative;
  height: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.rn-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 0.6s ease;
}
.rn-progress-meta {
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 6px;
}
.rn-progress-meta :last-child { color: var(--accent-2); }

/* ----- Side: stats + shelf ----- */
.reading-side { display: grid; gap: 16px; min-width: 0; }

.rs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.rs-stats .stat {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.rs-stats .v {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}
.rs-stats .k {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-top: 6px;
}

.rs-shelf {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.rs-shelf-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.rs-shelf-head .k { color: var(--accent); }
.rs-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
}
.rs-link:hover { color: var(--accent); text-decoration: none; }
.rs-link .chev { color: var(--fg-muted); transition: transform 0.15s; }
.rs-link:hover .chev { color: var(--accent); transform: translateX(2px); }
.rs-updated {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-muted);
  margin-left: auto;
  white-space: nowrap;
}

.rs-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0;
}
.rs-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
}
.rs-item:last-child { border-bottom: none; }
.rs-item .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-align: right;
}
.rs-item .body { min-width: 0; }
.rs-item .t {
  display: block;
  font-size: 13.5px;
  color: var(--fg-bright);
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-item .a {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 1px;
}
.rs-item .stars {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-3);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.rs-item .stars .dim { color: var(--fg-muted); }

/* ============== Theme + Tweaks controls ============== */

.theme-toggle-top {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-bright);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
  backdrop-filter: blur(6px);
}
.theme-toggle-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.theme-toggle-top .ic-sun,
.theme-toggle-top .ic-moon { display: none; }
html[data-theme="dark"] .theme-toggle-top .ic-sun { display: inline-block; }
html[data-theme="light"] .theme-toggle-top .ic-moon { display: inline-block; }
.theme-toggle-label { letter-spacing: 0.02em; }

/* ============== Tweaks controls ============== */

.controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.ctrl-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  color: var(--fg-bright);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.15s;
}
.ctrl-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Tweaks panel */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 320px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  z-index: 101;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  display: none;
}
.tweaks-panel.show { display: block; }
.tweaks-panel .tw-head {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--accent); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px dashed var(--border);
}
.tweaks-panel .tw-head .x { cursor: pointer; color: var(--fg-muted); }
.tweaks-panel .tw-head .x:hover { color: var(--fg-bright); }
.tweaks-panel .tw-row { margin-bottom: 12px; }
.tweaks-panel .tw-row label { color: var(--fg-dim); display: block; margin-bottom: 5px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.tweaks-panel .swatches { display: flex; gap: 6px; }
.tweaks-panel .swatches button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.1s;
}
.tweaks-panel .swatches button.active { border-color: var(--fg-bright); transform: scale(1.1); }
.tweaks-panel .tw-row select, .tweaks-panel .tw-row input[type="range"] {
  width: 100%;
  background: var(--bg);
  color: var(--fg-bright);
  border: 1px solid var(--border);
  padding: 6px 8px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
}
.tweaks-panel .toggle-row {
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel .toggle-row input[type="checkbox"] { accent-color: var(--accent); }

/* ============== Reveal on scroll ============== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* visually hidden */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============== Shortcut legend panel ============== */
.shortcut-legend {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-family: var(--mono);
}
.sl-panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.sl-header {
  font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 7px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.sl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
}
.sl-keys {
  display: inline-flex;
  gap: 2px;
  flex-shrink: 0;
}
.sl-keys kbd {
  display: inline-block;
  padding: 1px 5px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 3px;
  font-size: 10px;
  font-family: var(--mono);
  line-height: 1.5;
  color: var(--fg-dim);
}
.sl-label {
  font-size: 11px;
  color: var(--fg-dim);
}
.sl-toggle {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  padding: 0;
}
.sl-toggle:hover { border-color: var(--accent); color: var(--accent); }
.sl-toggle[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
@media (max-width: 600px) { .shortcut-legend { display: none; } }
