/* ============================================================
   Samuel Kofi Agyei-Tuffour — Portfolio
   Terminal / security-engineer aesthetic
   ============================================================ */

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

:root {
  --bg: #05070d;
  --bg-1: #0a0e17;
  --bg-2: #0f1421;
  --bg-3: #151b2c;
  --border: #1e2538;
  --border-bright: #2a3349;

  --text: #e6edf3;
  --text-dim: #8b96a8;
  --text-mute: #5a6478;

  --green: #00ffa3;
  --green-dim: #00b878;
  --cyan: #00d4ff;
  --purple: #7c3aed;
  --amber: #ffb454;
  --red: #ff5e57;

  --grad: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 255, 163, 0.08) 0%, rgba(0, 212, 255, 0.08) 100%);

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

  --t: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 163, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 163, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

/* Radial glow */
body::after {
  content: '';
  position: fixed;
  top: -10%;
  left: 20%;
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(0, 255, 163, 0.06) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: var(--green); text-decoration: none; transition: var(--t); }
a:hover { color: var(--cyan); }

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

.hl {
  color: var(--green);
  font-weight: 500;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   Top bar (macOS-style)
   ============================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 36px;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.topbar-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.traffic-light.red { background: var(--red); }
.traffic-light.yellow { background: var(--amber); }
.traffic-light.green { background: var(--green); }

.topbar-path {
  color: var(--text-dim);
  margin-left: 0.75rem;
}

.topbar-link {
  color: var(--text-dim);
  font-size: 0.8rem;
}
.topbar-link:hover { color: var(--green); }

/* ============================================================
   Nav
   ============================================================ */
.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: var(--t);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(5, 7, 13, 0.92);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.logo:hover { color: var(--text); }
.logo-bracket { color: var(--green); }
.logo-cursor {
  color: var(--green);
  animation: blink 1.1s steps(2) infinite;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

.nav-menu {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.nav-link {
  color: var(--text-dim);
  font-weight: 500;
}

.nav-link:hover { color: var(--green); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-family: var(--mono);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Terminal */
.terminal {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}
.terminal-dot.yellow { background: var(--amber); }
.terminal-dot.green { background: var(--green); }

.terminal-title {
  margin-left: 0.5rem;
  color: var(--text-mute);
}

.terminal-body {
  padding: 1.75rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  line-height: 1.85;
}

.terminal-body .line {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.terminal-body .out {
  color: var(--text);
  margin-bottom: 0.6rem;
}

.prompt {
  color: var(--green);
  font-weight: 600;
  margin-right: 0.5rem;
}

.cmd {
  color: var(--cyan);
}

.role {
  color: var(--text);
  font-weight: 500;
}

.role-sep {
  color: var(--text-mute);
  margin: 0 0.3rem;
}

.bio {
  color: var(--text-dim);
  max-width: 56ch;
}

.cursor {
  color: var(--green);
  animation: blink 1.1s steps(2) infinite;
  font-weight: 700;
}

/* Hero CTAs */
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t);
  border: 1px solid var(--border);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
  font-weight: 600;
}

.btn-primary:hover {
  background: transparent;
  color: var(--green);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--green), 0 8px 20px rgba(0, 255, 163, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-bright);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

.btn .arrow { font-family: var(--mono); }

/* Meta row */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.meta-label {
  color: var(--text-mute);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.meta-value {
  color: var(--text);
}

.status-open {
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero side cards */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--t);
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--green);
}

.cert-card:hover {
  border-color: var(--border-bright);
  transform: translateX(2px);
}

.cert-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.cert-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.cert-id {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--green);
}

.impact-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}

.impact-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 1rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.impact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.impact-num {
  font-family: var(--mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.impact-cap {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.3;
}

/* ============================================================
   Sections
   ============================================================ */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-family: var(--mono);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-eyebrow .hash {
  color: var(--text-mute);
  margin-right: 0.25rem;
}

.section-title {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.1rem;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.card-header {
  background: var(--bg-2);
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.card-title { color: var(--green); }
.card-size { color: var(--text-mute); }

.card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.fw-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.card-section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.card-section-label:not(:first-child) { margin-top: 1.1rem; }

.card-tags { margin-bottom: 0.25rem; }

.card-foot {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.card-foot::before {
  content: '// ';
  color: var(--text-mute);
}

.fw-name { color: var(--text); }

.fw-bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.fw-fill {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: var(--grad);
  border-radius: 3px;
  transition: width 1.5s ease;
}

/* ============================================================
   Expertise
   ============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.expertise-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--t);
}

.expertise-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.exp-head {
  background: var(--bg-2);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
}

.exp-icon {
  font-size: 1.05rem;
  color: var(--green);
}

.exp-title { color: var(--text); }

.exp-body { padding: 1.1rem 1.25rem 1.25rem; }

.code-line {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 0.9rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text);
  transition: var(--t);
}

.tag:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ============================================================
   Experience (git log style)
   ============================================================ */
.timeline {
  position: relative;
  max-width: 980px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg), 0 0 12px var(--green);
  z-index: 1;
}

.timeline-line {
  position: absolute;
  top: calc(1.5rem + 12px);
  bottom: -2rem;
  left: 50%;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item:last-child .timeline-line { display: none; }

.timeline-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--t);
}

.timeline-card:hover {
  border-color: var(--border-bright);
}

.timeline-head {
  background: var(--bg-2);
  padding: 0.65rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.timeline-commit {
  color: var(--green);
  font-weight: 500;
}

.timeline-sha {
  color: var(--text-mute);
  font-size: 0.75rem;
}

.timeline-period {
  color: var(--cyan);
  font-size: 0.8rem;
  white-space: nowrap;
}

.timeline-role-block {
  padding: 1.1rem 1.25rem 0.5rem;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.timeline-company strong { color: var(--text); }

.timeline-achievements {
  list-style: none;
  padding: 0.75rem 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.timeline-achievements li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
}

.timeline-achievements li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--mono);
}

.timeline-achievements li:last-child { margin-bottom: 0; }

/* ============================================================
   Projects
   ============================================================ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 980px;
}

.project-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--border-bright);
}

.project-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.project-repo {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
}

.project-status {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--green);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 700;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.project-desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.project-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.project-features li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.project-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--mono);
}

.project-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.8rem;
}

/* ============================================================
   Education
   ============================================================ */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 900px;
}

.edu-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--t);
}

.edu-row:hover {
  border-color: var(--border-bright);
  transform: translateX(2px);
}

.edu-icon { font-size: 1.1rem; }

.edu-degree {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.edu-school {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-container {
  max-width: 760px;
  margin: 0 auto;
}

.terminal-contact {
  margin-top: 0;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.75rem 0 1.25rem;
}

.contact-method {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  text-decoration: none;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.88rem;
  transition: var(--t);
}

.contact-method:hover {
  border-color: var(--green);
  background: rgba(0, 255, 163, 0.04);
  transform: translateX(2px);
  color: var(--text);
}

.cm-prefix { color: var(--green); font-weight: 600; }
.cm-value { color: var(--text); word-break: break-word; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  background: var(--bg-1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-prompt { color: var(--green); }

.footer-link { color: var(--text-dim); }
.footer-link:hover { color: var(--green); }

/* ============================================================
   Animations
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; flex-wrap: wrap; }
  .cert-card, .impact-card { flex: 1 1 240px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .nav-container { padding: 0 1.25rem; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 96px;
    right: -100%;
    flex-direction: column;
    background: rgba(5, 7, 13, 0.98);
    backdrop-filter: blur(12px);
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 96px);
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
  }
  .nav-menu.active { right: 0; }

  .hero { padding: 7rem 0 3rem; }
  section { padding: 4rem 0; }
  .topbar-path { display: none; }

  .terminal-body { padding: 1.25rem 1rem; font-size: 0.85rem; }
  .meta-row { gap: 1.25rem; }

  .hero-side { flex-direction: column; }
  .cert-card, .impact-card { flex: 1; }

  .fw-row { grid-template-columns: 110px 1fr; }
  .timeline-item { grid-template-columns: 22px 1fr; gap: 1rem; }
  .timeline-achievements { padding: 0.75rem 1rem 1.25rem; font-size: 0.9rem; }
  .contact-method { grid-template-columns: 90px 1fr; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .meta-row { flex-direction: column; gap: 0.85rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .fw-row { grid-template-columns: 1fr; gap: 0.4rem; }
}
