@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Refined, noble blue palette */
  --accent-color: #38bdf8;
  --accent-secondary: #6366f1;
  --accent-tertiary: #0ea5e9;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  --accent-gradient-rev: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
  --accent-glow: rgba(56, 189, 248, 0.12);
  --accent-glow-purple: rgba(99, 102, 241, 0.12);
  
  --font-title: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Inter', 'Noto Sans JP', sans-serif;
  
  --sidebar-width: 280px;
  --header-height: 70px;
  --transition-speed: 0.25s;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Particle Canvas (hidden) */
#particle-canvas {
  display: none;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: #7dd3fc;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

/* Layout */
#app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Sidebar Navigation */
#sidebar {
  width: var(--sidebar-width);
  background: rgba(13, 18, 30, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: transform var(--transition-speed);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.profile-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

.site-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.site-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  flex-grow: 1;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.nav-item a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--accent-gradient);
  opacity: 0.08;
  transition: width 0.3s ease;
  border-radius: 10px;
}

.nav-item a:hover::before,
.nav-item.active a::before {
  width: 100%;
}

.nav-item a:hover,
.nav-item.active a {
  color: #fff;
  transform: translateX(3px);
}

.nav-item.active a {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: none;
}

/* Active indicator bar */
.nav-item.active a::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-color);
  opacity: 0.85;
}

.nav-item.active .nav-icon {
  opacity: 1;
}

/* Main Content Area */
#main-content {
  margin-left: var(--sidebar-width);
  flex-grow: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  max-width: 1400px;
  width: calc(100% - var(--sidebar-width));
}

/* Header */
#top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.search-container {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-speed);
  backdrop-filter: blur(10px);
}

.search-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 16px;
  height: 16px;
}

#menu-toggle {
  display: none;
  background: rgba(12, 18, 45, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s;
}

#menu-toggle:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Page Structures */
.page-section {
  display: none;
  animation: pageReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-section.active-page {
  display: block;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

/* Animated underline for page titles */
.page-title::after {
  display: none;
}

/* General Typography */
h2 {
  font-family: var(--font-title);
  font-size: 1.7rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
  padding-left: 1.25rem;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-color);
}

h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Cards & Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Demo Section Column Layout */
.demo-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.demo-column {
  display: flex;
  flex-direction: column;
}

.demo-col-header {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.02em;
}

.demo-col-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.demo-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* About / Home Hero */
.about-hero {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.about-avatar {
  width: 170px;
  height: 170px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  flex-shrink: 0;
}

.about-details h1 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.about-details .title-sub {
  font-size: 1.05rem;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.88rem;
  transition: all var(--transition-speed);
}

.social-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* Stat Counter Cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-speed);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

/* More link */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.more-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s;
  box-shadow: 0 0 6px var(--accent-color);
}

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

.more-link:hover {
  color: #4df0ff;
  transform: translateX(4px);
}

/* Books Section */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.book-card {
  background: rgba(12, 18, 45, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.book-card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 212, 255, 0.07);
}

.book-image {
  width: 90px;
  height: 128px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
}

.book-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.book-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.book-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.book-btn {
  font-size: 0.73rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent-color);
  font-weight: 500;
  transition: all 0.3s;
}

.book-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #000;
}

/* Research Cards */
.research-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.research-title {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: var(--font-title);
  margin-top: 0;
}

.research-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 1rem;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
  transition: all 0.3s;
}

.research-card:hover .research-image {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-left: 2px solid rgba(0, 212, 255, 0.2);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
  position: relative;
}

.timeline-item {
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1.5rem - 5px);
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 12px var(--accent-color);
}

.timeline-date {
  font-size: 0.82rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2rem;
}

/* Publications */
.pub-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-item {
  background: rgba(0, 212, 255, 0.02);
  border-left: 3px solid transparent;
  border-image: var(--accent-gradient) 1;
  padding: 0.75rem 1rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(-8px);
  animation: slideInLeft 0.4s ease forwards;
}

.pub-item:hover {
  background: rgba(0, 212, 255, 0.05);
  transform: translateX(4px);
}

@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}

.pub-num {
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 0.5rem;
}

.slide-link {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.slide-link span:nth-child(2) {
  flex: 1;
}

.slide-source {
  border: 1px solid rgba(0, 212, 255, 0.24);
  border-radius: 999px;
  color: var(--text-secondary);
  flex: 0 0 auto;
  font-size: 0.72rem;
  line-height: 1;
  padding: 0.28rem 0.48rem;
}

.slide-link i {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
  flex: 0 0 auto;
  opacity: 0.85;
}

.slide-link:hover {
  color: #fff;
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(12, 18, 45, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 15px var(--accent-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-submit:hover::before {
  opacity: 1;
  animation: ripple-btn 0.6s ease;
}

@keyframes ripple-btn {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--accent-glow);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

/* Map */
.map-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.05);
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Search highlight */
mark {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
  border-radius: 3px;
  padding: 0 3px;
}

.hidden-by-search {
  display: none !important;
}

/* Scroll reveal animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Category badge */
.glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Tech tag pills */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tech-tag {
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tech-tag.blue {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.tech-tag.purple {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.tech-tag.cyan {
  background: rgba(14, 165, 233, 0.1);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
  #sidebar {
    transform: translateX(-100%);
  }
  
  #sidebar.open {
    transform: translateX(0);
  }
  
  #main-content {
    margin-left: 0;
    width: 100%;
    padding: 1.5rem;
  }
  
  #menu-toggle {
    display: block;
  }
  
  .about-hero {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .about-details h1 {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
}

/* View Transitions */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
