/*
Theme Name:  LimonLab Theme
Theme URI:   https://limonlab.online
Author:      Limon Uddin
Description: Custom standalone theme for LimonLab. No parent theme.
Version:     1.0.0
Text Domain: limonlab-theme
*/

:root {
  --white:       #ffffff;
  --off:         #f6f7fb;
  --surface:     #eef0f8;
  --ink:         #0d1224;
  --muted:       #6b7280;
  --border:      #e2e5f0;
  --indigo:      #4338ca;
  --indigo-dk:   #3730a3;
  --indigo-lt:   #ede9fe;
  --indigo-bd:   #c7d2fe;
  --amber:       #f59e0b;
  --amber-lt:    #fef3c7;
  --amber-bd:    #fde68a;
  --teal:        #0d9488;
  --teal-lt:     #ccfbf1;
  --teal-bd:     #99f6e4;
  --rose:        #e11d48;
  --rose-lt:     #ffe4e6;
  --lime:        #65a30d;
  --lime-lt:     #ecfccb;
  --radius:      14px;
  --radius-sm:   8px;
  --radius-pill: 50px;
  --shadow:      0 2px 16px rgba(13,18,36,.08);
  --shadow-md:   0 4px 24px rgba(13,18,36,.11);
  --shadow-lg:   0 8px 40px rgba(13,18,36,.14);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --nav-h: 64px;
  --content-max: 1280px;
  --content-pad: clamp(1rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { font-size: .95rem; color: var(--muted); line-height: 1.7; }

.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}
.section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--tinted { background: var(--off); }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.section-title { color: var(--ink); }
.section-title span { color: var(--indigo); }
.see-all {
  font-size: .85rem; font-weight: 600; color: var(--indigo);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.see-all:hover { gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--indigo); color: #fff;
  box-shadow: 0 4px 18px rgba(67,56,202,.35);
}
.btn-primary:hover { background: var(--indigo-dk); box-shadow: 0 6px 26px rgba(67,56,202,.45); }
.btn-outline { border: 1.5px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--indigo); background: var(--indigo-lt); }

.tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 3px 9px; border-radius: 4px;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 600; border: 1.5px solid;
  transition: transform .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.tag--indigo { background: var(--indigo-lt); color: var(--indigo); }
.tag--amber  { background: var(--amber-lt);  color: var(--amber); }
.tag--teal   { background: var(--teal-lt);   color: var(--teal); }
.tag--rose   { background: var(--rose-lt);   color: var(--rose); }
.tag--lime   { background: var(--lime-lt);   color: var(--lime); }

#site-header {
  position: sticky; top: 0; z-index: 200; height: var(--nav-h);
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
#site-header .container {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem;
  color: var(--ink); flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px; background: var(--indigo);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
  box-shadow: 0 3px 12px rgba(67,56,202,.35); flex-shrink: 0;
}
.logo-text .accent { color: var(--indigo); }
#primary-menu { display: flex; align-items: center; gap: 1.75rem; }
#primary-menu a { font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .2s; }
#primary-menu a:hover, #primary-menu .current-menu-item a { color: var(--ink); }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; padding: 4px;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-open #primary-menu {
  display: flex; flex-direction: column; align-items: flex-start;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--content-pad); gap: 1rem;
  box-shadow: var(--shadow-md); z-index: 199;
}

.ticker-bar {
  background: var(--ink); color: #fff;
  padding: .65rem var(--content-pad);
  display: flex; align-items: center; gap: 1rem; overflow: hidden;
}
.ticker-label {
  background: var(--rose); color: #fff;
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 3px 10px; border-radius: 4px; white-space: nowrap;
}
.ticker-track { flex: 1; overflow: hidden; white-space: nowrap; font-family: var(--font-mono); font-size: .8rem; color: #cbd5e1; }
.ticker-inner { display: inline-block; animation: marquee 35s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-sep { margin-inline: 1.75rem; color: var(--indigo); font-weight: 700; }

.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--indigo-lt); color: var(--indigo);
  border: 1px solid var(--indigo-bd);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--indigo); border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.hero-title { margin-bottom: 1.2rem; }
.hero-title em { font-style: italic; color: var(--indigo); }
.hero-desc { font-size: 1.05rem; max-width: 480px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; }
.stat-lbl { font-size: .78rem; color: var(--muted); font-weight: 500; margin-top: 3px; }

.hero-terminal { position: relative; }
.terminal-window {
  background: var(--ink); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06);
}
.terminal-bar { background: #1e2640; padding: 12px 16px; display: flex; align-items: center; gap: 7px; }
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.r { background: #ff5f57; } .t-dot.y { background: #febc2e; } .t-dot.g { background: #28c840; }
.terminal-title { font-family: var(--font-mono); font-size: .72rem; color: #6b7280; margin-left: auto; }
.terminal-body { padding: 20px 22px; font-family: var(--font-mono); font-size: .82rem; line-height: 1.8; }
.t-prompt { color: #a78bfa; } .t-cmd { color: #f8fafc; } .t-out { color: #94a3b8; }
.t-ok { color: #4ade80; } .t-err { color: #f87171; } .t-warn { color: var(--amber); }
.t-cursor { display: inline-block; width: 8px; height: 15px; background: #a78bfa; vertical-align: middle; animation: blink .9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.floating-badge {
  position: absolute; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 7px 14px;
  font-size: .76rem; font-weight: 600; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 6px; white-space: nowrap; pointer-events: none;
}
.floating-badge.top { top: -18px; right: 16px; color: var(--teal); background: var(--teal-lt); border-color: var(--teal-bd); }
.floating-badge.bottom { bottom: -16px; left: 16px; color: var(--amber); background: var(--amber-lt); border-color: var(--amber-bd); }

.domain-strip { background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 1.4rem; }
.domain-strip .container { display: flex; flex-wrap: wrap; gap: 10px; }
.domain-pill { cursor: pointer; }
.dp-1  { color: var(--indigo); background: var(--indigo-lt); border-color: var(--indigo-bd); }
.dp-2  { color: var(--teal);   background: var(--teal-lt);   border-color: var(--teal-bd); }
.dp-3  { color: var(--rose);   background: var(--rose-lt);   border-color: #fecdd3; }
.dp-4  { color: var(--amber);  background: var(--amber-lt);  border-color: var(--amber-bd); }
.dp-5  { color: var(--lime);   background: var(--lime-lt);   border-color: #d9f99d; }
.dp-6  { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.dp-7  { color: #0369a1; background: #e0f2fe; border-color: #bae6fd; }
.dp-8  { color: #b45309; background: #fffbeb; border-color: var(--amber-bd); }
.dp-9  { color: #065f46; background: #ecfdf5; border-color: #a7f3d0; }
.dp-10 { color: #9d174d; background: #fff1f2; border-color: #fecdd3; }
.dp-11 { color: #1e40af; background: #eff6ff; border-color: #bfdbfe; }
.dp-12 { color: #374151; background: #f9fafb; border-color: #d1d5db; }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.card-thumb-placeholder::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,.05) 20px, rgba(255,255,255,.05) 40px);
}
.thumb-label {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.9); background: rgba(0,0,0,.22);
  padding: 5px 13px; border-radius: var(--radius-pill); z-index: 1;
}
.grad-1 { background: linear-gradient(135deg, #4338ca, #7c3aed, #a855f7); }
.grad-2 { background: linear-gradient(135deg, #0d9488, #0891b2); }
.grad-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.grad-4 { background: linear-gradient(135deg, #65a30d, #0d9488); }
.grad-5 { background: linear-gradient(135deg, #e11d48, #9333ea); }
.grad-6 { background: linear-gradient(135deg, #1e40af, #4338ca); }
.card-body { padding: 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card h3 { transition: color .2s; }
.card:hover h3 { color: var(--indigo); }
.card p { flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--muted);
  padding-top: .75rem; border-top: 1px solid var(--border); margin-top: auto;
}
.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--indigo); color: #fff;
  font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.meta-sep { color: var(--border); }

.featured-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
.card-featured { grid-row: 1 / 3; }
.card-featured .card-thumb { aspect-ratio: 16/10; }
.card-featured h3 { font-size: 1.45rem; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; background: var(--white);
  display: flex; flex-direction: column; gap: .65rem;
  transition: transform .2s, box-shadow .2s, border-color .2s; cursor: pointer;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--indigo-bd); }
.post-domain { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; color: var(--muted); }
.post-card h4 { font-family: var(--font-display); font-size: 1rem; line-height: 1.35; transition: color .2s; }
.post-card:hover h4 { color: var(--indigo); }
.post-card .excerpt { font-size: .82rem; color: var(--muted); }
.post-footer { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--muted); }

.progress-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.prog-card { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; transition: transform .2s; }
.prog-card:hover { transform: translateY(-2px); }
.prog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .65rem; }
.prog-name { font-size: .8rem; font-weight: 700; }
.prog-pct { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; }
.prog-bar { width: 100%; height: 7px; background: var(--surface); border-radius: var(--radius-pill); overflow: hidden; }
.prog-fill { height: 100%; border-radius: var(--radius-pill); }
.prog-sub { font-size: .72rem; color: var(--muted); margin-top: .45rem; }

.about-strip { background: linear-gradient(135deg, #4338ca 0%, #7c3aed 55%, #a855f7 100%); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); }
.about-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-strip h2 { color: #fff; margin-bottom: 1rem; }
.about-strip p { color: rgba(255,255,255,.82); margin-bottom: 1.5rem; font-size: .95rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tag { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; padding: 5px 13px; border-radius: var(--radius-pill); background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: #fff; }
.creds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cred-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 1.2rem; transition: background .2s; }
.cred-card:hover { background: rgba(255,255,255,.2); }
.cred-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.cred-card h4 { color: #fff; font-size: .9rem; margin-bottom: .25rem; }
.cred-card p { color: rgba(255,255,255,.72); font-size: .8rem; margin: 0; }

.newsletter-strip { background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.newsletter-inner { max-width: 540px; margin-inline: auto; }
.newsletter-inner h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.newsletter-inner p { margin-bottom: 1.5rem; }
.sub-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sub-input { flex: 1; min-width: 220px; padding: 12px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); font-size: .9rem; outline: none; transition: border-color .2s; background: var(--white); }
.sub-input:focus { border-color: var(--indigo); }
.sub-btn { background: var(--indigo); color: #fff; padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 600; font-size: .9rem; box-shadow: 0 3px 14px rgba(67,56,202,.35); transition: background .2s; }
.sub-btn:hover { background: var(--indigo-dk); }

.post-hero { padding-block: 3rem 0; background: var(--off); border-bottom: 1px solid var(--border); }
.post-hero .container { max-width: 800px; }
.post-hero h1 { margin-block: .75rem 1rem; }
.post-hero .post-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.post-thumb { width: 100%; aspect-ratio: 16/7; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; margin-top: 2rem; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-content { padding-block: 2.5rem; }
.post-content .container { max-width: 800px; }
.entry-content { font-size: 1rem; line-height: 1.8; color: var(--ink); }
.entry-content h2, .entry-content h3 { margin-block: 2rem .75rem; }
.entry-content p { color: var(--ink); margin-bottom: 1.2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .4rem; }
.entry-content a { color: var(--indigo); text-decoration: underline; }
.entry-content blockquote { border-left: 4px solid var(--indigo); padding-left: 1.25rem; margin-block: 1.5rem; color: var(--muted); font-style: italic; }
.entry-content pre, .entry-content code { font-family: var(--font-mono); font-size: .85em; background: var(--ink); color: #e2e8f0; border-radius: var(--radius-sm); }
.entry-content pre { padding: 1.25rem 1.5rem; overflow-x: auto; margin-block: 1.5rem; line-height: 1.7; }
.entry-content :not(pre) > code { padding: 2px 7px; background: var(--surface); color: var(--rose); border-radius: 4px; }
.entry-content img { border-radius: var(--radius); margin-block: 1.5rem; box-shadow: var(--shadow); }

.archive-header { background: var(--off); border-bottom: 1px solid var(--border); padding-block: 2.5rem; }
.archive-header h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.widget { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.widget-title { font-family: var(--font-body); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.widget ul li { padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--ink); transition: color .2s; }
.widget ul li a:hover { color: var(--indigo); }

#site-footer { background: var(--ink); color: #fff; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand p { color: #94a3b8; font-size: .85rem; max-width: 280px; }
.socials { display: flex; gap: 10px; margin-top: 1.25rem; }
.social-btn { width: 36px; height: 36px; background: #1e2640; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .9rem; color: #94a3b8; transition: background .2s, color .2s; }
.social-btn:hover { background: var(--indigo); color: #fff; }
.footer-col h5 { font-family: var(--font-body); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #64748b; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a { font-size: .85rem; color: #94a3b8; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e2640; padding-block: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .78rem; color: #4b5563; }
.footer-bottom a { color: var(--indigo); }

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: slideUp .6s ease both; }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .2s; } .delay-3 { animation-delay: .3s; }

@media (max-width: 1024px) { .progress-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .card-featured { grid-row: auto; }
  .about-strip .container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .progress-grid { grid-template-columns: repeat(2, 1fr); }
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: flex; }
  #primary-menu { display: none; }
}
@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .progress-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .creds-grid { grid-template-columns: 1fr; }
}

/* Scale adjustment */
html { font-size: 14px; }
.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.hero .container { gap: 2.5rem; }
.terminal-body { padding: 14px 16px; font-size: .78rem; }

/* Menu aligned to the right */
#site-header .container { justify-content: space-between; }
#primary-menu { margin-left: auto; }

/* Hero grid fix after removing stats */
.hero .container { align-items: center; }
.hero-terminal { position: relative; top: 0; }

/* Hero alignment fix */
.hero .container { align-items: center; min-height: 400px; }
.hero-left { display: flex; flex-direction: column; justify-content: center; }
