/* ========================================
   STYLE.CSS — Components & Layout
   Jordan's Archives · Redesign
   Palette: #f1e9e7, #cdc4c1, #1a2d14, #37481c, #a82226
   ======================================== */

/* ==============================
   HUB PAGE (index.html)
   ============================== */

/* ---- Floating depth icons layer ---- */
.floating-icons-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Animated paper texture background */
.paper-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.hub-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--space-8) var(--space-8) var(--space-16);
  background: transparent;
  position: relative;
  z-index: 3;
}

/* ---- Character illustration ---- */
.hub-character {
  position: relative;
  width: 280px;
  height: 360px;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  flex-shrink: 0;
  background: transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hub-character-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.hub-character-img.active {
  opacity: 1;
}

/* ---- Welcome text ---- */
.hub-welcome {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: var(--space-1);
  line-height: 1.4;
  max-width: 400px;
}

.hub-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-align: center;
  max-width: 380px;
  line-height: 1.5;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

/* ---- Floating card area ---- */
.hub-float-area {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 380px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--green-dark);
  background: rgba(241, 233, 231, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  /* NO transform transition — hub-float.js drives transform every frame */
  transition: box-shadow 0.2s ease-out,
              background 0.2s ease-out,
              border-color 0.2s ease-out;
  cursor: pointer;
  text-decoration: none;
  position: absolute;
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(26, 45, 20, 0.08),
              6px 6px 0 rgba(26, 45, 20, 0.04);
}

.hub-card:hover {
  background: rgba(241, 233, 231, 0.85);
  border-color: var(--green);
  box-shadow: 6px 6px 0 rgba(26, 45, 20, 0.12),
              12px 12px 0 rgba(26, 45, 20, 0.06),
              0 12px 24px rgba(26, 45, 20, 0.1);
}

.hub-card:active {
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(26, 45, 20, 0.1),
              4px 4px 0 rgba(26, 45, 20, 0.05);
}

.hub-card-label {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--green-dark);
  text-align: center;
  line-height: 1.2;
  position: relative;
  z-index: 20;
  pointer-events: none;
}

.hub-card-sublabel {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--green-medium);
  text-align: center;
  position: relative;
  z-index: 20;
  pointer-events: none;
  letter-spacing: 0.02em;
  margin-top: -2px;
  opacity: 0.7;
}

/* ---- Hub Footer ---- */
.hub-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-xs);
  color: var(--text-faint);
  background: transparent;
  z-index: 4;
}

.hub-footer a {
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.hub-footer a:hover {
  color: var(--accent);
}

/* ---- Footer social icons ---- */
.hub-footer-socials {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hub-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  transition: color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.hub-footer-socials a:hover {
  color: var(--green-dark);
  transform: translateY(-1px);
}

/* ==============================
   TOOLS PAGE LAYOUT
   ============================== */

.tools-layout {
  display: flex;
  min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transition: width var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

/* --- Sidebar Logo (icon image) --- */
.sidebar-logo {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.sidebar-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sidebar-logo-icon {
  height: 36px;
  width: auto;
  transition: height var(--duration-slow) var(--ease-out);
}

/* Sidebar nav */
.sidebar-nav {
  flex: 1;
  padding: var(--space-4) 0;
  overflow-y: auto;
}

.sidebar-section {
  margin-bottom: var(--space-3);
}

.sidebar-section-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-section-title-text {
  transition: opacity var(--duration-normal) var(--ease-out);
}

/* Sidebar link with icon + text */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-out);
  border-left: 2px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.sidebar-link-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar-link-text {
  transition: opacity var(--duration-normal) var(--ease-out);
}

.sidebar-link:hover {
  color: var(--text-primary);
  background: var(--accent-subtle);
  border-left-color: var(--accent);
}

.sidebar-link.active {
  color: var(--accent);
  background: var(--accent-subtle);
  border-left-color: var(--accent);
}

.sidebar-home {
  margin-bottom: var(--space-2);
}

/* --- Collapsed Sidebar (desktop only) --- */
.sidebar.collapsed {
  width: 48px;
}

.sidebar.collapsed .sidebar-logo {
  padding: var(--space-3) var(--space-2);
}

.sidebar.collapsed .sidebar-logo-icon {
  height: 28px;
}

.sidebar.collapsed .sidebar-section-title-text {
  opacity: 0;
  pointer-events: none;
}

.sidebar.collapsed .sidebar-section-title {
  padding: var(--space-2) 0;
  justify-content: center;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.sidebar.collapsed .sidebar-link {
  justify-content: center;
  padding: var(--space-2) 0;
  border-left-color: transparent;
}

.sidebar.collapsed .sidebar-link-text {
  opacity: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
}

.sidebar.collapsed .sidebar-link-icon {
  width: 20px;
  height: 20px;
}

.sidebar.collapsed .sidebar-footer {
  display: none;
}

/* Tooltip on hover when collapsed */
.sidebar.collapsed .sidebar-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--green-dark);
  color: var(--beige);
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out);
  z-index: 200;
}

.sidebar.collapsed .sidebar-link:hover::after {
  opacity: 1;
}

/* Collapsed main content adjustment */
.sidebar.collapsed ~ .main-content {
  margin-left: 48px;
}

/* --- Topbar buttons --- */
.topbar-hamburger {
  display: none;
  color: var(--green-dark);
}

.topbar-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--green-dark);
  transition: all var(--duration-fast) var(--ease-out);
}

.topbar-collapse-btn:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.topbar-collapse-btn svg {
  width: 20px;
  height: 20px;
}

/* Sidebar footer */
.sidebar-footer {
  padding: var(--space-5);
  border-top: 1px solid var(--border);
}

.sidebar-footer-msg {
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.6;
  font-style: italic;
}

/* --- Main Content --- */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: rgba(241, 233, 231, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar-toggle svg {
  width: 20px;
  height: 20px;
}

.breadcrumb {
  font-size: var(--text-sm);
  color: var(--text-faint);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  margin: 0 var(--space-2);
  color: var(--text-faint);
}

/* --- Tools Header Illustration --- */
.tools-header-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-8) 0;
}

.tools-header-img img {
  max-width: 480px;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* --- Introduction --- */
.intro {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-8) var(--space-10);
  text-align: center;
}

.intro p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

.intro strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Category Sections --- */
.category-section {
  padding: var(--space-8) var(--space-8) var(--space-4);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.category-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
}

.category-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-primary);
}

.category-count {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-left: auto;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding-bottom: var(--space-4);
}

/* --- Tool Card --- */
.tool-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--green);
  background: var(--bg-surface-hover);
}

.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.tool-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
}

.tool-card:hover .tool-card-icon {
  background: var(--accent-muted);
}

.tool-card-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  line-height: 1.6;
}

.badge-new {
  background: rgba(55, 72, 28, 0.12);
  color: var(--badge-new);
}

.badge-beta {
  background: rgba(168, 34, 38, 0.12);
  color: var(--badge-beta);
}

.tool-card-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.tool-card-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

/* --- About Section --- */
.about-section {
  max-width: 640px;
  margin: var(--space-12) auto;
  padding: var(--space-8);
  text-align: center;
}

.about-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.about-section p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(168, 34, 38, 0.3);
  transition: text-decoration-color var(--duration-fast) var(--ease-out);
}

.about-section a:hover {
  text-decoration-color: var(--accent);
}

/* --- Tools Footer --- */
.tools-footer {
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.tools-footer a {
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.tools-footer a:hover {
  color: var(--accent);
}

/* --- Sidebar overlay (mobile) --- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(26, 45, 20, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.sidebar-overlay.active {
  opacity: 1;
}

/* ==============================
   CONTACT OVERLAY (HOME PAGE)
   ============================== */

/* ---- Contact Overlay ---- */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(26, 45, 20, 0);
  pointer-events: none;
}

/* ---- Card Wrapper — positioned by JS ---- */
.contact-card-wrapper {
  perspective: 1200px;
  position: fixed;
}

/* ---- Card Inner — handles the 3D flip ---- */
.contact-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-overlay.active .contact-card-inner {
  transform: rotateY(180deg);
}

.contact-overlay.closing .contact-card-inner {
  transform: rotateY(0deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Front & Back faces ---- */
.contact-card-front,
.contact-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 0;
  overflow: hidden;
}

.contact-card-front {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 233, 231, 0.9);
  border: 1.5px solid var(--green-dark);
}

.contact-card-front-label {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--green-dark);
}

.contact-card-back {
  transform: rotateY(180deg);
  background: var(--bg-elevated);
  border: 1.5px solid var(--green-dark);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

/* ---- Close button ---- */
.contact-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  z-index: 10;
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-close:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}

/* ---- Business Card Content ---- */
.bcard-content {
  display: flex;
  flex: 1;
  padding: var(--space-8);
  gap: var(--space-8);
  align-items: center;
  overflow: hidden;
}

.bcard-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bcard-name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: var(--space-1);
}

.bcard-title {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.bcard-brand {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--accent);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.bcard-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: var(--space-4);
  border-radius: 1px;
}

.bcard-email {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  word-break: break-all;
  transition: color var(--duration-fast) var(--ease-out);
}

.bcard-email:hover {
  color: var(--accent);
}

.bcard-email svg {
  flex-shrink: 0;
}

.bcard-socials {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.bcard-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  color: var(--green-dark);
  border: 1px solid var(--border);
  transition: all var(--duration-fast) var(--ease-out);
}

.bcard-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}

/* ---- Business card photo ---- */
.bcard-photo {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcard-photo img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border: 1.5px solid var(--green-dark);
}

.bcard-photo-placeholder {
  width: 160px;
  height: 200px;
  border: 2px dashed var(--border);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}

/* ---- Business card footer ---- */
.bcard-footer {
  padding: var(--space-3) var(--space-8);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-style: italic;
}

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-based fade-in for category sections */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
   ============================== */

/* Tablet */
@media (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-width);
  }

  .sidebar.collapsed {
    width: var(--sidebar-width);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.active {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .sidebar.collapsed ~ .main-content {
    margin-left: 0;
  }

  /* On mobile: show hamburger, hide collapse button */
  .topbar-hamburger {
    display: flex;
  }

  .topbar-collapse-btn {
    display: none;
  }

  /* Reset collapsed styles on mobile */
  .sidebar.collapsed .sidebar-section-title-text { opacity: 1; }
  .sidebar.collapsed .sidebar-section-title { height: auto; padding: var(--space-2) var(--space-5); }
  .sidebar.collapsed .sidebar-link { justify-content: flex-start; padding: var(--space-2) var(--space-5); border-left: 2px solid transparent; }
  .sidebar.collapsed .sidebar-link-text { opacity: 1; width: auto; position: static; }
  .sidebar.collapsed .sidebar-footer { display: block; }
  .sidebar.collapsed .sidebar-logo { padding: var(--space-4) var(--space-5); }
  .sidebar.collapsed .sidebar-logo-icon { height: 36px; }
  .sidebar.collapsed .sidebar-link::after { display: none; }

  .category-section {
    padding: var(--space-6) var(--space-5) var(--space-2);
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .intro {
    padding: var(--space-4) var(--space-5) var(--space-8);
  }

  .about-section {
    padding: var(--space-6) var(--space-5);
  }

  .tools-footer {
    padding: var(--space-4) var(--space-5);
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  /* Hub responsive */
  .hub-character {
    width: 200px;
    height: 260px;
    margin-top: var(--space-4);
  }

  .hub-welcome {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
  }

  .hub-float-area {
    height: 360px;
  }

  .hub-card-label {
    font-size: var(--text-xl);
  }

  .hub-footer {
    position: static;
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
    padding: var(--space-6) var(--space-3);
    margin-top: auto;
  }

  /* Business card stacks vertically on mobile */
  .bcard-content {
    flex-direction: column-reverse;
    padding: var(--space-6) var(--space-5);
    gap: var(--space-4);
    align-items: center;
    text-align: center;
  }

  .bcard-info {
    align-items: center;
  }

  .bcard-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .bcard-email {
    justify-content: center;
  }

  .bcard-socials {
    justify-content: center;
  }

  .bcard-photo {
    width: 120px;
  }

  .bcard-photo img {
    width: 100px;
    height: 120px;
  }

  .bcard-photo-placeholder {
    width: 100px;
    height: 120px;
  }

  .bcard-name {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 480px) {
  .hub-character {
    width: 180px;
    height: 230px;
    margin-top: var(--space-2);
  }

  .hub-welcome {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
  }

  .hub-float-area {
    height: 320px;
  }

  .hub-page {
    padding-top: var(--space-4);
    padding-bottom: calc(var(--space-20) + var(--space-8));
  }
}
