@layer components {
        /* ══════════════════════════════════════════════════════════════
           DESIGN SYSTEM - BONUS IMMOBILIARE
           Warm Editorial Aesthetic
        ══════════════════════════════════════════════════════════════ */

        :root {
            /* Primary Palette - Olive Family */
            --olive: #5C6B4A;
            --olive-deep: #3D4832;
            --olive-dark: #2A3223;
            --olive-light: #7A8A68;
            --sage: #8A9A78;
            --sage-pale: #D4DEC9;
            --sage-mist: #E8EEE0;

            /* Warm Neutrals */
            --cream: #FAF7F2;
            --cream-dark: #F2EDE4;
            --parchment: #EDE7DB;
            --stone: #DAD7CD;
            --earth: #8B8178;
            --bark: #4A3F35;

            /* Accent Colors */
            --terracotta: #F06543;
            --terracotta-light: #F4846A;
            --terracotta-pale: #F5E6DF;
            --gold: #BFA67A;
            --gold-light: #D4C4A0;
            --gold-pale: #F5F0E5;

            /* Typography */
            --font-display: 'Overlock', 'Overlock Fallback', Georgia, 'Times New Roman', serif;
            --font-body: 'Source Serif 4', Georgia, serif;

            /* Spacing Scale */
            --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;
            --space-5xl: 8rem;

            /* Border Radius */
            --radius-sm: 0.5rem;
            --radius-md: 1rem;
            --radius-lg: 1.5rem;
            --radius-xl: 2rem;
            --radius-full: 9999px;

            /* Shadows */
            --shadow-soft: 0 2px 20px rgba(74, 63, 53, 0.06);
            --shadow-medium: 0 4px 30px rgba(74, 63, 53, 0.1);
            --shadow-lifted: 0 12px 40px rgba(74, 63, 53, 0.12);

            /* Transitions */
            --transition-fast: 0.15s ease;
            --transition-base: 0.3s ease;
            --transition-slow: 0.5s ease;
        }

        /* ══════════════════════════════════════════════════════════════
           BASE RESET & TYPOGRAPHY
        ══════════════════════════════════════════════════════════════ */

        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--cream);
            color: var(--bark);
            line-height: 1.7;
            font-size: 1.125rem;
            font-weight: 400;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

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

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-display);
            font-weight: 500;
            line-height: 1.2;
            color: var(--olive-deep);
        }

        p {
            margin-bottom: var(--space-md);
        }

        a {
            color: inherit;
            text-decoration: none;
        }

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

        /* HEADER — consolidato: usa @layer components (src/css/components.css).
           Blocco header/nav/logo/mobile duplicato rimosso Wave 2.3 (era unlayered,
           confliggeva con l'header shared: classe .scrolled vs .solid, logo 2-parti). */
        /* ══════════════════════════════════════════════════════════════
           HERO SECTION
        ══════════════════════════════════════════════════════════════ */

        /* Header forced solid on the homepage (cream hero). homepage.css loads
           ONLY here → global header-scroll.js + other pages untouched. */
        .header {
            background: rgba(250, 247, 242, 0.95);
            backdrop-filter: blur(20px);
            box-shadow: var(--shadow-soft);
        }
        .header .logo .logo-on-dark { display: none; }
        .header .logo .logo-on-light { display: block; }
        .header .nav-link { color: var(--bark); }

        .hero {
            position: relative;
            padding: calc(var(--header-height) + var(--space-3xl)) var(--space-2xl) var(--space-4xl);
            background: var(--cream);
            text-align: center;
            overflow: hidden;
        }
        .hero-rule {
            width: 56px; height: 1px;
            background: var(--terracotta); opacity: 0.5;
            margin: 0 auto var(--space-xl);
        }
        .hero-meta {
            font-family: var(--font-body); font-size: 0.9rem; color: var(--earth);
            margin: var(--space-lg) 0 0;
            opacity: 0; animation: fadeInUp 0.8s ease forwards; animation-delay: 1s;
        }
        .hero-meta strong { color: var(--bark); font-weight: var(--weight-semibold); }

        /* Organic background shapes */
        .hero::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -10%;
            width: 60%;
            height: 80%;
            background: radial-gradient(ellipse, rgba(212, 196, 160, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -20%;
            width: 70%;
            height: 90%;
            background: radial-gradient(ellipse, rgba(196, 114, 76, 0.1) 0%, transparent 60%);
            border-radius: 50%;
            pointer-events: none;
        }

        /* Decorative architectural silhouette */
        .hero-decor {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 200px;
            opacity: 0.08;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' fill='%23FAF7F2'%3E%3Cpath d='M0,200 L0,150 L50,150 L50,100 L80,100 L80,80 L100,60 L120,80 L120,100 L150,100 L150,150 L200,150 L200,120 L230,120 L230,90 L260,70 L290,90 L290,120 L320,120 L320,150 L400,150 L400,130 L420,130 L420,110 L440,90 L460,110 L460,130 L480,130 L480,150 L550,150 L550,80 L580,80 L580,50 L610,30 L640,50 L640,80 L670,80 L670,150 L750,150 L750,140 L780,140 L780,100 L810,80 L840,100 L840,140 L870,140 L870,150 L950,150 L950,110 L980,110 L980,70 L1010,50 L1040,70 L1040,110 L1070,110 L1070,150 L1150,150 L1150,130 L1180,130 L1180,150 L1200,150 L1200,200 Z'/%3E%3C/svg%3E") repeat-x bottom;
            background-size: auto 100%;
        }

        /* Floating clouds - organic, dreamy atmosphere */
        .hero-clouds {
            position: absolute;
            top: 0;
            right: 0;
            width: 55%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
            z-index: 0;
        }

        .cloud {
            position: absolute;
        }

        .cloud svg {
            fill: var(--cream);
            filter: blur(0.5px);
        }

        /* Large cloud - top right, slow drift */
        .cloud-1 {
            top: 12%;
            right: 8%;
            width: 200px;
            opacity: 0.08;
            animation: driftLarge 35s ease-in-out infinite;
        }

        /* Medium cloud - middle, gentle bob */
        .cloud-2 {
            top: 38%;
            right: 22%;
            width: 140px;
            opacity: 0.06;
            animation: driftMedium 28s ease-in-out infinite;
            animation-delay: -8s;
        }

        /* Small cloud - lower, subtle movement */
        .cloud-3 {
            top: 58%;
            right: 12%;
            width: 110px;
            opacity: 0.05;
            animation: driftSmall 32s ease-in-out infinite;
            animation-delay: -15s;
        }

        /* Tiny accent cloud */
        .cloud-4 {
            top: 25%;
            right: 35%;
            width: 70px;
            opacity: 0.04;
            animation: driftTiny 40s ease-in-out infinite;
            animation-delay: -20s;
        }

        @keyframes driftLarge {
            0%, 100% { transform: translate(0, 0) scale(1); }
            20% { transform: translate(-12px, 6px) scale(1.01); }
            40% { transform: translate(-20px, -4px) scale(0.99); }
            60% { transform: translate(-8px, 8px) scale(1.02); }
            80% { transform: translate(5px, -2px) scale(1); }
        }

        @keyframes driftMedium {
            0%, 100% { transform: translate(0, 0); }
            25% { transform: translate(10px, -8px); }
            50% { transform: translate(-5px, 5px); }
            75% { transform: translate(8px, 3px); }
        }

        @keyframes driftSmall {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(-15px, -5px) rotate(1deg); }
            66% { transform: translate(8px, 8px) rotate(-1deg); }
        }

        @keyframes driftTiny {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(-10px, 10px); }
        }

        @media (max-width: 1024px) {
            .hero-clouds {
                width: 40%;
            }
            .cloud-4 {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .hero-clouds {
                display: none;
            }
        }

        .hero-content {
            max-width: 860px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero-eyebrow {
            font-family: var(--font-body);
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--terracotta);
            margin: 0 0 var(--space-lg);
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
            animation-delay: 0.2s;
        }

        .hero-title {
            font-family: var(--font-display);
            font-size: var(--text-hero);
            font-weight: var(--weight-bold);
            color: var(--olive-deep);
            line-height: 1.08;
            letter-spacing: -0.01em;
            max-width: 900px;
            margin: 0 auto var(--space-lg);
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
            animation-delay: 0.4s;
        }

        .hero-title em {
            font-style: italic;
            color: var(--terracotta);
            font-weight: var(--weight-bold);
        }

        .hero-subtitle {
            font-size: 1.18rem;
            color: var(--earth);
            max-width: 580px;
            line-height: 1.6;
            margin: 0 auto;
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
            animation-delay: 0.6s;
        }

        .hero-actions {
            display: flex;
            gap: var(--space-md);
            flex-wrap: wrap;
            justify-content: center;
            margin-top: var(--space-2xl);
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
            animation-delay: 0.8s;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            padding: var(--space-md) var(--space-xl);
            border-radius: var(--radius-full);
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: var(--transition-base);
        }

        .btn-primary {
            background: var(--terracotta);
            color: var(--cream);
        }

        .btn-primary:hover {
            background: var(--terracotta-light);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(196, 114, 76, 0.35);
        }

        .btn-secondary {
            background: transparent;
            color: var(--olive);
            border: 2px solid var(--olive);
        }

        .btn-secondary:hover {
            background: var(--olive);
            color: var(--cream);
            border-color: var(--olive);
        }

        .btn-icon {
            width: 20px;
            height: 20px;
            transition: var(--transition-fast);
        }

        .btn:hover .btn-icon {
            transform: translateX(3px);
        }

        /* Scroll indicator */
        .scroll-hint {
            position: absolute;
            bottom: var(--space-2xl);
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--space-sm);
            color: rgba(250, 247, 242, 0.5);
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            opacity: 0;
            animation: fadeIn 0.8s ease forwards;
            animation-delay: 1.2s;
        }

        .scroll-hint-icon {
            width: 24px;
            height: 40px;
            border: 2px solid rgba(250, 247, 242, 0.3);
            border-radius: var(--radius-lg);
            position: relative;
        }

        .scroll-hint-icon::before {
            content: '';
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 8px;
            background: var(--gold);
            border-radius: var(--radius-full);
            animation: scrollBounce 2s ease-in-out infinite;
        }

        @keyframes scrollBounce {
            0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
            50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
        }

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

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

        /* ══════════════════════════════════════════════════════════════
           FEATURED ARTICLES - MAGAZINE GRID
        ══════════════════════════════════════════════════════════════ */

        .featured {
            padding: var(--space-5xl) var(--space-2xl);
            background: var(--parchment);
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: var(--space-3xl);
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--terracotta);
            margin-bottom: var(--space-md);
        }

        .section-label::before,
        .section-label::after {
            content: '';
            width: 30px;
            height: 1px;
            background: var(--terracotta);
            opacity: 0.5;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 400;
            margin-bottom: var(--space-md);
        }

        .section-title em {
            font-style: italic;
            color: var(--olive);
        }

        .section-subtitle {
            font-size: 1.125rem;
            color: var(--earth);
            max-width: 500px;
            margin: 0 auto;
        }

        /* Magazine-style asymmetric grid */
        .magazine-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-template-rows: auto auto;
            gap: var(--space-lg);
            max-width: 1400px;
            margin: 0 auto;
        }

        .article-card {
            position: relative;
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: var(--transition-base);
            display: flex;
            flex-direction: column;
        }

        .homepage-reveal-enabled .article-card {
            translate: 0 24px;
            transition:
                translate 0.6s ease,
                transform var(--transition-base),
                box-shadow var(--transition-base);
        }

        .homepage-reveal-enabled .article-card.is-visible {
            translate: 0 0;
        }

        .article-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lifted);
        }

        /* Large featured card */
        .article-card.featured-large {
            grid-column: span 7;
            grid-row: span 2;
        }

        /* Medium cards */
        .article-card.featured-medium {
            grid-column: span 5;
        }

        .article-card-image {
            position: relative;
            aspect-ratio: 16/10;
            background: var(--sage-mist);
            overflow: hidden;
        }

        .article-card.featured-large .article-card-image {
            aspect-ratio: 16/12;
        }

        .article-card-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 50%, rgba(42, 50, 35, 0.6) 100%);
        }

        .article-category {
            position: absolute;
            top: var(--space-md);
            left: var(--space-md);
            z-index: 2;
            background: var(--gold);
            color: var(--olive-dark);
            padding: var(--space-xs) var(--space-md);
            border-radius: var(--radius-full);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .article-card-body {
            padding: var(--space-lg);
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .article-card.featured-large .article-card-body {
            padding: var(--space-xl);
        }

        .article-card-title {
            font-family: var(--font-display);
            font-size: 1.25rem;
            font-weight: 500;
            color: var(--olive-deep);
            line-height: 1.3;
            margin-bottom: var(--space-sm);
            transition: var(--transition-base);
        }

        .article-card.featured-large .article-card-title {
            font-size: 1.75rem;
        }

        .article-card:hover .article-card-title {
            color: var(--terracotta);
        }

        .article-card-excerpt {
            font-size: 0.95rem;
            color: var(--earth);
            line-height: 1.6;
            margin-bottom: var(--space-md);
            flex: 1;
        }

        .article-card-meta {
            display: flex;
            align-items: center;
            gap: var(--space-md);
            font-size: 0.8rem;
            color: var(--stone);
        }

        .article-card-meta span {
            display: flex;
            align-items: center;
            gap: var(--space-xs);
        }

        .article-card-meta svg {
            width: 14px;
            height: 14px;
            opacity: 0.7;
        }

        /* View all link */
        .view-all {
            text-align: center;
            margin-top: var(--space-3xl);
        }

        .view-all-link {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            font-weight: 600;
            color: var(--olive);
            padding: var(--space-md) var(--space-xl);
            border: 2px solid var(--olive);
            border-radius: var(--radius-full);
            transition: var(--transition-base);
        }

        .view-all-link:hover {
            background: var(--olive);
            color: var(--cream);
        }

        .view-all-link svg {
            width: 18px;
            height: 18px;
            transition: var(--transition-fast);
        }

        .view-all-link:hover svg {
            transform: translateX(4px);
        }

        /* ══════════════════════════════════════════════════════════════
           CATEGORIES SECTION
        ══════════════════════════════════════════════════════════════ */

        .categories {
            padding: var(--space-5xl) var(--space-2xl);
            background: var(--parchment);
            position: relative;
            overflow: hidden;
        }

        /* Decorative wave */
        .categories::before {
            content: '';
            position: absolute;
            top: -2px;
            left: 0;
            right: 0;
            height: 60px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,30 400,0 600,30 C800,60 1000,30 1200,60 L1200,0 L0,0 Z' fill='%23FAF7F2'/%3E%3C/svg%3E");
            background-size: cover;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--space-xl);
            max-width: 1100px;
            margin: 0 auto;
        }

        .category-card {
            background: white;
            border-radius: var(--radius-xl);
            padding: var(--space-2xl);
            text-align: center;
            transition: var(--transition-base);
            position: relative;
            overflow: hidden;
        }

        .homepage-reveal-enabled .category-card {
            translate: 0 24px;
            transition:
                translate 0.6s ease,
                transform var(--transition-base),
                box-shadow var(--transition-base);
        }

        .homepage-reveal-enabled .category-card.is-visible {
            translate: 0 0;
        }

        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--olive);
            transform: scaleX(0);
            transition: var(--transition-base);
        }

        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lifted);
        }

        .category-card:hover::before {
            transform: scaleX(1);
        }

        .category-icon {
            width: 72px;
            height: 72px;
            margin: 0 auto var(--space-lg);
            background: var(--sage-mist);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-base);
        }

        .category-icon svg {
            width: 36px;
            height: 36px;
            color: var(--olive);
            transition: var(--transition-base);
        }

        .category-card:hover .category-icon {
            background: var(--olive);
        }

        .category-card:hover .category-icon svg {
            color: var(--cream);
        }

        @media (prefers-reduced-motion: reduce) {
            .homepage-reveal-enabled .article-card,
            .homepage-reveal-enabled .category-card {
                translate: 0 0;
                transition: var(--transition-base);
            }
        }

        .category-name {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 500;
            color: var(--olive-deep);
            margin-bottom: var(--space-sm);
        }

        .category-desc {
            font-size: 0.95rem;
            color: var(--earth);
            line-height: 1.6;
            margin-bottom: var(--space-lg);
        }

        .category-count {
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--terracotta);
            padding: var(--space-xs) var(--space-md);
            background: var(--terracotta-pale);
            border-radius: var(--radius-full);
            display: inline-block;
        }

        /* ══════════════════════════════════════════════════════════════
           FOOTER
        ══════════════════════════════════════════════════════════════ */

        .footer {
            background: var(--olive-dark);
            padding: var(--space-4xl) var(--space-2xl) var(--space-2xl);
            color: rgba(250, 247, 242, 0.7);
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: var(--space-3xl);
            padding-bottom: var(--space-3xl);
            border-bottom: 1px solid rgba(250, 247, 242, 0.1);
        }

        .footer-brand {
            max-width: 280px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            margin-bottom: var(--space-md);
        }

        .footer-logo-img {
            height: 40px;
            width: auto;
        }

        .footer-brand p {
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 0;
        }

        .footer-nav h4 {
            font-family: var(--font-display);
            font-size: 1rem;
            font-weight: 600;
            color: var(--cream);
            margin-bottom: var(--space-lg);
        }

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

        .footer-nav li {
            margin-bottom: var(--space-sm);
        }

        .footer-nav a {
            font-size: 0.9rem;
            transition: var(--transition-base);
        }

        .footer-nav a:hover {
            color: var(--gold);
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: var(--space-xl);
            font-size: 0.85rem;
        }

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

        .footer-legal a {
            transition: var(--transition-base);
        }

        .footer-legal a:hover {
            color: var(--cream);
        }

        /* ══════════════════════════════════════════════════════════════
           RESPONSIVE
        ══════════════════════════════════════════════════════════════ */

        @media (max-width: 1024px) {
            .magazine-grid {
                grid-template-columns: 1fr 1fr;
            }

            .article-card.featured-large {
                grid-column: span 2;
                grid-row: span 1;
            }

            .article-card.featured-medium {
                grid-column: span 1;
            }

            .footer-main {
                grid-template-columns: 1fr 1fr;
                gap: var(--space-2xl);
            }

            .footer-brand {
                grid-column: span 2;
                max-width: none;
            }
        }

        @media (max-width: 768px) {
            .header {
                padding: var(--space-md) var(--space-lg);
            }

            .nav {
                display: none;
            }

            .menu-toggle {
                display: flex;
            }

            .hero {
                padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
                min-height: auto;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .hero-actions {
                flex-direction: column;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }

            .scroll-hint {
                display: none;
            }

            .featured,
            .categories,
            .contact {
                padding: var(--space-3xl) var(--space-lg);
            }

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

            .article-card.featured-large,
            .article-card.featured-medium {
                grid-column: span 1;
            }

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

            .footer-main {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-brand {
                grid-column: span 1;
            }

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

            .footer-legal {
                justify-content: center;
            }
        }

}

/* Keep homepage title typography outside the components layer so it beats base h1. */
.hero-title {
    font-size: var(--text-hero);
    line-height: 1.08;
    letter-spacing: 0;
    max-width: 900px;
    margin: 0 auto var(--space-lg);
}

.hero-title em {
    color: var(--terracotta);
    font-weight: var(--weight-bold);
}
