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

:root {
    --color-bg: #F9F7F2;
    --color-text-main: #2C2C2C;
    --color-text-light: #5A5A5A;
    --color-accent: #A68A64;
    --color-accent-light: #D4C5A9;
    --color-white: #FFFFFF;

    /* New variables from refactoring */
    --color-bg-alt: #FAF8F5;
    --color-bg-secondary: #F8F6F1;
    --color-footer-bg: #222222;
    --color-text-grey: #999999;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-container: 2rem;
}

/* Accessibility: Focus Indicators */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-text-main);
    outline-offset: 2px;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    -webkit-text-size-adjust: 100%;
    /* iOS touch improvements */
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    overscroll-behavior-y: none;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-padding-top: 80px;
    /* iOS smooth scrolling fix */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}

/* Navigation & Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: rgba(249, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: 70px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-container>* {
    min-width: 0;
}

.header-logo {
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    font-size: 1.15rem;
    line-height: normal;
    z-index: 1002;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    white-space: normal;
}

.header-logo span {
    color: var(--color-accent);
    font-style: italic;
    display: block;
    font-size: 0.85em;
    margin-top: -0.1rem;
}

.header-logo:hover {
    opacity: 0.8;
}

.main-nav {
    display: none;
    /* Hidden on mobile first */
}

/* Desktop Nav */
@media (min-width: 992px) {
    .header-container {
        justify-content: space-between;
    }

    .header-logo {
        display: none;
    }

    .main-nav {
        display: block;
    }

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

    .nav-link {
        text-decoration: none;
        color: var(--color-text-main);
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1px;
        background-color: var(--color-accent);
        transition: width 0.3s ease;
    }

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

    .nav-link:hover::after {
        width: 100%;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1002;
}

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

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    margin-bottom: 6px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:last-child {
    margin-bottom: 0;
}

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

.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 Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    height: -webkit-fill-available;
    background: var(--color-bg);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    /* iOS Safari fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-overflow-scrolling: touch;
    /* Safe area support for notched devices */
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

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

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0;
    font-weight: 700;
}

section {
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    padding-top: 100px;
    /* Account for fixed header */
    position: relative;
    overflow-x: hidden;
    /* Changed from overflow: hidden to not block touch scrolling on iOS */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* gap: 1.5rem; Removed to control spacing individually */
    height: 100%;
}

.hero-content header {
    margin-bottom: 1.5rem;
    /* Reduced margin after title block */
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-text-main);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--color-accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Visual Area */
.hero-visual {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
    /* Slightly reduced min-height */
    margin: 0;
    margin-bottom: 0.5rem;
    /* Reduced bottom margin further */
}

.visual-circle {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: var(--color-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.visual-circle::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border: 1px dashed var(--color-accent-light);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.lamp-glow {
    position: absolute;
    top: 25%;
    /* Adjusted approximation for lamp position */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 230, 150, 0.8) 0%, rgba(255, 230, 150, 0) 70%);
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.6;
    animation: flicker 4s infinite ease-in-out;
}

@keyframes flicker {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }

    25% {
        opacity: 0.5;
    }

    75% {
        opacity: 0.6;
    }

    30% {
        opacity: 0.3;
    }

    32% {
        opacity: 0.6;
    }
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    padding: 10px;
}

/* Labels */
.feature-label {
    position: absolute;
    max-width: 220px;
    text-align: left;
    z-index: 3;
    background: rgba(249, 247, 242, 0.9);
    backdrop-filter: blur(5px);
    padding: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-label:hover {
    transform: translateY(-5px);
}

.feature-label strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text-main);
    margin-bottom: 0.25rem;
    position: relative;
}

.feature-label span {
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: block;
    line-height: 1.4;
}

/* Connector Lines */
.feature-label::after {
    content: '';
    position: absolute;
    background: var(--color-accent-light);
}

/* Positioning */
.label-top-left {
    top: 15%;
    left: calc(50% - 420px);
    text-align: right;
}

.label-top-left::after {
    top: 50%;
    right: -60px;
    width: 60px;
    height: 1px;
}

.label-right {
    top: 50%;
    right: calc(50% - 440px);
    transform: translateY(-50%);
}

.label-right::after {
    top: 50%;
    left: -60px;
    width: 60px;
    height: 1px;
}

.label-bottom-left {
    bottom: 20%;
    left: calc(50% - 420px);
    text-align: right;
}

.label-bottom-left::after {
    top: 50%;
    right: -60px;
    width: 60px;
    height: 1px;
}

/* Hero Footer */
.hero-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-style: italic;
}

.btn-primary {
    display: inline-block;
    text-decoration: none;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(166, 138, 100, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #8c7352;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 138, 100, 0.4);
}

/* Club Description Section (Block 3) */
.club-description {
    min-height: 80vh;
    /* Reduced from 100vh for better flow */
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    background-color: var(--color-white);
}

.description-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.description-text {
    font-size: 1.125rem;
    color: var(--color-text-main);
    line-height: 1.7;
    font-weight: 300;
}

.description-text p {
    margin-bottom: 2rem;
}

.description-text strong {
    font-weight: 600;
    color: var(--color-text-main);
}

.highlight-bg {
    background-color: rgba(212, 197, 169, 0.4);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.description-image {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
    /* Fix for border-radius + overflow:hidden bug and black lines */
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.description-image img {
    width: 103%;
    max-width: none;
    margin-left: -1.5%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.description-image:hover img {
    transform: scale(1.03);
}

/* Block 4: Rarely Talked About */
.rarely-talked {
    min-height: 90vh;
    /* Keeps it substantial */
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    background-color: var(--color-bg);
    /* Alternate background */
}

.rarely-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.rarely-image {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    /* Fix for border-radius + overflow:hidden bug and black lines */
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.rarely-image img {
    width: 103%;
    max-width: none;
    margin-left: -1.5%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.rarely-image:hover img {
    transform: scale(1.03);
}

.rarely-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rarely-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subtitle-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.subtitle-text strong {
    color: var(--color-text-main);
    background: linear-gradient(120deg, transparent 0%, transparent 10%, rgba(166, 138, 100, 0.2) 10%, rgba(166, 138, 100, 0.2) 90%, transparent 90%);
}

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

.custom-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--color-text-main);
    font-size: 1.05rem;
}

.custom-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.5rem;
    line-height: 1;
    top: -3px;
}

.question-intro {
    font-style: italic;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.highlight-quote {
    border-left: 3px solid var(--color-accent);
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.highlight-quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: var(--color-text-main);
    line-height: 1.4;
    margin: 0;
}


/* Responsive Framework */

/* Desktop - Large Screens */
@media (min-width: 992px) {
    .description-content {
        display: block;
    }

    .description-text {
        max-width: 100%;
        font-size: 1.25rem;
    }

    .description-image {
        float: right;
        width: 400px;
        height: 400px;
        margin: 0 0 1.5rem 2.5rem;
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    }

    .description-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    /* Rarely Talked About Desktop */
    .rarely-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
        gap: 2rem 5rem;
        align-items: start;
    }

    .rarely-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    .rarely-image {
        grid-column: 1;
        grid-row: 1 / 3;
        max-width: 550px;
        max-height: none;
    }

    .rarely-image img {
        height: auto;
    }

    .rarely-text {
        grid-column: 2;
        grid-row: 2;
        max-width: 550px;
    }
}

/* Tablet / Laptop Medium */
@media (max-width: 1024px) {
    .hero-visual {
        min-height: 350px;
    }

    .visual-circle {
        width: 300px;
        height: 300px;
    }

    .label-top-left {
        left: 2rem;
    }

    .label-bottom-left {
        left: 2rem;
    }

    .label-right {
        right: 2rem;
    }
}

/* Tablet - 769-991px */
@media (max-width: 991px) and (min-width: 769px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 4rem 1rem;
        padding-top: 100px;
    }

    .hero-visual {
        flex-direction: column;
        height: auto;
        margin: 2rem 0;
        min-height: auto;
    }

    .visual-circle {
        width: 320px;
        height: 320px;
        margin-bottom: 2rem;
    }

    .visual-circle::before {
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
    }

    .feature-label {
        position: relative;
        text-align: center;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        max-width: 280px;
        margin: 0 auto 1.5rem auto;
    }

    .feature-label::after {
        display: none;
    }

    .label-top-left,
    .label-bottom-left,
    .label-right {
        text-align: center;
    }

    /* Block 3: Club Description - Tablet Float Layout */
    .club-description {
        min-height: auto;
        padding: 3rem 0;
    }

    .description-content {
        display: block;
    }

    .description-text {
        max-width: 100%;
        font-size: 1.1rem;
    }

    .description-image {
        float: right;
        width: 200px;
        height: 200px;
        margin: 0 0 1rem 1.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .description-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Block 4: Rarely Talked About - Tablet Styles */
    .rarely-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .rarely-title {
        order: 1;
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        margin-bottom: 0;
    }

    .rarely-image {
        order: 2;
        width: 100%;
        max-height: 250px;
        border-radius: 12px;
    }

    .rarely-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
    }

    /* Block 5: Attempts - Tablet Styles */
    .attempt-visual {
        width: 100%;
        height: 280px;
        min-height: auto;
        border-radius: 12px;
        margin-bottom: 2rem;
        overflow: hidden;
    }

    .attempt-visual img {
        width: 100%;
        height: 100%;
        margin-left: 0;
        object-fit: cover;
        object-position: center 30%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 4rem 1rem;
        padding-top: 100px;
    }

    .hero-visual {
        flex-direction: column;
        height: auto;
        margin: 2rem 0;
    }

    .visual-circle {
        width: 260px;
        height: 260px;
        margin-bottom: 1.5rem;
    }

    .visual-circle::before {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
    }

    .feature-label {
        position: relative;
        text-align: center;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.5rem;
    }

    .feature-label strong {
        font-size: 1rem;
    }

    .feature-label span {
        font-size: 0.8rem;
    }

    .feature-label::after {
        display: none;
    }

    .label-top-left,
    .label-bottom-left {
        text-align: center;
    }

    .club-description,
    .rarely-talked {
        padding: 3rem 0;
        min-height: auto;
    }

    /* Block 3: Club Description - Mobile Float Layout */
    .description-content {
        display: block;
    }

    .description-image {
        float: right;
        width: 140px;
        height: 140px;
        margin: 0 0 1rem 1rem;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .description-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Block 4: Rarely Talked About - Mobile Image Styles */
    .rarely-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .rarely-title {
        order: 1;
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        color: var(--color-text-main);
        margin-bottom: 0;
        line-height: 1.2;
    }

    .rarely-image {
        order: 2;
        width: 100%;
        max-height: 200px;
        border-radius: 12px;
    }

    .rarely-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
    }

    .rarely-text {
        order: 3;
    }

    /* Block 5: Attempts - Mobile Styles */
    .attempt-visual {
        height: 240px;
        border-radius: 10px;
        margin-bottom: 1.5rem;
    }

    .attempt-visual img {
        height: 100%;
        width: 100%;
        margin-left: 0;
        object-fit: cover;
        object-position: center 30%;
    }
}

@keyframes lamp-pulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Block 5: Attempts */
.attempts-section {
    padding: 2.5rem 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.section-title-center {
    text-align: center;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: var(--color-text-main);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.attempt-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(166, 138, 100, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.attempt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent-light);
    opacity: 0.5;
    margin-bottom: 1rem;
    line-height: 1;
}

.attempt-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.attempt-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Visual Block (Abstract Art CSS substitution) */
/* Visual Block (Image with effects) */
.attempt-visual {
    position: relative;
    min-height: 300px;
    /* Keep height constraint if needed, or matched layout */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    /* Fix for border-radius + overflow:hidden bug and black lines */
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.attempt-visual img {
    width: 103%;
    height: 100%;
    max-width: none;
    margin-left: -1.5%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.attempt-visual:hover img {
    transform: scale(1.03);
}

/* Footer of the section */
.attempts-footer {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    background: rgba(166, 138, 100, 0.1);
    /* Very light accent bg */
    padding: 2rem;
    border-radius: 12px;
    color: var(--color-text-main);
}

.attempts-footer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.attempts-footer p:last-child {
    margin-bottom: 0;
}

/* Desktop Grid Layout */
@media (min-width: 992px) {
    .attempts-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
    }

    /* Layout: 
       [ 1 ] [ V ]
       [ 2 ] [ V ]
       [   3   ]
    */
    .attempt-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .attempt-visual {
        grid-column: 2;
        grid-row: 1 / span 2;
        height: 100%;
    }

    .attempt-card:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .attempt-card:nth-child(4) {
        grid-column: 1 / span 2;
        grid-row: 3;
    }
}

/* Block 6: Displacement Section */
.displacement-section {
    padding: 2.5rem 0;
    background-color: var(--color-bg);
}

.displacement-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.displacement-intro p {
    font-size: 1.25rem;
    color: var(--color-text-main);
    line-height: 1.6;
}

.displacement-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.displacement-card {
    background-color: transparent;
    border: 1px solid rgba(166, 138, 100, 0.4);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;
    /* Flex basis to allow wrapping, min width 300 */
    max-width: 380px;
    transition: all 0.3s ease;
}

.displacement-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(166, 138, 100, 0.1);
    background-color: var(--color-white);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Makes white background transparent */
}

.displacement-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.displacement-card strong {
    color: var(--color-text-main);
    font-weight: 600;
}

.displacement-footer {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-quote-center {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text-main);
    background: linear-gradient(to right, transparent, rgba(166, 138, 100, 0.2), transparent);
    padding: 1rem 2rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .displacement-grid {
        flex-direction: column;
        align-items: center;
    }

    .displacement-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Block 7: Large Quote - Premium Design */
.quote-section {
    padding: 5rem 0;
    background: radial-gradient(circle at center, rgba(166, 138, 100, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Decorative Background Quotes */
.quote-section::before {
    content: '“';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 30rem;
    color: var(--color-accent);
    opacity: 0.03;
    line-height: 0;
    z-index: 0;
    pointer-events: none;
}

.quote-section .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.main-quote {
    margin: 0;
    padding: 0;
    border: none;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--color-text-main);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.quote-brand {
    color: var(--color-text-light);
    /* Slightly lighter for contrast */
    font-style: italic;
    position: relative;
    display: inline-block;
}

/* Add a gold underline/accent to the brand name? No, let's keep it clean as per screenshot but better */



/* Small decorative separator */
.main-quote::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 3rem auto 0 auto;
    border-radius: 2px;
    opacity: 0.6;
}

/* Block 8: Club Structure */
.club-structure {
    padding: 2.5rem 0;
    background-color: var(--color-white);
    position: relative;
}

.club-structure .header-group {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

.structure-description {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-top: 2rem;
}

.structure-description p {
    margin-bottom: 1rem;
}

.highlight-text {
    color: var(--color-text-main);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -2px;
    right: -2px;
    height: 8px;
    background-color: rgba(166, 138, 100, 0.2);
    z-index: -1;
    transform: rotate(-1deg);
}

.structure-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 1000px;
    /* Limit width */
    margin: 0 auto;
    /* Center block */
}

.step-card {
    position: relative;
    padding: 1rem;
    transition: transform 0.4s ease;
}

.step-card:hover {
    transform: translateY(-8px);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    height: 60px;
    /* Uniform height for alignment */
}

.step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(166, 138, 100, 0.2);
    /* Faded accent initially */
    line-height: 1;
    margin-right: 1rem;
    transition: color 0.3s ease;
    font-weight: 700;
}

.step-card:hover .step-num {
    color: var(--color-accent);
}

/* Connecting Line logic */
.step-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(166, 138, 100, 0.3);
    position: absolute;
    left: 4.5rem;
    /* Start after number */
    right: -2.5rem;
    /* Extend across gap */
    top: 50%;
    z-index: 1;
}

/* Decorate the line */
.step-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.step-line-end {
    display: none;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-weight: 600;
}

.step-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1100px) {

    /* Tablet: 2x2 grid */
    .structure-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 2rem;
    }

    .step-line {
        display: none;
        /* Hide connector lines in grid wrap mode */
    }

    .step-card {
        background: var(--color-bg);
        padding: 2rem;
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }
}

@media (max-width: 600px) {

    /* Mobile: 1 column */
    .structure-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-header {
        margin-bottom: 1rem;
        height: auto;
    }

    .step-num {
        font-size: 3rem;
    }
}

.path-highlight-box {
    margin-top: 2rem;
    display: inline-block;
    border: 1px solid var(--color-accent);
    padding: 1rem 2rem;
    border-radius: 50px;
    /* Pillow shape */
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(166, 138, 100, 0.05);
}

.path-highlight-box p {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-size: 1.25rem;
    font-style: italic;
}

/* Block 9: Results Section */
.results-section {
    padding: 5rem 0;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.results-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.highlight-title {
    color: var(--color-accent);
    font-style: italic;
    display: block;
    margin-top: 0.5rem;
}

.results-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-top: 2rem;
    font-weight: 300;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.result-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(166, 138, 100, 0.15);
    border-color: rgba(166, 138, 100, 0.1);
}

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

.result-icon {
    width: 50px;
    height: 50px;
    background: rgba(166, 138, 100, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.result-card:hover .result-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: rotate(360deg);
}

.result-card p {
    font-size: 1.1rem;
    color: var(--color-text-main);
    line-height: 1.6;
    margin: 0;
}

.result-card strong {
    font-weight: 600;
    color: var(--color-text-main);
}

/* Featured Styling for the 7th item */
.result-card-featured {
    background: linear-gradient(135deg, var(--color-white) 0%, #FAF8F5 100%);
    border: 1px solid rgba(166, 138, 100, 0.2);
}

.result-card-featured .result-icon {
    background: var(--color-accent);
    color: var(--color-white);
}

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

    .result-card-featured {
        grid-column: 2 / 3;
        /* Center in 3-column grid */
    }
}

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

/* Block 10: How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--color-white);
    position: relative;
}

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

.logistics-card {
    background: var(--color-bg);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(166, 138, 100, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.logistics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.log-icon {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.logistics-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-main);
    margin: 0;
}

.logistics-card strong {
    color: var(--color-text-main);
    font-weight: 600;
}

/* Special Card Styling */
.special-card {
    background: linear-gradient(135deg, rgba(166, 138, 100, 0.1) 0%, rgba(166, 138, 100, 0.05) 100%);
    border-color: rgba(166, 138, 100, 0.3);
    grid-column: span 1;
}

.special-card .log-icon {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Meeting Details Layout */
.meeting-wrapper {
    display: flex;
    align-items: stretch;
    /* Align items to stretch vertically */
    gap: 4rem;
    background: var(--color-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.meeting-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.meeting-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-text-main);
    font-family: var(--font-heading);
}

.meeting-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.meeting-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--color-text-light);
}

.li-icon {
    color: var(--color-accent);
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.meeting-visual {
    flex: 1;
    min-height: 400px;
    background: #e8decb;
    position: relative;
    overflow: hidden;
}

.meeting-image {
    width: 105%;
    height: 105%;
    max-width: none;
    object-fit: cover;
    display: block;
    margin-left: -2.5%;
    margin-top: -2.5%;
}

/* Atmosphere Placeholder Art */
.atmosphere-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #d4c5a9, #f9f7f2);
}

.atmosphere-circle {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    position: absolute;
    animation: breathe 8s infinite ease-in-out;
}

.atmosphere-text {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--color-text-main);
    opacity: 0.6;
    letter-spacing: 2px;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive adjustments for Block 10 */
@media (max-width: 1024px) {
    .logistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .special-card {
        grid-column: span 2;
    }

    .meeting-wrapper {
        flex-direction: column;
    }

    .meeting-visual {
        min-height: 250px;
    }

    .meeting-content {
        padding: 3rem 2rem;
    }
}

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

    .special-card {
        grid-column: span 1;
    }

    .meeting-subtitle {
        font-size: 1.75rem;
    }
}

/* Framed Section Title */
.section-title-framed {
    border: 1px solid var(--color-accent);
    padding: 1rem 3rem;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background: rgba(166, 138, 100, 0.05);
    /* Very subtle tint */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Block 11: Internal Logic (Track Logic) */
.track-logic {
    padding: 5rem 0;
    background-color: var(--color-bg);
}

.track-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-subtitle-center {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.logic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.logic-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(166, 138, 100, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.logic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(166, 138, 100, 0.15);
    border-color: rgba(166, 138, 100, 0.3);
}

.logic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.stage-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-accent);
}

.time-badge {
    background: var(--color-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.visual-abstract {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--color-accent);
    transition: transform 0.5s ease, color 0.3s ease;
}

.logic-card:hover .visual-abstract {
    transform: scale(1.1);
    color: var(--color-accent);
}

.logic-title {
    font-size: 1.4rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    min-height: 3rem;
    /* Align titles */
}

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

.logic-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.5;
}

.logic-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent-light);
}

.logic-list li strong {
    color: var(--color-text-main);
    display: block;
    margin-bottom: 0.25rem;
}

/* Decorative background elements for cards */
.logic-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(166, 138, 100, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.logic-card:hover::before {
    width: 200px;
    height: 200px;
    opacity: 1;
}

/* Desktop Grid for Block 11 */
@media (min-width: 992px) {
    .logic-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .logic-card:nth-child(2) .time-badge {
        background-color: var(--color-accent);
        color: var(--color-white);
    }
}

/* Block 12: Author Section */
.author-section {
    padding: 6rem 0;
    background-color: var(--color-white);
    overflow: hidden;
    /* For decorations */
}

.author-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Text wider than image */
    gap: 4rem;
    align-items: start;
}

.author-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title-left {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.author-intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-main);
    border-left: 2px solid var(--color-accent);
    padding-left: 1.5rem;
}

.author-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
}

.author-text strong {
    color: var(--color-text-main);
    font-weight: 600;
}

.highlight-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.highlight-subtitle::before {
    content: '●';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 4px;
}

.client-request-quote {
    background-color: var(--color-bg-alt);
    /* Light beige matching theme */
    padding: 2rem 2.5rem;
    border-radius: 0 16px 16px 16px;
    /* Chat bubble styleish */
    border-left: 4px solid var(--color-accent);
    margin: 0.5rem 0;
    position: relative;
}

.client-request-quote p {
    font-family: var(--font-heading);
    /* Serif for quote */
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-text-main);
    line-height: 1.6;
}

.client-request-quote::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(166, 138, 100, 0.1);
    font-family: serif;
    line-height: 0;
    pointer-events: none;
}

/* Feature List specialized for Author block */
.author-feature-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.author-feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.author-feature-list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-top: 2px;
}

.author-closing {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-closing p {
    font-style: italic;
    font-weight: 500;
}

/* Image Side */
.author-visual {
    position: relative;
    padding-top: 1rem;
    /* Align with text properly */
}

.author-image-wrapper {
    position: relative;
    border-radius: 20px 20px 0 20px;
    /* Asymmetric pleasant shape */
    overflow: hidden;
    box-shadow: 20px 20px 0px rgba(166, 138, 100, 0.1);
    /* Solid shadow offset */
    height: 100%;
}

.author-image-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.author-image-wrapper:hover img {
    transform: scale(1.03);
}

.author-decoration-frame {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px 12px 0 12px;
    pointer-events: none;
    z-index: 2;
}



/* Block 13: Approach Section */
.approach-section {
    padding: 5rem 0;
    background-color: var(--color-bg);
    /* Or light beige to alternate */
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.approach-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(166, 138, 100, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(166, 138, 100, 0.3);
}

.approach-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(166, 138, 100, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.approach-card p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.approach-card strong {
    color: var(--color-text-main);
    font-weight: 600;
}

.approach-closing {
    margin-top: 4rem;
    text-align: center;
}

.approach-closing p {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--color-text-main);
    font-weight: 700;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}



/* Block 14: Participation Format (Pricing) */
.pricing-section {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.pricing-header {
    margin-bottom: 2rem;
    flex-grow: 0;
}

.pricing-header h3 {
    font-size: 1.75rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.pricing-desc {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.pricing-cost {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(166, 138, 100, 0.2);
}

.pricing-cost .price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pricing-cost .period {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text-light);
}

.pricing-cost .old-price {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: var(--color-text-grey);
    margin-left: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
}

.payment-note {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-accent);
    font-weight: 500;
}

.pricing-body {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-body h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
    line-height: 1.5;
    font-size: 1rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.pricing-features li.feature-highlight {
    color: var(--color-accent);
    font-weight: 500;
}

.pricing-action {
    margin-top: auto;
}

.btn-full {
    width: 100%;
    display: block;
    text-align: center;
}

/* Featured Card Styling */
.featured-card {
    border: 2px solid var(--color-accent);
    background-color: var(--color-white);
    box-shadow: 0 10px 30px rgba(166, 138, 100, 0.15);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(166, 138, 100, 0.4);
}

/* Pricing Footer */
.pricing-footer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: rgba(166, 138, 100, 0.08);
    /* Very light accent */
    border-radius: 12px;
}

.important-notes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}



/* Redesigned Important Info Block */
.important-info-block {
    background-color: var(--color-bg-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.info-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.info-content-wrapper {
    flex-grow: 1;
}

.important-info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-family: var(--font-heading);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.info-list li {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.info-divider {
    height: 1px;
    background-color: rgba(166, 138, 100, 0.2);
    margin: 1.5rem 0;
    width: 100%;
}

.verification-text {
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-style: italic;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}



/* Block 15: FAQ */
.faq-section {
    padding: 3rem 0 5rem 0;
    background-color: var(--color-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(166, 138, 100, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(249, 247, 242, 0.5);
    /* Very light accent */
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin: 0;
    padding-right: 1.5rem;
    font-family: var(--font-body);
    /* Using body font for questions for cleanliness */
    line-height: 1.4;
}

.faq-toggle {
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer-content {
    padding: 0 2rem 2rem 2rem;
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.05rem;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle separator inside */
    padding-top: 1rem;
    /* Space after separator */
}



/* Footer Block 16 */
.site-footer {
    background-color: var(--color-footer-bg);
    /* Slightly lighter than pure black for material feel */
    color: var(--color-bg);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Vignette effect */
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.9);
}

/* Decorative background texture/vignette boost */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(166, 138, 100, 0.08) 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.footer-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    line-height: 1.5;
    margin: 0;
    max-width: 800px;
    text-wrap: balance;
    /* Modern browser support for balanced wrapping */
}

.footer-quote .highlight-italic {
    color: var(--color-accent);
    font-style: italic;
    display: block;
    /* Forces it to a new line for better structure */
    margin-top: 0.5rem;
}

/* Decorative Vignette/Divider below quote */
.footer-quote::after {
    content: "✦ ✦ ✦";
    display: block;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    color: var(--color-accent);
    opacity: 0.6;
    letter-spacing: 0.5rem;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-cta p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    /* Softer, more elegant text color */
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.02em;
}

.footer-cta strong {
    font-family: var(--font-heading);
    color: var(--color-accent);
    /* Gold accent */
    font-size: clamp(2rem, 3vw, 2.5rem);
    /* Significantly larger */
    display: block;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    /* More space before the button */
    font-weight: 400;
    /* Lighter weight for elegance */
    font-style: italic;
}

.btn-footer {
    padding: 1.25rem 4rem;
    font-size: 1.15rem;
    box-shadow: 0 4px 25px rgba(166, 138, 100, 0.4);
}

.btn-footer:hover {
    box-shadow: 0 6px 35px rgba(166, 138, 100, 0.6);
    transform: translateY(-3px) scale(1.02);
}



/* ===========================================
   MICRO-INTERACTIONS & SCROLL ANIMATIONS
   =========================================== */

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals for grid items */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.visible>*:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-stagger.visible>*:nth-child(6) {
    transition-delay: 0.6s;
}

.reveal-stagger.visible>*:nth-child(7) {
    transition-delay: 0.7s;
}

.reveal-stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in animation */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Enhanced Hover Effects for Cards --- */
.attempt-card,
.displacement-card,
.step-card,
.result-card,
.logistics-card,
.logic-card,
.approach-card,
.pricing-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.3s ease;
}

.attempt-card:hover,
.displacement-card:hover,
.step-card:hover,
.result-card:hover,
.logistics-card:hover,
.logic-card:hover,
.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 35px 70px rgba(166, 138, 100, 0.25);
}

/* --- Icon Hover Effects --- */
.card-icon img,
.result-icon svg,
.log-icon svg,
.approach-icon svg {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        color 0.3s ease;
}

.displacement-card:hover .card-icon img,
.result-card:hover .result-icon svg,
.logistics-card:hover .log-icon svg,
.approach-card:hover .approach-icon svg {
    transform: scale(1.15) rotate(5deg);
}

/* --- Button Ripple Effect --- */
.btn-primary,
.btn-footer {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-footer:hover::before {
    width: 500px;
    height: 500px;
}

/* --- FAQ Accordion Enhanced Animation --- */
.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

/* --- Image Hover Parallax Effect --- */
.description-image,
.rarely-image,
.author-image-wrapper {
    overflow: hidden;
}

.description-image img,
.rarely-image img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.description-image:hover img,
.rarely-image:hover img {
    transform: scale(1.05);
}

/* --- Navigation Active State --- */
.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    width: 100%;
}

/* --- Smooth Focus States for Accessibility --- */
.btn-primary:focus,
.btn-footer:focus,
.nav-link:focus,
.mobile-nav-link:focus,
.faq-question:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* --- Quote Block Entrance --- */
.quote-section .main-quote {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* --- Disable animations for users who prefer reduced motion --- */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-stagger>* {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .attempt-card,
    .displacement-card,
    .step-card,
    .result-card,
    .logistics-card,
    .logic-card,
    .approach-card,
    .pricing-card,
    .faq-item,
    .btn-primary,
    .btn-footer {
        transition: none;
    }

    .btn-primary::before,
    .btn-footer::before {
        display: none;
    }
}

/* --- Navigation Fade Transition Overlay --- */
.nav-fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-fade-overlay.active {
    opacity: 1;
}

/* ===========================================
   RESPONSIVE DESIGN - FINAL ADAPTABILITY
   =========================================== */

/* --- iPad and Tablet Portrait (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content header {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
    }

    .hero-visual {
        min-height: 380px;
    }

    .visual-circle {
        width: 280px;
        height: 280px;
    }

    /* Feature labels hide connector lines on tablet */
    .feature-label {
        position: relative;
        max-width: 280px;
    }

    .feature-label::after {
        display: none;
    }

    .section-title-center {
        font-size: 1.8rem;
    }

    .logistics-grid {
        gap: 1.5rem;
    }

    .logic-card {
        padding: 2rem 1.5rem;
    }

    .logic-title {
        font-size: 1.25rem;
    }

    .author-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .author-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

/* --- Small Mobile (480px and below) --- */
@media (max-width: 480px) {
    :root {
        --spacing-container: 1rem;
    }

    body {
        scroll-padding-top: 70px;
    }

    .container {
        padding: 0 1rem;
    }

    /* Typography scaling for small screens */
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .section-title-center {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .section-title-left {
        font-size: 1.75rem;
    }

    /* Hero Section */
    .hero {
        padding: 3rem 0;
        padding-top: 90px;
        min-height: auto;
    }

    .hero-visual {
        min-height: auto;
        margin: 1.5rem 0;
    }

    .visual-circle {
        width: 240px;
        height: 240px;
    }

    .visual-circle::before {
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
    }

    .feature-label {
        padding: 0.6rem;
        max-width: 100%;
        border-radius: 10px;
    }

    .feature-label strong {
        font-size: 1rem;
    }

    .feature-label span {
        font-size: 0.8rem;
    }

    .hero-footer {
        gap: 1rem;
    }

    /* Text Blocks */
    .description-text,
    .rarely-text p,
    .subtitle-text {
        font-size: 1rem;
    }

    .description-text p {
        margin-bottom: 1.5rem;
    }

    .highlight-quote p {
        font-size: 1.2rem;
    }

    .custom-list li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

    /* Block 5: Attempts */
    .attempt-card {
        padding: 1.5rem;
    }

    .card-number {
        font-size: 2.5rem;
    }

    .attempt-card h3 {
        font-size: 1.125rem;
    }

    .attempts-footer {
        padding: 1.5rem;
        font-size: 1rem;
    }

    /* Block 6: Displacement */
    .displacement-intro p {
        font-size: 1.05rem;
    }

    .displacement-card {
        padding: 2rem 1.5rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .displacement-card p {
        font-size: 0.95rem;
    }

    .highlight-quote-center {
        font-size: 1.25rem;
        padding: 0.75rem 1rem;
    }

    /* Block 7: Quote */
    .quote-section {
        padding: 3rem 0;
    }

    .main-quote {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .main-quote::after {
        margin: 2rem auto 0 auto;
        width: 60px;
    }

    .quote-section::before {
        font-size: 15rem;
    }

    /* Block 8: Club Structure */
    .club-structure {
        padding: 2rem 0;
    }

    .club-structure .header-group {
        margin-bottom: 3rem;
    }

    .structure-description {
        font-size: 1rem;
    }

    .path-highlight-box {
        padding: 0.75rem 1.25rem;
    }

    .path-highlight-box p {
        font-size: 1rem;
    }

    .step-num {
        font-size: 2.5rem;
    }

    .step-card h3 {
        font-size: 1.125rem;
    }

    /* Block 9: Results */
    .results-section {
        padding: 3rem 0;
    }

    .results-header {
        margin-bottom: 2.5rem;
    }

    .result-card {
        padding: 2rem 1.5rem;
    }

    .result-icon {
        width: 45px;
        height: 45px;
    }

    .result-card p {
        font-size: 1rem;
    }

    /* Block 10: How it works */
    .how-it-works {
        padding: 3rem 0;
    }

    .logistics-grid {
        margin-bottom: 3rem;
    }

    .logistics-card {
        padding: 2rem 1.5rem;
        gap: 1rem;
    }

    .log-icon {
        width: 50px;
        height: 50px;
    }

    .logistics-card p {
        font-size: 1rem;
    }

    .meeting-content {
        padding: 2rem 1.5rem;
    }

    .meeting-subtitle {
        font-size: 1.5rem;
    }

    .meeting-list li {
        font-size: 1rem;
    }

    .li-icon {
        font-size: 1.25rem;
    }

    /* Block 11: Track Logic */
    .track-logic {
        padding: 3rem 0;
    }

    .track-header {
        margin-bottom: 2.5rem;
    }

    .section-subtitle-center {
        font-size: 1rem;
    }

    .logic-card {
        padding: 2rem 1.5rem;
    }

    .stage-badge {
        font-size: 1.1rem;
    }

    .time-badge {
        font-size: 0.85rem;
    }

    .logic-title {
        font-size: 1.2rem;
        min-height: auto;
    }

    .logic-list li {
        font-size: 0.95rem;
    }

    /* Block 12: Author */
    .author-section {
        padding: 3rem 0;
    }

    .author-text {
        gap: 1.25rem;
    }

    .author-intro {
        font-size: 1.1rem;
        padding-left: 1rem;
    }

    .author-text p {
        font-size: 1rem;
    }

    .highlight-subtitle {
        font-size: 1.1rem;
        padding-left: 1.25rem;
    }

    .client-request-quote {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }

    .client-request-quote p {
        font-size: 1.1rem;
    }

    .author-feature-list li {
        font-size: 1rem;
    }

    .author-image-wrapper img {
        min-height: 350px;
    }

    /* Block 13: Approach */
    .approach-section {
        padding: 3rem 0;
    }

    .approach-grid {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .approach-card {
        padding: 2rem 1.5rem;
        gap: 1rem;
    }

    .approach-icon {
        width: 50px;
        height: 50px;
    }

    .approach-card p {
        font-size: 0.95rem;
    }

    .approach-closing {
        margin-top: 2.5rem;
    }

    /* Block 14: Pricing */
    .pricing-section {
        padding: 3rem 0;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .pricing-desc {
        font-size: 0.95rem;
    }

    .pricing-cost .price {
        font-size: 2rem;
    }

    .pricing-cost .period {
        font-size: 1rem;
    }

    .pricing-features li {
        font-size: 0.95rem;
    }

    .important-info-block {
        padding: 2rem 1.5rem;
    }

    .important-info-block h3 {
        font-size: 1.3rem;
    }

    .info-list li {
        font-size: 1rem;
    }

    .verification-text {
        font-size: 1rem;
    }

    /* Block 15: FAQ */
    .faq-section {
        padding: 2.5rem 0 3.5rem 0;
    }

    .faq-question {
        padding: 1.125rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 1.125rem 1.125rem 1.125rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .site-footer {
        padding: 3rem 0 2.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-quote {
        font-size: 1.25rem;
    }

    .footer-quote::after {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .footer-cta p {
        font-size: 1rem;
    }

    .footer-cta strong {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .btn-footer {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    /* Mobile Nav */
    .mobile-nav-link {
        font-size: 1.25rem;
    }

    .mobile-nav-list {
        gap: 1.5rem;
    }
}

/* --- Extra Small Mobile (375px and below) --- */
@media (max-width: 375px) {
    .container {
        padding: 0 0.875rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

    .visual-circle {
        width: 200px;
        height: 200px;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .section-title-center {
        font-size: 1.35rem;
    }

    .section-title-left {
        font-size: 1.5rem;
    }

    .main-quote {
        font-size: 1.4rem;
    }

    .pricing-cost .price {
        font-size: 1.75rem;
    }

    .footer-quote {
        font-size: 1.125rem;
    }

    .footer-cta strong {
        font-size: 1.35rem;
    }
}

/* ===========================================
   CROSS-BROWSER COMPATIBILITY
   =========================================== */

/* Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {

    /* Fix for 100vh issue on iOS Safari */
    .hero {
        min-height: -webkit-fill-available;
    }

    .mobile-nav-overlay {
        height: -webkit-fill-available;
    }
}

/* Webkit scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-light) var(--color-bg);
}

/* Vendor prefixes for flexbox gaps (older Safari) */
@supports not (gap: 1rem) {

    .nav-list li+li,
    .mobile-nav-list li+li {
        margin-top: 2rem;
    }

    .hero-footer>*+* {
        margin-top: 1.5rem;
    }

    .footer-content>*+* {
        margin-top: 4rem;
    }
}

/* Additional vendor prefixes */
.visual-circle,
.description-image,
.rarely-image,
.author-image-wrapper,
.logistics-card,
.result-card,
.logic-card,
.pricing-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Ensure text doesn't get too small on zoom */
@media screen and (max-width: 320px) {
    html {
        font-size: 14px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .visual-circle::before {
        border-width: 0.5px;
    }

    .step-line {
        height: 0.5px;
    }
}

/* Print styles */
@media print {

    .site-header,
    .mobile-nav-overlay,
    .btn-primary,
    .btn-footer {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding-top: 0;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
        padding-top: 80px;
    }

    .hero-visual {
        min-height: 250px;
    }

    .visual-circle {
        width: 180px;
        height: 180px;
    }

    .mobile-nav-overlay {
        overflow-y: auto;
    }
}

/* Fix for fixed header on iOS Safari */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

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

/* Fix for text-wrap balance browser support */
@supports not (text-wrap: balance) {
    .footer-quote {
        text-wrap: unset;
    }
}

/* Hover states only on devices with hover capability */
@media (hover: hover) and (pointer: fine) {

    .attempt-card:hover,
    .displacement-card:hover,
    .result-card:hover,
    .logistics-card:hover,
    .logic-card:hover,
    .approach-card:hover,
    .pricing-card:hover {
        transform: translateY(-8px);
    }
}

/* Touch devices - disable hover transforms to prevent sticky states */
@media (hover: none) {

    .attempt-card:hover,
    .displacement-card:hover,
    .result-card:hover,
    .logistics-card:hover,
    .logic-card:hover,
    .approach-card:hover,
    .pricing-card:hover {
        transform: none;
    }

    .btn-primary:hover,
    .btn-footer:hover {
        transform: none;
    }
}

/* ===========================================
   GROUPED COMPONENT QUERIES
   (Moved from component blocks)
   =========================================== */

/* --- Tablet / Mobile Max Width Layouts --- */
@media (max-width: 991px) {

    /* Author Section */
    .author-section {
        padding: 4rem 0;
    }

    .author-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .author-visual {
        order: -1;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        padding-top: 0;
    }

    .author-image-wrapper {
        min-height: auto;
        height: 280px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(166, 138, 100, 0.15);
    }

    .author-image-wrapper img {
        min-height: auto;
        height: 100%;
        object-position: center 65%;
    }

    .author-decoration-frame {
        inset: 15px;
        border-radius: 12px;
    }

    .section-title-left {
        text-align: left;
        font-size: 2.2rem;
    }

    .author-intro {
        font-size: 1.15rem;
        text-align: left;
        padding-left: 1.5rem;
        border-left: 2px solid var(--color-accent);
        border-bottom: none;
        padding-bottom: 0;
    }

    .author-feature-list li {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {

    /* FAQ */
    .faq-question {
        padding: 1.25rem;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    /* Footer */
    .site-footer {
        padding: 4rem 0 3rem;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .btn-footer {
        width: 100%;
        max-width: 320px;
    }
}

/* --- Desktop Min Width Layouts --- */
@media (min-width: 768px) {

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

    /* Pricing */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }

    .featured-card {
        transform: scale(1.03);
        z-index: 1;
    }

    .featured-card:hover {
        transform: scale(1.05);
    }

    /* Important Info */
    .important-info-block {
        flex-direction: row;
        align-items: flex-start;
        padding: 3rem;
    }

    .info-list li {
        margin-bottom: 0.5rem;
    }
}