/* ==========================================================================
   Honson Luma Personal Profile - Design System & Styles
   Clean, modern, and responsive single-page design for Firebase Hosting
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Light Theme Palette */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-quote: #f8fafc;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-accent: #1e3a8a;
  
  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-navy: #1e3a8a;
  --brand-indigo: #4338ca;
  --brand-gradient: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #38bdf8 100%);
  --brand-glow: rgba(37, 99, 235, 0.15);
  
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #3b82f6;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 20px 35px -10px rgba(37, 99, 235, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 150ms ease;
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
}

/* Dark Theme Palette */
[data-theme="dark"] {
  --bg-primary: #0a0d14;
  --bg-surface: #111827;
  --bg-surface-elevated: #162032;
  --bg-subtle: #1a2436;
  --bg-card: #111827;
  --bg-quote: #131c2e;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #60a5fa;
  
  --brand-primary: #3b82f6;
  --brand-primary-hover: #60a5fa;
  --brand-navy: #93c5fd;
  --brand-indigo: #818cf8;
  --brand-gradient: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #38bdf8 100%);
  --brand-glow: rgba(59, 130, 246, 0.22);
  
  --border-subtle: #1e293b;
  --border-strong: #334155;
  --border-focus: #60a5fa;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 20px 35px -10px rgba(59, 130, 246, 0.25);
}

/* --------------------------------------------------------------------------
   Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

::selection {
  background: #2563eb;
  color: #ffffff;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

[data-theme="dark"] .site-nav {
  background: rgba(10, 13, 20, 0.85);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-primary);
  box-shadow: 0 0 12px var(--brand-glow);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-dark {
  display: none;
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: block;
}

.btn-nav-contact {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.btn-nav-contact:hover {
  background: var(--brand-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

/* --------------------------------------------------------------------------
   Page Layout & Container
   -------------------------------------------------------------------------- */
.main-content {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

.page-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  padding: 3.5rem 3rem;
  transition: all var(--transition-base);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.hero-text {
  max-width: 720px;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero h1 {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--brand-navy);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  white-space: nowrap;
}

.hero .subhead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  border-left: 4px solid var(--brand-primary);
  padding: 1rem 1.4rem;
  background: var(--bg-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  line-height: 1.6;
}

.hero-avatar-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-avatar-frame {
  width: 190px;
  height: 190px;
  border-radius: 28px;
  padding: 6px;
  background: var(--brand-gradient);
  box-shadow: 0 16px 36px var(--brand-glow);
  transform: rotate(-2deg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-avatar-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 20px 42px var(--brand-glow);
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  background: #cbd5e1;
}

.hero-avatar-badge {
  position: absolute;
  bottom: -10px;
  right: -8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Quick Actions in Hero */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-strong);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Quote Card (Executive Message)
   -------------------------------------------------------------------------- */
.quote-card {
  background: var(--bg-quote);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.25rem 2.25rem 2.5rem;
  margin: 3rem 0;
  border-left: 6px solid var(--brand-primary);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.quote-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--border-strong);
  opacity: 0.2;
  font-family: Georgia, serif;
  user-select: none;
}

.quote-card p {
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.quote-card .attribution {
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
  color: var(--text-accent);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   General Section & Cards
   -------------------------------------------------------------------------- */
.section {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--border-subtle);
  display: inline-block;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Bullet list */
ul.bullets {
  list-style: none;
}

ul.bullets li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

ul.bullets li:last-child {
  margin-bottom: 0;
}

ul.bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Core Sections 2-column Grid */
.sections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.section-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.section-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-subtle);
}

.card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.section-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-accent);
  text-transform: uppercase;
}

/* Education items */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.edu-item {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid var(--border-subtle);
  transition: border-color var(--transition-fast);
}

.edu-item:hover {
  border-color: var(--brand-primary);
}

.edu-item strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.edu-item .meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   Resume Section & Timelines
   -------------------------------------------------------------------------- */
.subsection-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-dates {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  padding-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.timeline-org {
  color: var(--text-secondary);
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Skills Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.chip {
  background: var(--bg-subtle);
  color: var(--text-accent);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.chip:hover {
  background: var(--brand-glow);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Ventures Grid
   -------------------------------------------------------------------------- */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.venture-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.venture-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hover);
}

.venture-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.venture-card .role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.venture-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Contact & Social Connect Banner
   -------------------------------------------------------------------------- */
.contact-section {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(30, 58, 138, 0.1) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

[data-theme="dark"] .contact-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 58, 138, 0.2) 100%);
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.social-btn:hover {
  color: #ffffff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.copy-email-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-note {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.firebase-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.firebase-tag svg {
  width: 14px;
  height: 14px;
  fill: #f5820d;
}

/* --------------------------------------------------------------------------
   Toast Notification
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text-primary);
  color: var(--bg-surface);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 999;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .sections-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .hero-avatar-wrapper {
    order: -1;
    justify-content: flex-start;
  }

  .hero-avatar-frame {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 1.25rem 1rem 3rem;
  }

  .page-wrapper {
    padding: 2.25rem 1.5rem;
    border-radius: var(--radius-lg);
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero .subhead {
    font-size: 1.05rem;
    padding: 0.85rem 1.15rem;
  }

  .quote-card {
    padding: 1.75rem 1.5rem;
  }

  .quote-card p {
    font-size: 1.1rem;
  }

  .contact-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
  }

  .footer-note {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero h1 .highlight {
    white-space: normal;
  }

  .quote-card p {
    font-size: 1.02rem;
  }

  .card, .section-card {
    padding: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary, .btn-outline {
    width: 100%;
    justify-content: center;
  }
}
