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

body {
    font-family: 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navigation */
.main-nav {
    padding: 20px 80px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav li {
    display: inline-block;
}

.main-nav a {
    font-size: 16pt;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #000;
}

.main-nav a.active {
    color: #000;
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.container {
    max-width: 1200px;
    margin: 0;
    padding: 40px 80px;
}

section {
    margin-bottom: 40px;
}

/* Home Page Layout */
.home-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.home-content {
    max-width: 800px;
}

.home-image {
    position: sticky;
    top: 40px;
}

.home-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 28px;
    background-color: #B43546;
    color: #fff;
    text-decoration: none;
    font-size: 16pt;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: #8B2838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 53, 70, 0.3);
}

/* Page Headers */
.page-header h1 {
    font-size: 48pt;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.page-header p {
    font-size: 20pt;
    color: #666;
}

/* Work Page */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.work-item {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.work-item:hover {
    transform: translateY(-4px);
}

.work-item-disabled {
    cursor: default;
}

.work-item-disabled:hover {
    transform: none;
}

.coming-soon-pill {
    display: inline-block;
    padding: 4px 12px;
    background-color: #B43546;
    color: #fff;
    font-size: 12pt;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.work-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 4px;
}

.work-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.02);
}

.work-content h3 {
    font-size: 24pt;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.work-date {
    font-size: 14pt;
    color: #999;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.work-content p {
    font-size: 16pt;
    color: #666;
    line-height: 1.6;
}

/* Content Tags */
.content-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12pt;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-article {
    background-color: #E8F4F8;
    color: #2C5F7B;
}

.tag-podcast {
    background-color: #F3E8F8;
    color: #6B2C7B;
}

.tag-talk {
    background-color: #FFF4E6;
    color: #B45309;
}

.tag-workshop {
    background-color: #E8F8E8;
    color: #2C7B2C;
}

.tag-interview {
    background-color: #FCE8E8;
    color: #B43546;
}

.tag-webinar {
    background-color: #F0E8F8;
    color: #5B2C7B;
}

.tag-review {
    background-color: #E8F0F8;
    color: #2C4A7B;
}

.tag-video {
    background-color: #FEE8E8;
    color: #B42C35;
}

.tag-reel {
    background-color: #FCE8F8;
    color: #A82C7B;
}

.tag-press {
    background-color: #E8F8F0;
    color: #2C7B5F;
}

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

.news-source {
    font-size: 14pt;
    color: #999;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Case Study Page */
.case-study {
    max-width: 1000px;
    position: relative;
}

/* Text content optimized for readability */
.case-study-section p,
.case-study-section ul,
.case-study-section ol,
.case-study-section blockquote {
    max-width: 70ch;
}

/* Two-column layouts for specific content types */
.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.two-column-grid > div {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.two-column-grid h4 {
    margin-top: 0;
    color: #B43546;
}

/* Four-level grid for IA taxonomy */
.four-level-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.level-card {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #B43546;
}

.level-card h4 {
    margin-top: 0;
    color: #B43546;
    font-size: 20pt;
    margin-bottom: 0.5rem;
}

.level-card .frequency {
    font-size: 12pt;
    color: #999;
    font-style: italic;
    margin-bottom: 1rem;
    display: block;
}

.level-card p {
    font-size: 15pt;
    color: #666;
    margin: 0;
}

/* User scenarios cards */
.scenario-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.scenario-card {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid #B43546;
}

.scenario-card h4 {
    margin-top: 0;
    color: #B43546;
    font-size: 18pt;
}

.scenario-card p {
    font-size: 15pt;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Blockquote styling */
blockquote {
    border-left: 4px solid #B43546;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

/* Arrow flow list */
.arrow-flow-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.arrow-flow-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.arrow-flow-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-size: 24pt;
    font-weight: bold;
    color: #B43546;
}

.arrow-flow-list li:last-child {
    font-weight: 600;
    color: #B43546;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    right: 80px;
    top: 120px;
    width: 200px;
    z-index: 50;
}

/* Floating nav positioned below hero image */
.floating-nav-below-hero {
    position: fixed;
    top: 120px;
    right: 80px;
    width: 200px;
    z-index: 50;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-nav-below-hero.visible {
    opacity: 1;
    pointer-events: auto;
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floating-nav li {
    margin-bottom: 1rem;
}

.floating-nav a {
    font-size: 14pt;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding-left: 12px;
    border-left: 3px solid transparent;
}

.floating-nav a:hover {
    color: #B43546;
}

.floating-nav a.active {
    color: #B43546;
    font-weight: 600;
    border-left-color: #B43546;
}

.nav-subsections {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.nav-subsections li {
    margin-bottom: 0.5rem;
}

.nav-subsections a {
    font-size: 12pt;
    color: #bbb;
    padding-left: 24px;
    border-left-width: 2px;
}

.nav-subsections a:hover {
    color: #B43546;
}

.nav-subsections a.active {
    color: #B43546;
    font-weight: 500;
}

.back-link {
    margin-bottom: 2rem;
}

.back-link a {
    color: #B43546;
    text-decoration: none;
    font-size: 16pt;
    transition: color 0.2s ease;
}

.back-link a:hover {
    color: #8B2838;
}

/* Floating back link for case studies with hero images */
.back-link-floating {
    position: fixed;
    top: 80px;
    left: 80px;
    z-index: 100;
    margin-bottom: 0;
}

.back-link-floating a {
    font-size: 14pt;
    font-weight: 600;
}

.case-study-header {
    margin-bottom: 3rem;
}

.case-study-header h1 {
    font-size: 48pt;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.case-study-subtitle {
    font-size: 20pt;
    color: #666;
    margin-bottom: 2rem;
}

.case-study-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.meta-item h4 {
    font-size: 14pt;
    font-weight: 600;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-item p {
    font-size: 16pt;
    color: #333;
}

.case-study-section {
    margin-bottom: 3rem;
}

.case-study-section h2 {
    font-size: 32pt;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.case-study-section h3 {
    font-size: 24pt;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.case-study-section h4 {
    font-size: 18pt;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.case-study-section p {
    font-size: 16pt;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.case-study-section ul,
.case-study-section ol {
    margin-left: 2rem;
    margin-top: 1rem;
}

.case-study-section li {
    font-size: 16pt;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.case-study-image {
    margin-bottom: 3rem;
}

.case-study-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Split hero layout - 50/50 */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.hero-split.fade-out {
    opacity: 0;
    pointer-events: none;
}

.hero-split-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 6rem 4rem 80px;
    background-color: #fff;
    position: relative;
}

.hero-split-left h1 {
    font-size: 56pt;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.2;
}

.hero-split-left .subtitle {
    font-size: 20pt;
    color: #666;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.hero-meta .meta-item h4 {
    font-size: 12pt;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.hero-meta .meta-item p {
    font-size: 14pt;
    color: #333;
    font-weight: 500;
}

.hero-split-right {
    background-color: #FCECE8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

/* Mobile-only hero header */
.mobile-hero-header {
    display: none;
}

.mobile-hero-header img {
    width: 100%;
    height: auto;
    display: block;
}

/* Scroll indicator */
.scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-text {
    font-size: 12pt;
    color: #999;
    font-weight: 500;
}

.mouse {
    width: 50px;
    height: 90px;
    border: 3px solid #999;
    border-radius: 30px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 12px;
    height: 12px;
    position: absolute;
    top: 15px;
    background-color: #999;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    opacity: 1;
    animation: mouse 2s infinite;
}

@keyframes mouse {
    from {
        opacity: 1;
        top: 15px;
    }
    to {
        opacity: 0;
        top: 65px;
    }
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
        position: relative;
    }

    .hero-split-left {
        padding: 3rem 2rem;
        order: 2;
    }

    .hero-split-left h1 {
        font-size: 36pt;
    }

    .hero-split-right {
        display: none;
    }

    .mobile-hero-header {
        display: block;
        order: 1;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-split-left {
        padding: 2rem 1.5rem;
    }

    .hero-split-left h1 {
        font-size: 28pt;
    }

    .hero-split-left .subtitle {
        font-size: 16pt;
    }

    .hero-split-right {
        display: none;
    }

    .mobile-hero-header {
        display: block;
        order: 0;
        width: 100%;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Force single column on mobile for grids with inline styles */
    .impact-metrics,
    .two-column-grid,
    .four-level-grid {
        grid-template-columns: 1fr !important;
    }

    /* Prevent horizontal overflow on small screens */
    .case-study-section,
    .container {
        overflow-x: hidden;
    }

    /* Ensure images don't cause overflow */
    img,
    video {
        max-width: 100%;
        height: auto;
    }
}

.full-bleed-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: #FCECE8;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-bleed-image img {
    max-width: 1200px;
    width: 90%;
    height: auto;
    display: block;
}

.image-caption {
    font-size: 14pt;
    color: #999;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 4px;
}

/* Masthead impact metrics layout */
.impact-metrics-masthead {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.metrics-separator {
    display: none;
}

.metrics-row-bottom {
    display: flex;
}

.metric-large {
    flex: 1;
}

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

.metric h3 {
    font-size: 48pt;
    font-weight: 700;
    color: #B43546;
    margin-bottom: 0.5rem;
}

.metric p {
    font-size: 16pt;
    color: #666;
}

.case-study-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.nav-button {
    font-size: 16pt;
    color: #B43546;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-button:hover {
    color: #8B2838;
}

/* About Page */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-section h2 {
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 16pt;
    color: #666;
    line-height: 1.6;
}

.intro h1 {
    font-size: 48pt;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.intro p {
    font-size: 20pt;
    color: #666;
    line-height: 1.4;
}

h2 {
    font-size: 24pt;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.email {
    font-size: 1.125rem;
    color: #B43546;
    text-decoration: none;
    transition: color 0.2s ease;
}

.email:hover {
    color: #8B2838;
    text-decoration: underline;
}

.social-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.social-links li {
    display: inline-block;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B43546;
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.email-link svg {
    width: 32px;
    height: 24px;
    border-radius: 2px;
}

/* Footer */
.site-footer {
    padding: 40px 80px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

.site-footer p {
    font-size: 14pt;
    color: #666;
}

/* Tablet and below (max-width: 1024px) */
@media (max-width: 1024px) {
    .floating-nav,
    .floating-nav-below-hero {
        display: none;
    }

    .case-study {
        max-width: 100%;
    }

    .two-column-grid,
    .four-level-grid {
        grid-template-columns: 1fr !important;
    }

    .scenario-cards {
        grid-template-columns: 1fr;
    }

    .hero-image-full-bleed img {
        max-width: 85%;
    }

    /* Prevent horizontal overflow */
    .case-study-section,
    .container {
        overflow-x: hidden;
    }
}

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

@media (max-width: 640px) {
    .intro h1 {
        font-size: 2rem;
    }

    .intro p {
        font-size: 1.25rem;
    }

    .social-links {
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }

    .home-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-image {
        order: -1;
        position: static;
    }

    .home-image img {
        width: 200px;
        height: 200px;
    }

    .main-nav {
        padding: 20px;
    }

    .container {
        padding: 40px 20px;
    }

    .site-footer {
        padding: 40px 20px;
    }

    /* Hide floating nav on mobile - too cramped */
    .floating-nav {
        display: none;
    }

    /* Floating back link on mobile */
    .back-link-floating {
        top: 70px;
        left: 20px;
    }

    .back-link-floating a {
        font-size: 12pt;
    }

    .hero-image-full-bleed img {
        max-width: 90%;
    }

    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        border-radius: 0;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .main-nav {
        padding: 20px;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoom 0.3s ease-out;
}

@keyframes zoom {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.case-study-image img {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.case-study-image img:hover {
    opacity: 0.9;
}

@media screen and (max-width: 768px) {
    .modal-content {
        max-width: 95%;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }

    .modal-caption {
        font-size: 14px;
        width: 90%;
    }
}
