/* ==========================================
   Neil Joseph — Personal Blog
   Ultra-minimal: dark charcoal + soft ivory
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

/* ==========================================
   DEFAULT THEME — Dawn (Light)
   ========================================== */
:root {
    --bg-primary: #F2EDE6;
    --bg-secondary: #EAE4DB;
    --bg-card: #FAF8F5;
    --bg-card-hover: #FFFFFF;
    --bg-overlay: rgba(242, 237, 230, 0.7);

    --text-primary: #1A1816;
    --text-secondary: #4A453F;
    --text-muted: #8A8480;
    --text-faint: #C5BFBA;

    --accent: #4A453F;
    --accent-light: #5A554F;
    --accent-warm: #6A6560;
    --sage: #6B7F5A;
    --sage-light: #7E926D;
    --dusty-blue: #5A7088;
    --dusty-rose: #9E706A;
    --golden: #4A453F;

    --border: rgba(26, 24, 22, 0.08);
    --border-light: rgba(26, 24, 22, 0.04);

    --shadow-sm: 0 1px 3px rgba(26, 24, 22, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 24, 22, 0.06);
    --shadow-lg: 0 8px 32px rgba(26, 24, 22, 0.08);
    --shadow-dreamy: 0 12px 48px rgba(26, 24, 22, 0.06);

    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --hero-overlay: linear-gradient(
        to bottom,
        rgba(242, 237, 230, 0) 0%,
        rgba(242, 237, 230, 0.3) 50%,
        rgba(242, 237, 230, 0.95) 100%
    );
    --hero-text: #1A1816;
    --hero-text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);

    --nav-bg: rgba(242, 237, 230, 0.9);

    --toggle-icon: "🌙";
}

/* ==========================================
   ALTERNATE THEME — Dusk (Dark)
   ========================================== */
[data-theme="dark"] {
    --bg-primary: #1A1816;
    --bg-secondary: #211F1C;
    --bg-card: #262320;
    --bg-card-hover: #2D2A26;
    --bg-overlay: rgba(26, 24, 22, 0.7);

    --text-primary: #E8E0D4;
    --text-secondary: #A8A098;
    --text-muted: #706860;
    --text-faint: #3D3935;

    --accent: #C8BCA8;
    --accent-light: #DDD3C2;
    --accent-warm: #B0A48E;
    --golden: #C8BCA8;

    --border: rgba(232, 224, 212, 0.08);
    --border-light: rgba(232, 224, 212, 0.04);

    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-dreamy: 0 16px 60px rgba(0, 0, 0, 0.3);

    --hero-overlay: linear-gradient(
        to bottom,
        rgba(26, 24, 22, 0) 0%,
        rgba(26, 24, 22, 0.3) 50%,
        rgba(26, 24, 22, 0.97) 100%
    );
    --hero-text: #E8E0D4;
    --hero-text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);

    --nav-bg: rgba(26, 24, 22, 0.9);

    --toggle-icon: "☀️";
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition), color var(--transition);
}

/* Subtle film grain texture for depth */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

::selection {
    background: var(--text-primary);
    color: var(--bg-primary);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition);
}

/* When hero is present, navbar overlays the hero */
body.has-hero .navbar {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}

body.has-hero .navbar .nav-brand h1,
body.has-hero .navbar .nav-link,
body.has-hero .navbar .nav-link.active,
body.has-hero .navbar .theme-toggle,
body.has-hero .navbar .sound-toggle {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.25);
}

body.has-hero .navbar .nav-link:hover {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

/* When scrolled, revert to normal theme colors */
body.has-hero .navbar.scrolled .nav-brand h1,
body.has-hero .navbar.scrolled .nav-link,
body.has-hero .navbar.scrolled .nav-link.active {
    color: var(--text-primary);
    text-shadow: none;
}

body.has-hero .navbar.scrolled .nav-link:not(.active) {
    color: var(--text-muted);
}

body.has-hero .navbar.scrolled .theme-toggle,
body.has-hero .navbar.scrolled .sound-toggle {
    color: var(--text-muted);
    text-shadow: none;
    border-color: var(--border);
}

body.has-hero .navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.nav-brand h1 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    font-style: italic;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.125rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.6875rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Theme & Sound Toggles */
.theme-toggle,
.sound-toggle {
    background: none;
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    transition: all var(--transition);
    color: var(--text-muted);
    flex-shrink: 0;
}

.theme-toggle:hover,
.sound-toggle:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.sound-toggle.playing {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.sound-toggle.playing .sound-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-image.hero-image-active {
    opacity: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
    transition: background var(--transition);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 3rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-quote {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.25;
    color: var(--text-primary);
    max-width: 750px;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    transition: opacity 0.6s ease;
}

.hero-quote-attr {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-style: normal;
    transition: opacity 0.6s ease;
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-faint);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.hero-dot.active {
    opacity: 1;
    background: var(--text-secondary);
    transform: scale(1.3);
}

/* Hero Arrow Navigation */
.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.hero-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    pointer-events: all;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: scale(1.08);
}

.hero-nav {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.hero-nav a {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.hero-nav a:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-secondary);
}

/* ==========================================
   SECTION BASICS
   ========================================== */
section {
    padding: 7rem 0;
}

/* Full-height sections on homepage for premium scroll feel */
body.has-hero .latest-posts,
body.has-hero .featured-projects,
body.has-hero .newsletter {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

body.has-hero .latest-posts > .container,
body.has-hero .featured-projects > .container,
body.has-hero .newsletter > .container {
    width: 100%;
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    text-align: left;
    margin-bottom: 0;
    line-height: 1.15;
}

/* ==========================================
   LATEST POSTS
   ========================================== */
.latest-posts {
    background: var(--bg-primary);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
}

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

/* Subtle top line on hover */
.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-faint), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

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

.post-card-image {
    width: 100%;
    height: 240px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: saturate(0.6) brightness(0.85);
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
    filter: saturate(0.9) brightness(1);
}

.post-card-content {
    padding: 2rem;
}

.post-category {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.875rem;
    background: none;
    padding: 0;
    border-radius: 0;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: 0;
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.65;
    font-size: 0.8125rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    margin-bottom: 0;
}

.post-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.post-tags {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.tag {
    color: var(--text-muted);
    padding: 0.2rem 0;
    font-size: 0.6875rem;
    font-weight: 400;
    font-style: italic;
    background: none;
    border: none;
    border-radius: 0;
    font-family: var(--font-serif);
}

.tag::before {
    content: '#';
    opacity: 0.4;
}

.tag:hover {
    color: var(--text-primary);
    background: none;
}

.post-link {
    display: none;
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ==========================================
   VIEW ALL
   ========================================== */
.view-all {
    text-align: center;
    margin-top: 1.5rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.6875rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* ==========================================
   PROJECTS — Homepage
   ========================================== */
.featured-projects {
    background: var(--bg-secondary);
    transition: background var(--transition);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    text-align: left;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    display: none;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-dreamy);
}

.project-icon {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    display: block;
}

.project-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.55;
    font-size: 0.8125rem;
}

.project-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.6875rem;
    transition: color var(--transition);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-link:hover {
    color: var(--text-primary);
}

/* ==========================================
   NEWSLETTER
   ========================================== */
.newsletter {
    background: var(--bg-primary);
    text-align: center;
    position: relative;
}

.newsletter-content h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-style: italic;
}

.newsletter-content p {
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    max-width: 420px;
    margin: 0 auto;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 240px;
    padding: 0.75rem 1.125rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.8125rem;
    font-family: var(--font-sans);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--text-faint);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--text-muted);
}

/* ==========================================
   QUOTES SECTION
   ========================================== */
.quotes-section {
    background: var(--bg-secondary);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    transition: background var(--transition);
}

.quotes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.home-quote {
    text-align: center;
    padding: 2.5rem;
}

.home-quote p {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.home-quote cite {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .quotes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2.5rem;
    border-top: 1px solid var(--border);
    transition: background var(--transition);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-believe p {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 480px;
}

.footer-section h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-style: italic;
}

.footer-section h4 {
    font-family: var(--font-sans);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.8125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.375rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
    font-size: 0.8125rem;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    padding: 0.4rem 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.social-link:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
    }

    .nav-brand h1 {
        font-size: 1.125rem;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        font-size: 0.5625rem;
        padding: 0.375rem 0.5rem;
        letter-spacing: 0.1em;
    }

    .hero {
        height: 100vh;
        min-height: 450px;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
        opacity: 1;
    }

    .hero-quote {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 1.5rem 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4.5rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

    .hero-nav {
        flex-direction: column;
        gap: 0.75rem;
    }
}
