/* =========================================
   Creatifind Website - Main Styles
   Based on Design System V1.0
   ========================================= */

/* Imports */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,500&f[]=zodiak@400&f[]=general-sans@400,500,600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Variables (Match Design System) */
:root {
    /* Colors */
    --color-coquelicot: #FF3C01;
    --color-soot: #160D08;
    --color-gravel: #221A15;
    --color-white: #FFFFFF;
    --color-text-main: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.6);

    /* Spacing Scale - Modular scale for 1080p */
    --spacing-2xs: 4px;
    /* Tight gaps (icon-text) */
    --spacing-xs: 8px;
    /* Small gaps (list items) */
    --spacing-sm: 12px;
    /* Component padding */
    --spacing-md: 20px;
    /* Card padding, between elements */
    --spacing-lg: 32px;
    /* Section gaps */
    --spacing-xl: 56px;
    /* Major section padding */
    --spacing-2xl: 80px;
    /* Page sections */

    /* Typography */
    --font-headline: 'Cabinet Grotesk', sans-serif;
    --font-accent: 'Zodiak', serif;
    --font-body: 'General Sans', sans-serif;

    /* Type Scale - Base for 1080p screens */
    --text-h1: 56px;
    /* Hero/Display - largest text */
    --text-h2: 32px;
    /* Section headings */
    --text-h3: 24px;
    /* Card titles, sub-sections */
    --text-h4: 20px;
    /* Component headings */
    --text-h5: 17px;
    /* Labels, small headings */
    --text-h6: 15px;
    /* Smallest heading */
    --text-subtitle: 17px;
    --text-body: 15px;
    --text-caption: 12px;
    --text-overline: 10px;

    /* Layout */
    --container-max: 1040px;
    /* Tighter width - creates centered, balanced composition */
    --header-height: 90px;
    --hero-top-offset: 140px;
    /* Gap from navbar to hero content */
}

/* =========================================
   Reset & Base
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--color-text-main);
    background-color: var(--color-soot);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

button {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    line-height: inherit;
    padding: 0;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headline);
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-white);
    letter-spacing: -0.03em;
    text-wrap: balance;
    /* Prevents orphaned words on modern browsers */
}

h1 {
    font-size: var(--text-h1);
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: var(--text-h2);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: var(--text-h3);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: var(--text-h4);
    margin-bottom: var(--spacing-xs);
}

p {
    max-width: 65ch;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
    text-wrap: pretty;
    /* Avoids orphans in body text */
}

.text-accent {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-coquelicot);
}

.ds-text-overline {
    font-size: var(--text-overline);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
}

.mb-sm {
    margin-bottom: var(--spacing-sm) !important;
}

.mt-md {
    margin-top: var(--spacing-md) !important;
}

.d-block {
    display: block !important;
}

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

.text-sm {
    font-size: 14px;
}

/* Text Size Utilities */
.text-lg {
    font-size: var(--text-subtitle);
    max-width: 38ch;
    text-wrap: balance;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Block - Controls text flow in sections */
.content-block {
    max-width: 380px;
}

.content-block p {
    max-width: 100%;
    text-wrap: balance;
}

/* Check List - Vertical stacked layout */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.check-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.check-list li i {
    display: none;
}

.check-list li strong {
    color: var(--color-white);
    font-size: var(--text-body);
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-list li strong::before {
    content: "✓";
    color: var(--color-coquelicot);
    font-weight: 600;
}

.check-list li span {
    color: var(--color-text-muted);
    font-size: var(--text-body);
    line-height: 1.5;
    padding-left: 20px;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-number {
    font-family: var(--font-headline);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-coquelicot);
    line-height: 1;
    flex-shrink: 0;
    min-width: 40px;
}

.service-detail {
    max-width: 320px;
}

.service-detail h4 {
    margin-bottom: var(--spacing-xs);
}

.service-detail p {
    font-size: var(--text-body);
    margin-bottom: 0;
    text-wrap: balance;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    font-size: var(--text-caption);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.footer-brand-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-newsletter p {
    font-size: var(--text-caption);
    margin-bottom: var(--spacing-xs);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-column h5 {
    font-size: var(--text-caption);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
}

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

.footer-column li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    font-size: var(--text-body);
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-coquelicot);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--text-caption);
    color: var(--color-text-muted);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--color-coquelicot);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
}

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

/* =========================================
   Components
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-coquelicot);
    color: var(--color-white);
    border: 1px solid var(--color-coquelicot);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FF5C2E;
    /* Lighter Orange */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-link {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    color: var(--color-white);
    gap: 8px;
}

.btn-link:hover {
    color: var(--color-coquelicot);
    transform: translateX(4px);
}

/* Cards */
.card {
    background: var(--color-gravel);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 60, 1, 0.3);
}

.card-media-wrapper {
    height: 300px;
    margin-bottom: var(--spacing-sm);
    border-radius: 4px;
    overflow: hidden;
}

/* Card Link Wrapper */
.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.card-link .card {
    height: 100%;
}

/* Manifesto Card */
.manifesto-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-lg);
}

.manifesto-card .quote-mark {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    position: absolute;
}

.manifesto-card h3 {
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.35;
    margin-bottom: var(--spacing-lg);
}

.manifesto-footer {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--text-overline);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
}

.manifesto-footer .line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* Grid & Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.items-center {
    align-items: center;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: var(--spacing-md);
}

.grid-gap-xl {
    gap: var(--spacing-xl);
}

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

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

section {
    padding: var(--spacing-2xl) 0;
    position: relative;
    width: 100%;
}

.section-bordered {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-soot {
    background-color: var(--color-soot);
}

.bg-gravel {
    background-color: var(--color-gravel);
}

/* Header */
/* Header - Modern Floating Island */
.site-header {
    width: 90%;
    max-width: var(--container-max);
    height: 70px;
    margin: 24px auto 0;
    /* Detach from top */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: rgba(22, 13, 8, 0.6);
    /* Translucent Soot */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    /* Boxy with rounded corners */
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-header .logo img {
    /* Optically center the logo (visual weight is bottom-heavy) */
    transform: translateY(-2px);
}

/* Scrolled state can be slightly more solid or smaller */
.site-header.scrolled {
    background: rgba(22, 13, 8, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-top: 16px;
    /* Sits closer to top when scrolled */
}

/* Header Logo - Design System Sizing */
.header-logo {
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 8px;
    /* Tighter gap for pills */
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.8;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

/* Override pill styling for icon button */
.nav-links a.nav-icon-btn {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.nav-links a.nav-icon-btn:hover {
    background: none !important;
}

/* Special style for the CTA which is inside the list but has btn class */
.nav-links .btn {
    margin-left: 8px;
    padding: 10px 20px !important;
}

/* =========================================
   Hero Section (Full Screen)
   ========================================= */
/* Main Offset for Fixed Header */
.hero-fullscreen {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align entire block to left */
    overflow: hidden;
    padding-top: 0;
    /* Reset */
    /* No negative margin needed for fixed header, it sits on top */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(22, 13, 8, 0.3) 0%,
            rgba(22, 13, 8, 0.6) 50%,
            var(--color-soot) 100%);
    z-index: 1;
}

.hero-content-left {
    position: relative;
    z-index: 2;
    text-align: left;

    /* Alignment Fix - Mirror the Header */
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    padding-top: var(--hero-top-offset);
    /* Offset from navbar */

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: var(--text-h1);
    line-height: 1.05;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-body {
    font-size: var(--text-body);
    max-width: 58ch;
    /* Sized to fit blurb on exactly 2 lines */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    line-height: 1.6;
    text-wrap: balance;
    /* Prevents orphaned words on modern browsers */
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

/* =========================================
   Hero Section (Graphic)
   ========================================= */
.hero-graphic {
    min-height: 90vh;
    /* Nearly full screen */
    display: flex;
    align-items: center;
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

/* Background elements for graphic impact */
.hero-graphic::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(255, 60, 1, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xl);
    align-items: center;
    width: 100%;
    z-index: 1;
}

/* Hero Visual (Placeholder for Graphic/Image) */
.graphic-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--color-gravel);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.circle-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-coquelicot), transparent);
    opacity: 0.2;
    filter: blur(40px);
}

.texture-overlay {
    position: absolute;
    inset: 0;
    /* Simulate grain */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.5;
    mix-blend-mode: overlay;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    :root {
        --text-h1: 72px;
    }

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

    .hero-body {
        margin: var(--spacing-md) auto;
        border-left: none;
        border-top: 2px solid var(--color-coquelicot);
        padding-top: var(--spacing-sm);
        padding-left: 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-graphic::before {
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .graphic-placeholder {
        display: none;
        /* Hide illustrative graphic on small screens to save space */
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    :root {
        --text-h1: 56px;
        --text-h2: 40px;
    }

    .hero-body {
        border-top: none;
        padding-top: 0;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
        /* Center the button */
    }

    .hero-actions .btn {
        width: auto;
        /* Prevent full width */
        min-width: 200px;
        /* Ensure it's not too small */
    }
}

/* =========================================
   High Resolution Screens (1440p+)
   ========================================= */
@media (min-width: 2000px) {
    :root {
        /* Scaled up spacing for 1440p+ */
        --spacing-2xs: 6px;
        --spacing-xs: 10px;
        --spacing-sm: 16px;
        --spacing-md: 28px;
        --spacing-lg: 44px;
        --spacing-xl: 72px;
        --spacing-2xl: 104px;

        /* Scaled up type scale */
        --text-h1: 80px;
        --text-h2: 48px;
        --text-h3: 32px;
        --text-h4: 26px;
        --text-h5: 20px;
        --text-h6: 17px;
        --text-subtitle: 20px;
        --text-body: 17px;
        --text-caption: 13px;
        --text-overline: 11px;

        /* Scaled up layout */
        --container-max: 1200px;
        --hero-top-offset: 180px;
    }

    .site-header {
        height: 80px;
        padding: 0 40px;
    }

    .header-logo {
        width: 140px;
    }
}

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

/* Hamburger Button - Hidden by default */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hamburger animation to X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-soot);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: var(--spacing-sm) 0;
}

.mobile-nav-links a {
    font-family: var(--font-headline);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    color: var(--color-white);
    opacity: 0.8;
    transition: all 0.2s ease;
    display: block;
    padding: 8px 0;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    opacity: 1;
    color: var(--color-coquelicot);
}

.mobile-nav-cta {
    margin-top: var(--spacing-lg);
}

/* Body lock when menu open */
body.menu-open {
    overflow: hidden;
}

/* =========================================
   Enhanced Mobile Responsive Styles
   ========================================= */

@media (max-width: 900px) {

    /* Show hamburger, hide desktop nav */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    /* Header adjustments */
    .site-header {
        width: 94%;
        padding: 0 16px;
        height: 60px;
        margin-top: 16px;
    }

    .site-header.scrolled {
        margin-top: 8px;
    }
}

@media (max-width: 768px) {

    /* Spacing scale reduction */
    :root {
        --spacing-lg: 48px;
        --spacing-xl: 80px;
    }

    /* Container padding */
    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Section padding */
    section {
        padding: var(--spacing-lg) 0;
    }

    /* Footer grid collapse */
    .site-footer .grid-3 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .site-footer .grid-3>div {
        padding-bottom: var(--spacing-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .site-footer .grid-3>div:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Hero fullscreen adjustments */
    .hero-content-left {
        width: 100%;
        padding: 0 var(--spacing-sm);
        /* Center content on mobile */
        align-items: center;
        text-align: center;
        /* Adjust top offset for vertical balance */
        padding-top: var(--header-height);
        justify-content: center;
        height: 100%;
    }

    .hero-title {
        font-size: 42px;
        /* Slightly smaller for better fit */
    }

    .hero-bg-image {
        object-position: 50% 20%;
        /* Focus on top-center for portrait */
    }

    /* Service hero padding */
    .service-hero {
        padding-top: 140px;
    }
}

@media (max-width: 480px) {

    /* Further spacing reduction */
    :root {
        --spacing-lg: 32px;
        --spacing-xl: 56px;
        --text-h1: 40px;
        --text-h2: 28px;
        --text-h3: 24px;
    }

    /* Buttons stay touchable */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }

    /* Cards reduce padding */
    .card {
        padding: var(--spacing-sm);
    }

    /* Contact title */
    .contact-title {
        font-size: 48px;
    }
}

/* =========================================
   Modern Footer Styles
   ========================================= */
.site-footer {
    background: var(--color-gravel);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

/* Subtle background accent */
.site-footer::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 60, 1, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer Top Section - Brand */
.footer-brand {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: end;
}

.footer-brand .footer-logo {
    width: 140px;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-family: var(--font-headline);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--color-white);
    opacity: 0.9;
}

.footer-tagline .text-accent {
    color: var(--color-coquelicot);
    font-family: var(--font-accent);
    font-style: italic;
}

/* Newsletter Section */
.footer-newsletter {
    text-align: right;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: var(--spacing-sm);
    opacity: 0.7;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--color-white);
    border-radius: 4px;
    min-width: 240px;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-coquelicot);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    background: var(--color-coquelicot);
    color: var(--color-white);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: #FF5C2E;
    transform: translateY(-1px);
}

/* Footer Links Grid */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-column h5 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-coquelicot);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    color: var(--color-coquelicot);
    transform: translateY(-2px);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
}

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

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-brand-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-newsletter {
        text-align: left;
    }

    .newsletter-form {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .newsletter-form input {
        min-width: 200px;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

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

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .footer-tagline {
        font-size: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }
}

/* =========================================
   New Section Styles (Value & Services)
   ========================================= */

/* Check List */
.check-list {
    list-style: none;
    margin-top: var(--spacing-sm);
    color: var(--color-text-muted);
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-list i {
    color: var(--color-coquelicot);
    margin-top: 4px;
    /* Align with text top */
}

/* Manifesto Card */
.manifesto-card {
    background: linear-gradient(145deg, var(--color-gravel), #1a120e);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 60, 1, 0.1);
}

.manifesto-card .quote-mark {
    font-family: var(--font-accent);
    font-size: 80px;
    color: var(--color-coquelicot);
    opacity: 0.2;
    line-height: 0;
    margin-bottom: var(--spacing-md);
    display: block;
}

.manifesto-footer {
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.manifesto-footer .line {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    flex-grow: 1;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.service-item {
    display: flex;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    font-family: var(--font-headline);
    font-size: 24px;
    color: var(--color-coquelicot);
    opacity: 0.8;
}

.service-detail h4 {
    margin-bottom: 8px;
    color: var(--color-white);
}

.service-detail p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Nav Icon Button (Contact Button SVG) */
.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, filter 0.2s ease;
    margin-left: 16px;
}

.nav-icon-btn img {
    height: 40px;
    /* Match roughly with logo height */
    width: auto;
    display: block;
}

.nav-icon-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.nav-icon-btn:focus {
    outline: none;
    /* Remove focus outline */
}

.nav-icon-btn:active {
    transform: translateY(0);
    /* Reset on click */
}

/* Fix for Contact Section Link Alignment */
#contact p {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Contact Page & Form Styles
   ========================================= */

/* Layout */
.contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--spacing-xl);
}

.contact-title {
    font-size: 80px;
    line-height: 0.9;
    letter-spacing: -2px;
}

/* Architectural Form */
.architectural-form {
    background: linear-gradient(145deg, rgba(34, 26, 21, 0.4), rgba(22, 13, 8, 0.6));
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    /* Sharp corners */
}

.form-group {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.form-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Underline only */
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    padding: 12px 0;
    transition: all 0.3s ease;
    border-radius: 0;
    /* Reset */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}


.form-group input:focus,

.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--color-coquelicot);
    padding-left: 8px;
    /* Slight indentation on focus */
    background: rgba(255, 255, 255, 0.02);
}

/* Custom Select Styling */
.select-wrapper {
    position: relative;
}

/* =========================================
   Discovery Flow Styles
   ========================================= */

.discovery-container {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 140px;
    /* Header offset */
    padding-bottom: var(--spacing-xl);
}

.slide {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 94px;
    /* Just below header */
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 900;
}

.progress-bar {
    height: 100%;
    background: var(--color-coquelicot);
    width: 0%;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 60, 1, 0.5);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
        /* Keep single column for better readability on Qs vs Cards? 
                                       Actually, for Q1/Q3 simple list is better.
                                       For text heavy options, 1 col is best. */
    }
}

/* Option Card Button */
.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-white);
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-coquelicot);
    transform: translateX(4px);
}

.option-card:active {
    transform: translateX(2px);
}

.option-card.selected {
    background: rgba(255, 60, 1, 0.1);
    border-color: var(--color-coquelicot);
}

.option-letter {
    font-family: var(--font-headline);
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.option-card:hover .option-letter {
    color: var(--color-coquelicot);
    border-color: var(--color-coquelicot);
}

/* Checkbox Indicator for Multi Select */
.checkbox-indicator {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.option-card.selected .checkbox-indicator {
    background: var(--color-coquelicot);
    border-color: var(--color-coquelicot);
}

.option-card.selected .checkbox-indicator::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 14px;
    font-weight: bold;
}

/* Range Wrapper (Q7) */
.range-wrapper {
    /* reuse options grid styles essentially */
    width: 100%;
}


.select-wrapper::after {
    content: '↓';
    position: absolute;
    right: 0;
    top: 12px;
    color: var(--color-text-muted);
    pointer-events: none;
    font-size: 12px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--color-soot);
    color: var(--color-white);
    padding: 12px;
}

/* Responsive for Contact */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-title {
        font-size: 64px;
    }

    .architectural-form {
        padding: var(--spacing-md);
    }
}

/* =========================================
   Services Page Styles
   ========================================= */

.service-section {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-hero {
    padding-top: 180px;
    padding-bottom: var(--spacing-xl);
    background-image: linear-gradient(to bottom, rgba(22, 13, 8, 0.7), rgba(22, 13, 8, 1)), url('../assets/services-hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Noise texture overlay on top of image */
.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.3;
    mix-blend-mode: overlay;
}

.process-step {
    border-left: 1px solid rgba(255, 60, 1, 0.3);
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Alternate Backgrounds */
.bg-light {
    background: #EBEAE8;
    /* Warm light grey/paper */
    color: var(--color-soot);
}

.bg-light h2,
.bg-light h3,
.bg-light p,
.bg-light li {
    color: var(--color-soot);
}

.bg-light .text-muted {
    color: rgba(22, 13, 8, 0.6);
}

.bg-light .btn-outline {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--color-soot);
}

.bg-light .btn-outline:hover {
    border-color: var(--color-soot);
    background: rgba(0, 0, 0, 0.05);
}

/* Service Grid - Balanced Layout */
.grid-services {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

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

/* Service Detail Card */
.service-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--spacing-md);
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bg-light .service-detail-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
    color: var(--color-gravel);
    /* Ensure dark text on light background */
}

.bg-light .service-detail-card .detail-label {
    color: var(--color-text-muted);
    /* Keep labels muted but legible */
}

.bg-light .service-detail-card .detail-value {
    color: var(--color-gravel);
}

/* Video Preview Card */
.video-preview-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-preview-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-preview-card:hover video {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.play-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 60, 1, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-preview-card:hover .play-icon {
    transform: scale(1.1);
    background: var(--color-coquelicot);
}

.video-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    backdrop-filter: blur(4px);
}

.detail-row {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bg-light .detail-row {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-coquelicot);
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: var(--color-text-muted);
}

.bg-light .detail-value {
    color: rgba(22, 13, 8, 0.7);
}

.detail-description {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

/* =========================================
   Case Study Page Styles
   ========================================= */

/* Case Hero */
.case-hero {
    padding-top: 180px;
    padding-bottom: var(--spacing-lg);
    position: relative;
}

.case-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.case-hero-title {
    font-size: clamp(64px, 12vw, 140px);
    line-height: 0.95;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.04em;
    max-width: 1200px;
}

.case-hero-tagline {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 800px;
}

.case-services-badges {
    display: flex;
    gap: var(--spacing-xs);
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--color-text-muted);
}

.case-hero-image {
    width: 100%;
}

/* Media Placeholder */
.media-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    text-align: center;
    padding: var(--spacing-md);
    min-height: 200px;
}

/* Case Overview Card */
.case-overview-card {
    background: var(--color-gravel);
}

.case-detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.case-detail-row:last-child {
    border-bottom: none;
}

.case-intro h2 {
    margin-bottom: var(--spacing-md);
}

/* Case Gallery Row */
.case-gallery-row {
    width: 100%;
}

/* Browser Mockup */
.case-browser-mockup {
    background: var(--color-soot);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.browser-frame {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.browser-dots span:first-child {
    background: #FF5F56;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:nth-child(3) {
    background: #27CA40;
}

.browser-address {
    font-size: 12px;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    flex-grow: 1;
    max-width: 300px;
}

/* Case Metrics */
.case-metric {
    font-family: var(--font-headline);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    color: var(--color-coquelicot);
    display: block;
}

/* Utility classes */
.text-sm {
    font-size: 14px;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* Responsive for Case Study */
@media (max-width: 768px) {
    .case-hero {
        padding-top: 140px;
    }

    .case-hero-title {
        font-size: clamp(48px, 15vw, 80px);
    }

    .case-detail-row {
        flex-direction: column;
        gap: 4px;
    }
}

/* =========================================
   Lean Canvas Page
   ========================================= */

.lean-canvas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto;
    gap: var(--spacing-sm);
    width: 100%;
}

/* Grid Areas Definition */
.area-problem {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.area-solution {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.area-metrics {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.area-uvp {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.area-advantage {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.area-channels {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.area-segments {
    grid-column: 5 / 6;
    grid-row: 1 / 3;
}

.area-cost {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.area-revenue {
    grid-column: 3 / 6;
    grid-row: 3 / 4;
}

/* Card Styling for Canvas */
.canvas-card {
    background: rgba(34, 26, 21, 0.4);
    /* Low opacity gravel */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: background 0.3s ease;
}

.canvas-card:hover {
    background: rgba(34, 26, 21, 0.8);
    border-color: rgba(255, 60, 1, 0.2);
}

.canvas-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.canvas-card .card-header h4 {
    margin-bottom: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.canvas-card .card-body {
    flex-grow: 1;
}

.canvas-card ul {
    list-style: none;
    padding: 0;
}

.canvas-card ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.canvas-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-coquelicot);
}

/* Sub-sections (e.g. Existing Alternatives) */
.card-sub-section {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.card-sub-section h5 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .lean-canvas-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        /* Auto flow */
    }

    /* Reset specific placements for tablet to flow logically 2-col */
    .area-problem,
    .area-solution,
    .area-metrics,
    .area-uvp,
    .area-advantage,
    .area-channels,
    .area-segments,
    .area-cost,
    .area-revenue {
        grid-column: auto;
        grid-row: auto;
    }

    /* Perhaps keep cost/rev full width or half */
    .area-cost,
    .area-revenue {
        grid-column: span 1;
    }

    /* Make UVP double wide on tablet maybe? */
    .area-uvp {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .lean-canvas-grid {
        grid-template-columns: 1fr;
        /* Single column stack */
        gap: var(--spacing-md);
    }

    .area-cost,
    .area-revenue,
    .area-uvp {
        grid-column: 1 / -1;
    }

    .canvas-card {
        min-height: auto;
    }
}