/**
 * Layouts CSS - Header, Footer, Navigation, and Section Layouts
 * Based on static demo design
 * 
 * @package Flavor Theme
 * @since 1.0.0
 */

/* ============================================
   Top Bar
   ============================================ */

.top-bar {
    background: var(--color-graphite);
    color: var(--color-ivory);
    height: 40px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-left .shipping-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(250, 249, 247, 0.8);
}

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

.top-link {
    color: rgba(250, 249, 247, 0.7);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.top-link:hover {
    color: var(--color-ivory);
}

.top-bar-divider {
    width: 1px;
    height: 16px;
    background: rgba(250, 249, 247, 0.2);
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
}

/* ============================================
   Site Header
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--color-ivory);
    border-bottom: 1px solid rgba(58, 54, 50, 0.08);
    transition: box-shadow 0.4s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 2rem;
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.site-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-graphite);
}

.site-title span {
    display: block;
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--color-warm-gray-dark);
    font-weight: 300;
    margin-top: 2px;
}

/* Main Navigation */
.main-navigation {
    display: none;
    flex: 1;
    justify-content: center;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: flex;
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    color: var(--color-graphite);
}

.nav-menu > li > a:hover {
    color: var(--color-accent);
}

.nav-menu > li > a svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.nav-menu > li:hover > a svg {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 220px;
    background: var(--color-ivory);
    border: 1px solid rgba(58, 54, 50, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
    z-index: var(--z-dropdown);
}

.nav-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--color-warm-gray-dark);
    transition: all 0.2s;
}

.sub-menu a:hover {
    background: var(--color-ivory-dark);
    color: var(--color-graphite);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    position: relative;
    color: var(--color-graphite);
}

.header-action-btn:hover {
    opacity: 0.7;
}

.header-action-btn svg {
    width: 20px;
    height: 20px;
}

.header-action-btn .cart-count,
.header-action-btn .wishlist-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    background: var(--color-graphite);
    color: var(--color-ivory);
    font-size: 10px;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-action-btn .cart-count[data-count="0"],
.header-action-btn .wishlist-count[data-count="0"] {
    display: none;
}

.user-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    border: 2px solid var(--color-ivory);
}

.btn-header {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-graphite);
    transition: all 0.4s ease;
    display: none;
}

@media (min-width: 768px) {
    .btn-header {
        display: block;
    }
}

.btn-header:hover {
    background: var(--color-graphite);
    color: var(--color-ivory);
}

.btn-header.primary {
    background: var(--color-graphite);
    color: var(--color-ivory);
}

.btn-header.primary:hover {
    background: #2A2826;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger {
    position: relative;
    width: 22px;
    height: 14px;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: all 0.4s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* ============================================
   Mobile Navigation
   ============================================ */

.mobile-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    pointer-events: none;
}

.mobile-navigation[aria-hidden="false"] {
    pointer-events: auto;
}

.mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 24, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-navigation[aria-hidden="false"] .mobile-nav-overlay {
    opacity: 1;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 90vw;
    background: var(--color-ivory);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}

.mobile-navigation[aria-hidden="false"] .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-title {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav-close {
    padding: 0.5rem;
}

.mobile-nav-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.mobile-menu {
    padding: 0;
}

.mobile-menu a {
    display: block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    color: var(--color-graphite);
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-menu a:hover {
    background: var(--color-ivory-dark);
}

.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ============================================
   Mini Cart Drawer
   ============================================ */

.mini-cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    pointer-events: none;
}

.mini-cart-drawer[aria-hidden="false"] {
    pointer-events: auto;
}

.mini-cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 24, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mini-cart-drawer[aria-hidden="false"] .mini-cart-overlay {
    opacity: 1;
}

.mini-cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 100vw;
    background: var(--color-ivory);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}

.mini-cart-drawer[aria-hidden="false"] .mini-cart-panel {
    transform: translateX(0);
}

.mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.mini-cart-header h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mini-cart-close {
    padding: 0.5rem;
}

.mini-cart-content {
    flex: 1;
    overflow-y: auto;
}

/* ============================================
   Search Modal
   ============================================ */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    pointer-events: none;
}

.search-modal[aria-hidden="false"] {
    pointer-events: auto;
}

.search-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 24, 0.9);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.search-modal[aria-hidden="false"] .search-modal-overlay {
    opacity: 1;
}

.search-modal-content {
    position: relative;
    padding-top: 120px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.search-modal[aria-hidden="false"] .search-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.search-form {
    position: relative;
}

.search-field-wrapper {
    display: flex;
    align-items: center;
    background: var(--color-ivory);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.search-field {
    flex: 1;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    border: none;
    background: transparent;
    outline: none;
}

.search-submit {
    padding: 1.25rem;
    background: var(--color-graphite);
    color: var(--color-ivory);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: var(--color-ivory);
    padding: 0.5rem;
}

.search-suggestions {
    margin-top: 2rem;
    color: var(--color-ivory);
}

.search-popular h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.popular-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.popular-terms a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    transition: background 0.2s;
}

.popular-terms a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Site Footer
   ============================================ */

.site-footer {
    background: var(--color-graphite);
    color: var(--color-ivory);
}

.footer-main {
    padding: 5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: span 3;
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-logo span {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
    margin-top: 4px;
}

.footer-about {
    font-size: 0.875rem;
    line-height: 1.7;
    opacity: 0.7;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 249, 247, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-ivory);
    color: var(--color-graphite);
    border-color: transparent;
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(250, 249, 247, 0.1);
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.footer-legal a:hover {
    opacity: 1;
}

.footer-payments {
    display: flex;
    gap: 0.75rem;
}

.footer-payments span {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    background: rgba(250, 249, 247, 0.1);
    border-radius: var(--radius-sm);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--color-graphite);
}

.hero-lg {
    min-height: 90vh;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 25, 24, 0.7) 0%, rgba(26, 25, 24, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 4rem var(--container-padding);
    color: var(--color-ivory);
}

.hero-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-ivory);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   Section Layouts
   ============================================ */

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

.section-header.text-center {
    text-align: center;
}

.section-header:not(.text-center) {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-warm-gray-dark);
    max-width: 600px;
}

.section-header.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-bg-alt {
    background: var(--color-ivory-dark);
}

.section-bg-dark {
    background: var(--color-graphite);
    color: var(--color-ivory);
}

/* ============================================
   Grid Layouts
   ============================================ */

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

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

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

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Placeholder Images (for demo)
   ============================================ */

.placeholder-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, var(--color-ivory-dark), var(--color-border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-warm-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-graphite);
    color: var(--color-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Newsletter Section (footer template)
   ============================================ */

.newsletter-section {
    background: var(--color-charcoal);
    padding: 4rem 0;
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

@media (max-width: 768px) {
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

.newsletter-content {
    flex: 1;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-ivory);
    margin: 0 0 0.5rem;
}

.newsletter-text {
    font-size: 0.95rem;
    color: rgba(250, 249, 247, 0.7);
    margin: 0;
}

.newsletter-form {
    flex: 1;
    max-width: 480px;
}

.newsletter-field {
    display: flex;
    gap: 0.75rem;
}

.newsletter-field input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    border: 1px solid rgba(250, 249, 247, 0.2);
    background: transparent;
    color: var(--color-ivory);
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-field input::placeholder {
    color: rgba(250, 249, 247, 0.5);
}

.newsletter-field input:focus {
    border-color: rgba(250, 249, 247, 0.5);
}

.newsletter-privacy {
    font-size: 0.75rem;
    color: rgba(250, 249, 247, 0.5);
    margin: 0.75rem 0 0;
}

.newsletter-privacy a {
    color: rgba(250, 249, 247, 0.7);
    text-decoration: underline;
}

.newsletter-privacy a:hover {
    color: var(--color-ivory);
}

/* ============================================
   Footer Additional Styles
   ============================================ */

.footer-heading,
.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--color-ivory);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.625rem;
}

.footer-menu a {
    font-size: 0.875rem;
    color: rgba(250, 249, 247, 0.7);
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--color-ivory);
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(250, 249, 247, 0.7);
    margin-bottom: 1.5rem;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--color-ivory);
}

.footer-contact {
    margin-top: 1.25rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(250, 249, 247, 0.7);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-contact .contact-item:hover {
    color: var(--color-ivory);
}

.footer-contact .contact-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-label {
    font-size: 0.75rem;
    color: rgba(250, 249, 247, 0.5);
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.payment-icons img {
    height: 24px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.payment-icons img:hover {
    opacity: 1;
}

/* Social Links in Footer */
.footer-social,
.social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social a,
.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 249, 247, 0.2);
    color: rgba(250, 249, 247, 0.7);
    transition: all 0.3s;
}

.footer-social a:hover,
.social-link:hover {
    background: var(--color-ivory);
    border-color: var(--color-ivory);
    color: var(--color-ink);
}

.footer-social svg,
.social-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   Grid Utilities
   ============================================ */

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

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

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

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Section Eyebrow Alternative
   ============================================ */

.section-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-graphite);
    margin: 0;
}
