/* ============================================
   ASWINPM.COM — Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors - Dark Mode (Only) */
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text-primary: #e8e0d4;
  --text-secondary: #9a9488;
  --text-muted: #5a5650;
  --text-heading: #f5f0ea;

  --accent-teal: #4ecdc4;
  --accent-teal-dim: rgba(78, 205, 196, 0.15);
  --accent-gold: #c9a96e;
  --accent-gold-dim: rgba(201, 169, 110, 0.15);
  --accent-rose: #e07a7a;
  --accent-rose-dim: rgba(224, 122, 122, 0.15);
  --accent-lavender: #a78bfa;
  --accent-lavender-dim: rgba(167, 139, 250, 0.15);

  /* Typography */
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  --font-serif: 'Newsreader', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
  --nav-height: 64px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* --- Reset & Base --- */
*,
*::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: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 500;
}

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

.serif {
  font-family: var(--font-serif);
}

/* --- Ambient Background --- */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  animation: breathe 8s ease-in-out infinite;
}

.ambient-glow:nth-of-type(2) {
  animation-delay: -4s;
}

@keyframes breathe {
  0%, 100% { opacity: 0.05; transform: scale(1); }
  50% { opacity: 0.09; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-glow {
    animation: none;
  }
}

.ambient-glow--teal {
  background: var(--accent-teal);
  top: -200px;
  right: -100px;
}

.ambient-glow--gold {
  background: var(--accent-gold);
  bottom: -200px;
  left: -100px;
}

.ambient-glow--rose {
  background: var(--accent-rose);
  bottom: -200px;
  left: -100px;
}

.ambient-glow--lavender {
  background: var(--accent-lavender);
  bottom: -200px;
  left: -100px;
}

.ambient-glow--top {
  top: -200px;
  right: -100px;
  bottom: auto;
  left: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-base);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 12px var(--accent-teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--text-heading);
  background: var(--bg-card-hover);
}

.nav__link--active {
  color: var(--text-heading);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.nav__socials {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: var(--space-md);
  padding-left: var(--space-md);
  border-left: 1px solid var(--border-subtle);
}

.nav__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.nav__social-link:hover {
  color: var(--text-heading);
  background: var(--bg-card-hover);
}

.nav__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
  z-index: 110;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   LAYOUT
   ============================================ */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-xl);
}

.container--narrow {
  max-width: var(--content-width);
}

main {
  padding-top: 110px;
  padding-bottom: var(--space-4xl);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  text-align: left;
  margin-bottom: var(--space-4xl);
  max-width: 720px;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-teal);
}

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: italic;
  color: var(--accent-gold);
}

.hero__cursor {
  display: inline-block;
  color: var(--accent-teal);
  font-weight: 400;
  opacity: 1;
  margin-left: 2px;
}

.hero__cursor--blink {
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cursor {
    display: none;
  }
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header__title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-header__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.section-header__dot--teal { background: var(--accent-teal); }
.section-header__dot--gold { background: var(--accent-gold); }
.section-header__dot--rose { background: var(--accent-rose); }
.section-header__dot--lavender { background: var(--accent-lavender); }

.section-header__link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.section-header__link:hover {
  color: var(--accent-teal);
}

/* ============================================
   POST CARDS
   ============================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.post-card,
a.post-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.post-card--tech::before { background: var(--accent-teal); }
.post-card--lit::before { background: var(--accent-gold); }
.post-card--random::before { background: var(--accent-rose); }
.post-card--projects::before { background: var(--accent-lavender); }

.post-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.post-card:hover::before {
  opacity: 1;
}

.post-card__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.post-card__tag--tech {
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
}

.post-card__tag--lit {
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
}

.post-card__tag--random {
  color: var(--accent-rose);
  background: var(--accent-rose-dim);
}

.post-card__tag--projects {
  color: var(--accent-lavender);
  background: var(--accent-lavender-dim);
}

.post-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.post-card:hover .post-card__title {
  color: #ffffff;
  transition: color var(--transition-fast);
}

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.post-card__meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.project-card__stack-item {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.project-card__links {
  display: flex;
  gap: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.project-card__link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.project-card__link:hover {
  color: var(--accent-lavender);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.about-intro__text {
  min-width: 0;
}

.about-intro__photo {
  display: flex;
  justify-content: center;
  padding-top: var(--space-xl);
}

.about-photo-frame {
  position: relative;
  width: 280px;
  height: 340px;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: grayscale(20%) contrast(1.05);
  transition: filter var(--transition-base);
}

.about-photo:hover {
  filter: grayscale(0%) contrast(1);
}

.about-photo-border {
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--border-subtle);
  pointer-events: none;
  transition: border-color var(--transition-base);
}

.about-photo-frame:hover .about-photo-border {
  border-color: var(--accent-teal);
  box-shadow: 0 0 30px rgba(78, 205, 196, 0.08);
}

.about-content {
  max-width: var(--content-width);
  margin-top: var(--space-xl);
}

.about-content p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-xl);
}

.about-content p:first-of-type {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.about-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.about-card__icon {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.about-card__title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.about-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FULL POST PAGE
   ============================================ */
.post-full {
  max-width: 800px;
  margin: 0 auto;
}

.post-full__header {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border-subtle);
}

.post-full__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.post-full__tag--tech {
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
}

.post-full__tag--prose {
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
}

.post-full__tag--random {
  color: var(--accent-rose);
  background: var(--accent-rose-dim);
}

.post-full__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-heading);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.post-full__excerpt {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: var(--space-lg);
}

.post-full__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.post-full__content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-primary);
}

.post-full__content p {
  margin-bottom: var(--space-lg);
  text-align: justify;
}

.post-full__content p:first-of-type {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.post-full__content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-heading);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.post-full__content h3 {
  font-size: 1.2rem;
  color: var(--text-heading);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.post-full__content blockquote {
  border-left: 3px solid var(--accent-teal);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.post-full__content code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--accent-teal);
}

.post-full__content pre {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.post-full__content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-4xl);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.footer__links {
  display: flex;
  gap: var(--space-lg);
}

.footer__link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--text-secondary);
}

/* ============================================
   PAGE HEADER (for category pages)
   ============================================ */
.page-header {
  margin-bottom: var(--space-3xl);
}

.page-header__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.page-header__tag--tech {
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
}

.page-header__tag--lit {
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
}

.page-header__tag--random {
  color: var(--accent-rose);
  background: var(--accent-rose-dim);
}

.page-header__tag--projects {
  color: var(--accent-lavender);
  background: var(--accent-lavender-dim);
}

.page-header__title {
  margin-bottom: var(--space-md);
}

.page-header__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

/* ============================================
   FEATURED POST (large card for home)
   ============================================ */
.featured-post,
a.featured-post {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.featured-post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-teal-dim), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.featured-post:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.featured-post:hover::after {
  opacity: 1;
}

.featured-post__content {
  position: relative;
  z-index: 1;
}

.featured-post__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.featured-post__label::before {
  content: '★';
  font-size: 0.7rem;
}

.featured-post__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--text-heading);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.featured-post__excerpt {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.featured-post__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* stagger children */
.stagger > .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger > .fade-in:nth-child(2) { transition-delay: 80ms; }
.stagger > .fade-in:nth-child(3) { transition-delay: 160ms; }
.stagger > .fade-in:nth-child(4) { transition-delay: 240ms; }
.stagger > .fade-in:nth-child(5) { transition-delay: 320ms; }
.stagger > .fade-in:nth-child(6) { transition-delay: 400ms; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  /* backdrop-filter on .nav creates a containing block for its
     position:fixed descendants, so .nav__links (the full-screen
     mobile menu) would be confined to .nav's own 56px box instead
     of the viewport. Drop the filter here so it isn't an ancestor
     that traps the overlay. */
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 105;
    background: var(--bg-primary);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .nav__links .nav__link {
    font-size: 1rem;
    padding: var(--space-md) var(--space-xl);
  }

  .nav__toggle {
    display: flex;
  }

  .nav__socials {
    display: none;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2rem;
  }

  .container {
    padding-inline: var(--space-md);
  }

  main {
    padding-top: calc(var(--nav-height) + var(--space-xl));
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .featured-post {
    padding: var(--space-xl);
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-intro__photo {
    order: -1;
    padding-top: 0;
  }

  .about-photo-frame {
    width: 200px;
    height: 240px;
  }
}

@media (max-width: 480px) {
  .hero__subtitle {
    font-size: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}
