@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --off-white: #fafafa;
  --cream: #f5f2ed;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-400: #999999;
  --gray-600: #555555;
  --gray-800: #222222;
  --accent: #c8a97e;
  --font-heading: 'Oswald', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --sidebar-width: 80px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--black);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ========== READING PROGRESS BAR ========== */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--black);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ========== SCROLL ANIMATIONS ========== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== HOMEPAGE ========== */

.home-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: relative;
  z-index: 10;
}

.home-search {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-search label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--gray-600);
  white-space: nowrap;
}

.home-search input {
  width: 260px;
  border-bottom: 1px solid var(--gray-200);
  padding: 8px 0;
  font-size: 0.85rem;
  transition: border-color 0.3s ease;
  background: transparent;
}

.home-search input:focus {
  border-color: var(--black);
}

.home-search button {
  background: var(--black);
  color: var(--white);
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s ease;
}

.home-search button:hover {
  transform: scale(1.03);
  background: var(--gray-800);
}

.home-hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 48px 0;
}

.home-title-wrapper {
  overflow: hidden;
  padding: 10px 0 20px;
}

.home-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4.5rem, 13vw, 12rem);
  line-height: 0.88;
  letter-spacing: -4px;
  color: var(--black);
  transform: translateY(100%);
  animation: titleReveal 1s var(--ease-out-expo) 0.2s forwards;
}

@keyframes titleReveal {
  to { transform: translateY(0); }
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 24px 48px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.home-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 2px;
  position: relative;
  padding: 4px 0;
}

.home-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--black);
  transition: width 0.4s var(--ease-out-expo);
}

.home-nav a:hover::after {
  width: 100%;
}

.home-hero {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.home-hero img {
  width: 100%;
  height: auto;
  transform: scale(1.05);
  animation: heroZoom 1.5s var(--ease-out-expo) 0.4s forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

/* ========== INNER PAGE LAYOUT (SIDEBAR) ========== */

.page-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-brand {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 5px;
  padding: 40px 0;
  white-space: nowrap;
  color: var(--white);
  text-decoration: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: letter-spacing 0.4s var(--ease-out-expo);
}

.sidebar-brand:hover {
  letter-spacing: 8px;
}

.hamburger {
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 201;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.hamburger.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.page-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
}

/* ========== NAV OVERLAY ========== */

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 6px;
  color: var(--white);
  padding: 16px 0;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.6s ease, color 0.3s ease;
}

.nav-overlay.active a {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.active a:nth-child(2) { transition-delay: 0.05s; }
.nav-overlay.active a:nth-child(3) { transition-delay: 0.1s; }
.nav-overlay.active a:nth-child(4) { transition-delay: 0.15s; }
.nav-overlay.active a:nth-child(5) { transition-delay: 0.2s; }

.nav-overlay a:hover {
  color: var(--accent);
}

.nav-overlay a::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
  transform: translateY(-50%);
}

.nav-overlay a:hover::before {
  width: 12px;
}

.nav-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  line-height: 1;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-close:hover {
  transform: rotate(90deg);
}

/* ========== SECTION HEADINGS ========== */

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 3px;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--black);
  margin-top: 16px;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gray-600);
}

/* ========== ABOUT PAGE ========== */

.about-section {
  padding: 100px 80px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.about-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.about-image img {
  max-width: 400px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(50% - 180px);
  width: 340px;
  height: 100%;
  background: var(--cream);
  z-index: 0;
  transition: transform 0.6s var(--ease-out-expo);
}

.about-image:hover::before {
  transform: translate(-8px, -8px);
}

.about-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--gray-600);
}

.about-text .about-paragraphs p {
  margin-bottom: 18px;
}

.about-text .about-paragraphs p:first-child {
  font-size: 1.05rem;
  color: var(--black);
  font-weight: 400;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 32px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gray-800);
  transition: left 0.4s var(--ease-out-expo);
  z-index: 0;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary .arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

/* ========== BLOG LISTING ========== */

.blog-listing {
  padding: 100px 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 48px;
  margin-top: 24px;
}

.blog-card {
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,0,0,0.05);
  pointer-events: none;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(160deg, #f8f6f2, #ece8e0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  text-align: center;
  position: relative;
  transition: background 0.5s ease;
}

.blog-card:hover .blog-card-image-placeholder {
  background: linear-gradient(160deg, #f0ece4, #e4ddd2);
}

.blog-card-image-placeholder .cover-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 6px;
  margin-bottom: 24px;
}

.blog-card-image-placeholder .cover-line {
  width: 50px;
  height: 1px;
  background: var(--black);
  margin-bottom: 24px;
  transition: width 0.5s var(--ease-out-expo);
}

.blog-card:hover .blog-card-image-placeholder .cover-line {
  width: 80px;
}

.blog-card-image-placeholder .cover-subtitle {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--gray-600);
}

.blog-card-image-placeholder .cover-brand {
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-400);
}

.blog-card-meta {
  text-align: center;
  padding: 20px 0 6px;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
}

.blog-card-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--gray-600);
}

/* ========== BLOG POST ========== */

.blog-post {
  padding: 80px 80px;
  max-width: 1000px;
}

.blog-post-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.blog-post-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}

.blog-post-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-post-cover {
  float: right;
  width: 42%;
  margin: 0 0 36px 48px;
}

.blog-post-body h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 56px 0 24px;
  position: relative;
  padding-left: 20px;
}

.blog-post-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  background: var(--black);
}

.blog-post-body h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 40px 0 16px;
  letter-spacing: 0.5px;
}

.blog-post-body p {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.blog-post-body strong {
  color: var(--black);
  font-weight: 600;
}

.blog-post-body blockquote {
  border-left: 3px solid var(--black);
  padding: 16px 32px;
  margin: 32px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-600);
  background: var(--cream);
}

.blog-post-body ul, .blog-post-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.blog-post-body ul {
  list-style: disc;
}

.blog-post-body ol {
  list-style: decimal;
}

.blog-post-body li {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.blog-post-body .example-box {
  background: var(--cream);
  padding: 32px 36px;
  margin: 32px 0;
  border-left: 3px solid var(--accent);
  position: relative;
}

.blog-post-body .example-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
}

.blog-post-body .scamper-step {
  margin-bottom: 8px;
  padding-left: 0;
}

.blog-post-body .scamper-step li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.blog-post-body .scamper-step li:last-child {
  border-bottom: none;
}

.blog-post-body .exercise-list {
  list-style: decimal;
  padding-left: 24px;
}

.blog-post-body .exercise-list li {
  padding: 6px 0;
  font-weight: 500;
  color: var(--black);
}

.blog-post-body .final-note {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--black);
}

.blog-post-body .final-note p {
  font-size: 1.05rem;
  line-height: 2;
}

/* ========== CONTACT PAGE ========== */

.contact-section {
  padding: 100px 80px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.contact-intro p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 36px;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--black);
}

.form-group label span {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray-400);
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--gray-200);
  padding: 14px 0;
  font-size: 0.9rem;
  transition: border-color 0.4s var(--ease-out-expo);
  background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--black);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  border: 1.5px solid var(--gray-200);
  padding: 16px;
  margin-top: 4px;
}

.form-group textarea:focus {
  border-color: var(--black);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gray-800);
  transition: left 0.4s var(--ease-out-expo);
  z-index: 0;
}

.btn-submit:hover::before {
  left: 0;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

.btn-submit span {
  position: relative;
  z-index: 1;
}

.contact-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.contact-image img {
  max-width: 100%;
  max-height: 600px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.contact-image::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -10px;
  width: 80%;
  height: 100%;
  background: var(--cream);
  z-index: 0;
  transition: transform 0.6s var(--ease-out-expo);
}

.contact-image:hover::before {
  transform: translate(6px, -6px);
}

/* ========== FORM SUCCESS ========== */

.form-success {
  display: none;
  text-align: center;
  padding: 48px;
}

.form-success.active {
  display: block;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--gray-600);
}

/* ========== FOOTER ========== */

.site-footer {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 1px;
  border-top: 1px solid var(--gray-200);
  margin-top: 80px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--black);
}

/* ========== BACK TO TOP ========== */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .blog-post-cover {
    float: none;
    width: 100%;
    margin: 0 0 36px;
  }

  .about-image {
    order: -1;
  }

  .about-section,
  .blog-listing,
  .blog-post,
  .contact-section {
    padding: 60px 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 56px;
  }

  .home-topbar {
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .home-search input {
    width: 140px;
  }

  .home-hero-section {
    padding: 0 24px;
  }

  .home-title {
    letter-spacing: -2px;
  }

  .home-nav {
    padding: 16px 24px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .home-nav a {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  .sidebar-brand {
    font-size: 1.6rem;
    letter-spacing: 3px;
  }

  .about-section,
  .blog-listing,
  .blog-post,
  .contact-section {
    padding: 40px 28px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .blog-post-body h2 {
    font-size: 1.2rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 24px;
  }

  .about-image::before,
  .contact-image::before {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --sidebar-width: 48px;
  }

  .sidebar-brand {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .hamburger span {
    width: 18px;
  }

  .home-search {
    flex-wrap: wrap;
  }

  .home-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
