/* ═══════════════════════════════════════
   CASE STUDY - All styles for case pages
   ═══════════════════════════════════════
   Shared tokens, nav, animations, section primitives,
   CTA button, and keyframes live in common.css.
   Everything below is case-study-specific.
   ═══════════════════════════════════════ */


/* ═══════════════════════════════════════
   HERO - Full-bleed cinematic cover
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--c-bg-dark);
}

.hero__image-wrap {
    position: absolute;
    inset: -40px;
    will-change: transform;
}

.hero__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.15) 0%, rgba(10, 15, 26, 0.4) 40%, rgba(10, 15, 26, 0.85) 80%, rgba(10, 15, 26, 0.98) 100%),
    radial-gradient(ellipse at 30% 80%, rgba(212, 98, 43, 0.15), transparent 60%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(24px, 5vw, 80px) clamp(60px, 10vh, 120px);
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
}

.hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--c-accent-glow);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: heroSlideUp 1s var(--ease-out-expo) 0.4s forwards;
}

.hero__eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--c-accent-glow);
    opacity: 0.8;
    filter: drop-shadow(0 0 4px rgba(209, 115, 33, 0.4));
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.02;
    color: #fff;
    max-width: 850px;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    opacity: 0;
    animation: heroSlideUp 1.1s var(--ease-out-expo) 0.6s forwards;
}

.hero__title em {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 400;
    color: var(--c-accent-glow);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    max-width: 440px;
    line-height: 1.65;
    opacity: 0;
    animation: heroSlideUp 1.1s var(--ease-out-expo) 0.8s forwards;
}

.hero__scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: heroFadeIn 1s ease 1.5s forwards;
}

.hero__scroll-cue span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2.5s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.6);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ═══════════════════════════════════════
   MARQUEE - Horizontal ticker
   ═══════════════════════════════════════ */
.marquee {
    overflow: hidden;
    background: var(--c-bg-dark);
    padding: 20px 0;
    border-bottom: 1px solid var(--c-line-light);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee__item {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.marquee__item::after {
    content: '\25C6';
    font-size: 6px;
    color: var(--c-accent);
}

@keyframes marqueeScroll {
    to {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════
   CHAT - The origin story (screenshot + aside)
   ═══════════════════════════════════════ */
.chat-section {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px) clamp(40px, 5vw, 60px);
    max-width: var(--max-w);
    margin: 0 auto;
}

.chat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-text-muted);
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.chat-label::before,
.chat-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--c-line);
}

/* Layout override: screenshot takes more space than default card-aside */
.chat-layout.card-aside {
    grid-template-columns: 1fr 260px;
}

/* ─── Screenshot frame (button for lightbox) ─── */
button.chat-screenshot {
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    text-align: left;
}

.chat-screenshot {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 24px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--c-line);
    transition: box-shadow 0.6s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.chat-screenshot:hover {
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.1),
        0 32px 72px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.chat-screenshot img {
    display: block;
    width: 100%;
    height: auto;
}

/* Second paragraph in aside — accent color for the punchline */
.chat-layout .card-aside__note p + p {
    margin-top: 16px;
    font-style: normal;
    font-family: var(--font-display);
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--c-accent);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .chat-layout.card-aside {
        grid-template-columns: 1fr;
    }

    .chat-screenshot {
        max-width: 540px;
    }
}

/* ═══════════════════════════════════════
   STATS - Animated numbers grid
   ═══════════════════════════════════════ */
.stats-section {
    padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 60px) clamp(80px, 10vw, 140px);
    max-width: var(--max-w);
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--c-line);
    border: 1px solid var(--c-line);
}

.stat-card {
    background: var(--c-bg);
    padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px);
    text-align: center;
    transition: background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-accent);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.stat-card:hover {
    background: #fff;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 800;
    color: var(--c-bg-dark);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.04em;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-text-muted);
}

/* ═══════════════════════════════════════
   AUTHOR - Cinematic split
   ═══════════════════════════════════════ */
.author-section {
    background: var(--c-bg-dark);
    position: relative;
    overflow: hidden;
}

.author-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 98, 43, 0.06), transparent 60%);
    pointer-events: none;
}

.author-card {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 600px;
}

.author-card__image {
    position: relative;
    overflow: hidden;
}

.author-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.author-card__image:hover img {
    transform: scale(1.05);
}

.author-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, var(--c-bg-dark) 100%);
}

.author-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 5vw, 80px) clamp(40px, 5vw, 100px);
}

.author-card__role {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--c-accent-glow);
    margin-bottom: 20px;
}

.author-card__name {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.author-card__text {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.55);
    max-width: 420px;
}

/* ═══════════════════════════════════════
   BRIEF - The client's vision
   ═══════════════════════════════════════ */
.brief-section {
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
    max-width: var(--max-w);
    margin: 0 auto;
}

.brief-section .section-title {
    max-width: 600px;
    margin-bottom: 60px;
}

.brief-card {
    max-width: 720px;
    background: #fff;
    padding: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 60px);
    position: relative;
    border: 1px solid var(--c-line);
    overflow: hidden;
}

.brief-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-gold), var(--c-sage));
}

.brief-card__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    padding: 6px 16px;
    margin-bottom: 24px;
    color: var(--c-accent);
}

.brief-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-line);
    letter-spacing: -0.02em;
}

.brief-list {
    list-style: none;
}

.brief-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-text);
}

.brief-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 2px;
    background: var(--c-accent);
}

.brief-note {
    max-width: 720px;
    margin-top: 36px;
    padding: 24px 28px;
    background: rgba(122, 142, 107, 0.08);
    border-left: 3px solid var(--c-sage);
    font-size: 15px;
    font-style: italic;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   TIMELINE - Horizontal phases
   ═══════════════════════════════════════ */
.timeline-section {
    padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
    max-width: 800px;
    margin: 0 auto;
}

.timeline-section .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.timeline-bar {
    display: flex;
    gap: 3px;
    border-radius: 8px;
    overflow: hidden;
}

.timeline-phase {
    flex: 1;
    padding: clamp(24px, 3vw, 36px) 20px;
    text-align: center;
    position: relative;
    transition: flex 0.5s var(--ease-out-expo);
}

.timeline-phase:hover {
    flex: 1.4;
}

.timeline-phase:nth-child(1) {
    background: var(--c-cream);
    color: var(--c-text);
}

.timeline-phase:nth-child(2) {
    background: var(--c-gold);
    color: var(--c-bg-warm);
}

.timeline-phase:nth-child(3) {
    background: var(--c-accent);
    color: #fff;
}

.timeline-month {
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.timeline-desc {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* ═══════════════════════════════════════
   PROCESS - Service cards
   ═══════════════════════════════════════ */
.process-section {
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
    background: var(--c-cream);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-cream-dark), transparent);
}

.process-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: clamp(60px, 7vw, 100px);
}

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

.process-card {
    background: #fff;
    padding: clamp(32px, 3vw, 44px) clamp(28px, 3vw, 36px);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
    border: 1px solid transparent;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--c-accent);
}

.process-card__num {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 800;
    color: var(--c-cream);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.process-card:hover .process-card__num {
    color: rgba(212, 98, 43, 0.12);
}

.process-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.process-card__text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--c-text-muted);
}

/* ═══════════════════════════════════════
   CONSTRAINTS - Challenge block
   ═══════════════════════════════════════ */
.constraint-section {
    padding: 0 clamp(20px, 5vw, 60px) clamp(80px, 10vw, 120px) clamp(20px, 5vw, 60px);
    max-width: 800px;
    margin: 0 auto;
}

.constraint-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--c-clay);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.constraint-label::before {
    content: '\26A1';
    font-size: 14px;
}

.constraint-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.constraint-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--c-text-muted);
    margin-bottom: 28px;
}

.constraint-solution {
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-left: 3px solid var(--c-sage);
    position: relative;
}

.constraint-solution__label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--c-sage);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.constraint-solution p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--c-text-muted);
}

/* ═══════════════════════════════════════
   GALLERY - Horizontal drag scroll
   ═══════════════════════════════════════ */
.gallery {
    padding: 0;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.gallery:active {
    cursor: grabbing;
}

.gallery__track {
    display: flex;
    gap: 4px;
    padding: 4px 0;
    transition: transform 0.1s ease;
    will-change: transform;
}

.gallery__item {
    flex: 0 0 clamp(280px, 30vw, 420px);
    height: clamp(240px, 30vw, 380px);
    overflow: hidden;
    position: relative;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 15, 26, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery__item:hover::after {
    opacity: 1;
}

.gallery__hint {
    position: absolute;
    bottom: 20px;
    right: 32px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-text-muted);
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery__hint::after {
    content: '\2192';
    font-size: 14px;
    animation: hintArrow 1.5s ease infinite;
}

@keyframes hintArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

/* ═══════════════════════════════════════
   ROUTE PARTS - Dramatic alternating
   ═══════════════════════════════════════ */
.route-section {
    padding: clamp(80px, 10vw, 140px) 0;
}

.route-header {
    text-align: center;
    padding: 0 clamp(20px, 5vw, 60px);
    margin-bottom: clamp(60px, 8vw, 100px);
}

.route-header .section-title {
    font-size: clamp(32px, 4.5vw, 56px);
}

.route-part {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(400px, 50vw, 560px);
}

.route-part:nth-child(even) {
    direction: rtl;
}

.route-part:nth-child(even) > * {
    direction: ltr;
}

.route-part__image {
    position: relative;
    overflow: hidden;
}

.route-part__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-expo);
}

.route-part:hover .route-part__image img {
    transform: scale(1.04);
}

.route-part__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 5vw, 72px) clamp(32px, 5vw, 80px);
    background: var(--c-bg-dark);
    color: #fff;
    position: relative;
}

.route-part:nth-child(2) .route-part__content {
    background: var(--c-bg-warm);
}

.route-part:nth-child(3) .route-part__content {
    background: #151a12;
}

.route-part:nth-child(4) .route-part__content {
    background: #12141a;
}

.route-part__label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--c-accent-glow);
    margin-bottom: 20px;
}

.route-part__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.route-part__desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    max-width: 420px;
}

.route-part__cities {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.route-city {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.route-city:hover {
    border-color: var(--c-accent-glow);
    color: var(--c-accent-glow);
}

/* ═══════════════════════════════════════
   FEATURES - What we prepared
   ═══════════════════════════════════════ */
.features-section {
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
    background: #fff;
}

.features-inner {
    max-width: 960px;
    margin: 0 auto;
}

.features-section .section-title {
    margin-bottom: clamp(48px, 6vw, 80px);
}

.feature-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: clamp(24px, 4vw, 60px);
    padding: clamp(32px, 3vw, 48px) 0;
    border-top: 1px solid var(--c-line);
    align-items: baseline;
    position: relative;
}

.feature-row:last-child {
    border-bottom: 1px solid var(--c-line);
}

.feature-row::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-accent);
    transition: width 0.8s var(--ease-out-expo);
}

.feature-row:hover::before {
    width: 100%;
}

.feature-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.feature-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--c-text-muted);
}

/* ═══════════════════════════════════════
   PULLQUOTE - Cinematic quote
   ═══════════════════════════════════════ */
.pullquote-section {
    padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 60px);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--c-bg);
}

.pullquote-section::before {
    content: '\201C';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-family: var(--font-body);
    font-size: clamp(300px, 40vw, 600px);
    color: var(--c-cream-dark);
    line-height: 1;
    pointer-events: none;
    opacity: 0.5;
}

.pullquote-text {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.55;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pullquote-author {
    margin-top: 32px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-text-muted);
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════
   RESULTS - Numbered outcomes
   ═══════════════════════════════════════ */
.results-section {
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
    background: var(--c-cream);
}

.results-inner {
    max-width: 900px;
    margin: 0 auto;
}

.results-section .section-title {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.result-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: 48px;
    align-items: start;
}

.result-num {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--c-accent);
    border: 2px solid var(--c-accent);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.result-num:hover,
.result-item:hover .result-num {
    background: var(--c-accent);
    color: #fff;
}

.result-title {
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.3;
}

.result-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--c-text-muted);
}

/* ═══════════════════════════════════════
   CARD-ASIDE - Reusable card + sticky note
   Used by: brief, checklist, timing, schedule
   ═══════════════════════════════════════ */
.card-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.card-aside__note {
  align-self: stretch;
  padding-top: clamp(20px, 2.5vw, 32px);
}

.card-aside__note p {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--c-text);
  border-left: 2px solid var(--c-gold);
  padding-left: clamp(16px, 2vw, 24px);
}


/* ═══════════════════════════════════════
   BRIEF - Card + side annotation
   ═══════════════════════════════════════ */
.brief-section--compact {
  padding-bottom: clamp(32px, 4vw, 48px);
}

.brief-section--compact .section-title {
  margin-bottom: clamp(36px, 4vw, 48px);
}

.brief-wrap .brief-card {
  max-width: none;
}

/* ─── Showcase inside brief card ─── */
.brief-card__showcase {
  margin-top: clamp(24px, 3vw, 32px);
}

.brief-card__showcase .rb-showcase__item {
  border-radius: 8px;
}


/* ═══════════════════════════════════════
   JOURNEY - Compact timeline + narrative
   ═══════════════════════════════════════ */
.journey-section--tight {
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 60px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.journey-heading {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.journey-section--tight .timeline-bar {
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* Journey steps - decision progression */
.journey-steps {
  padding: 0 0 clamp(80px, 10vw, 120px) 0;
  position: relative;
}

.journey-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: clamp(16px, 2vw, 24px);
  position: relative;
  padding-bottom: clamp(28px, 3vw, 40px);
}

.journey-step:last-child {
  padding-bottom: 0;
}

/* Vertical connector between markers */
.journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--c-line);
  transform: translateX(-0.5px);
}

.journey-step__marker {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: var(--c-bg);
  transition: background 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo);
}

.journey-step:hover .journey-step__marker {
  background: var(--c-accent);
  color: #fff;
}

.journey-step__content {
  padding-top: 4px;
}

.journey-step__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}

.journey-step__content p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.85;
  color: var(--c-text-muted);
  margin: 0;
}


/* ═══════════════════════════════════════
   TEAM SECTION - Project team cards
   Dark bg, no-photo cards with initials
   ═══════════════════════════════════════ */
.team-section {
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 60px);
  background: var(--c-bg-dark);
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(212,98,43,0.06), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(201,168,76,0.04), transparent 50%);
  pointer-events: none;
}

.team-section .section-tag {
  justify-content: center;
  color: var(--c-accent-glow);
}

.team-section .section-tag::before {
  background: var(--c-accent-glow);
}

.team-note {
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin: 0 auto clamp(12px, 2vw, 20px);
}

.team-count {
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.team-count strong {
  color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.team-grid--trio {
  grid-template-columns: repeat(3, 1fr);
  max-width: 840px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line-light);
  padding: 0;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.4s ease;
  position: relative;
}

.team-card--no-photo {
  padding: clamp(32px, 4vw, 48px) clamp(16px, 2vw, 24px) clamp(28px, 3vw, 36px);
  cursor: default;
}

.team-card--no-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.team-card__initial {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 98, 43, 0.15), rgba(201, 168, 76, 0.1));
  border: 1px solid rgba(212, 98, 43, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-accent-glow);
  margin-bottom: clamp(16px, 2vw, 24px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.team-card--no-photo:hover .team-card__initial {
  border-color: rgba(212, 98, 43, 0.4);
  box-shadow: 0 0 24px rgba(212, 98, 43, 0.12);
}

.team-card__info {
  padding: 0;
}

.team-card--no-photo .team-card__info {
  padding: 0;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}

.team-card__role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-accent-glow);
  line-height: 1.5;
}


/* ═══════════════════════════════════════
   EXPERT POPUP - Dialog modal for bios
   Photo on top, text below — fits any
   aspect ratio without cropping.
   ═══════════════════════════════════════ */
.expert-popup {
  border: none;
  padding: 0;
  max-width: 480px;
  width: 90vw;
  max-height: 90vh;
  max-height: 90dvh;
  margin: auto;
  background: var(--c-bg);
  overflow: hidden auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.expert-popup[open] {
  animation: expertPopupIn 0.4s var(--ease-out-expo);
}

@keyframes expertPopupIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.expert-popup::backdrop {
  background: rgba(10, 15, 26, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: expertBackdropIn 0.3s ease;
}

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

.expert-popup__inner {
  position: relative;
}

.expert-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.expert-popup__close:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: #fff;
}

.expert-popup__photo {
  width: 100%;
  overflow: hidden;
  background: var(--c-cream-dark);
}

.expert-popup__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.expert-popup__body {
  padding: clamp(24px, 4vw, 36px) clamp(24px, 3vw, 32px);
}

.expert-popup__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.expert-popup__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.expert-popup__bio {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-muted);
}

.expert-popup__bio p {
  margin-bottom: 12px;
}

.expert-popup__bio p:last-child {
  margin-bottom: 0;
}


/* ═══════════════════════════════════════
   R66 CHAPTER - Route 66 story section
   Cohesive narrative: prep + roadbook
   ═══════════════════════════════════════ */
.r66-chapter {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
  background: var(--c-cream);
  position: relative;
}

.r66-chapter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cream-dark), transparent);
}

.r66-chapter__inner {
  max-width: 900px;
  margin: 0 auto;
}

.r66-chapter__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.r66-chapter__tag::before,
.r66-chapter__tag::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c-accent);
}

.r66-chapter__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* Story text flow */
.r66-story {
  max-width: 700px;
  margin: 0 auto;
}

/* Card-aside breakout from 700px story to 900px inner */
.r66-story > .card-aside {
  margin-left: -100px;
  margin-right: -100px;
}

.r66-story__text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.85;
  color: var(--c-text-muted);
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.r66-story__text:last-child {
  margin-bottom: 0;
}

/* Expert link */
.r66-story__link {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 112, 63, 0.4);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.r66-story__link:hover {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

/* Roadbook showcase — 3 images spread */
.rb-showcase {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.6fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: clamp(8px, 1.5vw, 16px);
  align-items: start;
}

.rb-showcase__item {
  position: relative;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.rb-showcase__item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.08);
}

.rb-showcase__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-showcase__item--cover {
  grid-row: 1 / 3;
  grid-column: 1;
  transform: rotate(-1.5deg);
}

.rb-showcase__item--cover:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
}

.rb-showcase__item--page {
  grid-row: 1 / 3;
  grid-column: 2;
  max-height: 380px;
  transform: rotate(0.8deg);
}

.rb-showcase__item--page:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
}

.rb-showcase__item--page img {
  object-position: top;
}

.rb-showcase__item--map {
  grid-row: 1 / 3;
  grid-column: 3;
  transform: rotate(1deg);
}

.rb-showcase__item--map:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
}

/* Caption overlay */
.rb-showcase__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rb-showcase__item:hover .rb-showcase__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Duo variant — 2 portrait images side by side */
.rb-showcase--duo {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  max-width: 560px;
}

.rb-showcase__item--duo-left {
  grid-row: 1;
  grid-column: 1;
  transform: rotate(-1.5deg);
  max-height: 380px;
}

.rb-showcase__item--duo-left:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
}

.rb-showcase__item--duo-right {
  grid-row: 1;
  grid-column: 2;
  transform: rotate(1.2deg);
  max-height: 380px;
}

.rb-showcase__item--duo-right:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
}

.rb-showcase__item--duo-left img,
.rb-showcase__item--duo-right img {
  object-position: top;
}

/* ─── Lightbox dialog ─── */
.rb-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(10, 15, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9000;
}

.rb-lightbox[open] {
  opacity: 1;
  visibility: visible;
}

.rb-lightbox::backdrop {
  background: transparent;
}

.rb-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.5s var(--ease-out-expo);
}

.rb-lightbox[open] .rb-lightbox__img {
  transform: scale(1);
}

.rb-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.rb-lightbox__close:hover {
  color: #fff;
  border-color: var(--c-accent);
  background: rgba(255, 255, 255, 0.05);
}

/* ─── Lightbox navigation arrows ─── */
.rb-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.rb-lightbox__nav:hover {
  color: #fff;
  border-color: var(--c-accent);
  background: rgba(10, 15, 26, 0.7);
}

.rb-lightbox__nav--prev { left: clamp(12px, 3vw, 32px); }
.rb-lightbox__nav--next { right: clamp(12px, 3vw, 32px); }

.rb-lightbox__nav[hidden] {
  opacity: 0;
  pointer-events: none;
}

/* ─── Lightbox counter ─── */
.rb-lightbox__counter {
  position: absolute;
  bottom: clamp(16px, 3vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
}

/* ─── Lightbox image transition ─── */
.rb-lightbox__img {
  transition: transform 0.5s var(--ease-out-expo), opacity 0.25s ease;
}

.rb-lightbox__img.is-switching {
  opacity: 0;
  transform: scale(0.96);
}

/* Mission accent block */
.r66-accent {
  border-left: 3px solid var(--c-gold);
  padding-left: clamp(20px, 2.5vw, 28px);
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.r66-accent p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--c-text);
  margin: 0;
}


/* ═══════════════════════════════════════
   R66 CHECKLIST - Interactive task list
   ═══════════════════════════════════════ */
.r66-checklist {
  background: #fff;
  border: 1px solid var(--c-line);
  overflow: hidden;
}

.r66-checklist-wrap {
  padding: clamp(56px, 5vw, 80px) 0;
}

.r66-story > .r66-checklist {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.r66-checklist__header {
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.r66-checklist__title {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.r66-checklist__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.r66-checklist__bar {
  width: 80px;
  height: 4px;
  background: var(--c-line);
  border-radius: 2px;
  overflow: hidden;
}

.r66-checklist__bar-fill {
  height: 100%;
  width: 100%;
  background: var(--c-accent);
  border-radius: 2px;
  transition: width 0.5s var(--ease-out-expo);
}

.r66-checklist__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.r66-checklist__items {
  padding: clamp(8px, 1vw, 12px) 0;
}

/* Individual check item */
.r66-check {
  display: grid;
  grid-template-columns: 24px auto 1fr;
  gap: 0 10px;
  align-items: center;
  padding: clamp(10px, 1.2vw, 14px) clamp(20px, 3vw, 32px);
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid transparent;
}

.r66-check:hover {
  background: rgba(0, 0, 0, 0.015);
}

.r66-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.r66-check__box {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.r66-check__box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.r66-check input:checked ~ .r66-check__box {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.r66-check input:checked ~ .r66-check__box::after {
  opacity: 1;
}

.r66-check__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-text-muted);
  min-width: 24px;
  transition: opacity 0.3s ease;
}

.r66-check__text {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.55;
  color: var(--c-text);
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
  text-decoration: line-through transparent;
}

.r66-check input:checked ~ .r66-check__num {
  opacity: 0.4;
}

.r66-check input:checked ~ .r66-check__text {
  color: var(--c-text-muted);
  text-decoration-color: var(--c-text-muted);
}

/* Blurred section — tease hidden checklist items */
.r66-checklist__blurred {
  position: relative;
  padding: 0 0 clamp(8px, 1vw, 12px);
  filter: blur(4px);
  -webkit-filter: blur(4px);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
}


/* ═══════════════════════════════════════
   R66 COMPARE - Side-by-side placeholders
   ═══════════════════════════════════════ */
.r66-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 20px);
  margin-bottom: clamp(28px, 3vw, 40px);
}

.r66-compare--single {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.r66-compare__placeholder {
  aspect-ratio: 3 / 4;
  background: var(--c-cream-dark);
  border: 1px dashed var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.r66-compare__placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--c-text-muted);
  opacity: 0.6;
}

.r66-compare__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--c-text-muted);
  margin-top: 12px;
  text-align: center;
}


/* ═══════════════════════════════════════
   R66 TIMING - Premium itinerary card
   ═══════════════════════════════════════ */

.r66-timing {
  background: #fff;
  border: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 12px 40px rgba(0, 0, 0, 0.06);
}

.r66-timing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--c-accent), var(--c-gold));
}

.r66-timing__head {
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(16px, 2vw, 24px);
  padding-left: clamp(28px, 3.5vw, 42px);
  border-bottom: 1px solid var(--c-line);
}

.r66-timing__day {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 8px;
}

.r66-timing__loc {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.r66-timing__weather {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--c-text-muted);
  padding: 4px 12px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 20px;
}

.r66-timing__note {
  padding: clamp(14px, 1.8vw, 20px) clamp(24px, 3vw, 36px);
  padding-left: clamp(28px, 3.5vw, 42px);
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  line-height: 1.65;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-line);
}

.r66-timing__entries {
  padding: clamp(8px, 1vw, 12px) 0;
}

.r66-timing__entry {
  display: grid;
  grid-template-columns: clamp(90px, 12vw, 120px) 1fr;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(14px, 1.8vw, 20px) clamp(24px, 3vw, 36px);
  padding-left: clamp(28px, 3.5vw, 42px);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  transition: background 0.2s ease;
}

.r66-timing__entry:last-child {
  border-bottom: none;
}

.r66-timing__entry:hover {
  background: rgba(0, 0, 0, 0.015);
}

.r66-timing__time {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--c-accent);
  padding-top: 2px;
  white-space: nowrap;
}

.r66-timing__activity {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: 4px;
}

.r66-timing__detail {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-text-muted);
}


/* Roadbook divider */
.r66-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 40px);
}

.r66-divider::before,
.r66-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-cream-dark);
}

.r66-divider__label {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}


/* ═══════════════════════════════════════
   EXPERT CARD - Horizontal bio card
   ═══════════════════════════════════════ */
.expert-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--c-bg-dark);
  overflow: hidden;
  max-width: 700px;
  margin: clamp(32px, 4vw, 48px) auto;
}

.expert-card__photo {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

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

.expert-card__content {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expert-card__title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.expert-card__bio {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.expert-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-accent-glow);
  margin-bottom: 12px;
}


/* ═══════════════════════════════════════
   ARTIFACT - Screenshot / document showcase
   ═══════════════════════════════════════ */
.artifact {
  margin: clamp(32px, 4vw, 48px) auto;
  max-width: 700px;
}

.artifact__image {
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.artifact__image img {
  width: 100%;
  height: auto;
  display: block;
}

.artifact__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--c-text-muted);
  margin-top: 16px;
  text-align: center;
}

.artifact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin: clamp(32px, 4vw, 48px) auto;
  max-width: 700px;
}

.artifact-grid .artifact {
  margin: 0;
  max-width: none;
}


/* ═══════════════════════════════════════
   SCHEDULE SECTION - Layout for timing card
   ═══════════════════════════════════════ */
.schedule-section {
  padding: 0 clamp(20px, 5vw, 60px) clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
}

.schedule-layout {
  max-width: 860px;
  margin: 0 auto;
}



/* ═══════════════════════════════════════
   FEATURE EXPANDABLE - Accordion artifacts
   ═══════════════════════════════════════ */
.feature-row--expandable {
  cursor: pointer;
  user-select: none;
  grid-template-columns: 180px 1fr auto;
}

.feature-row__toggle {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-accent);
  align-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.feature-row__toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-out-expo);
}

.feature-row--expanded .feature-row__toggle::after {
  transform: rotate(-135deg);
}

.feature-row--expandable:hover .feature-row__toggle {
  color: var(--c-gold);
}

.feature-detail {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease 0.1s;
}

.feature-row--expanded .feature-detail {
  max-height: 1200px;
  opacity: 1;
}

.feature-detail__inner {
  padding-top: clamp(24px, 3vw, 36px);
}

.feature-detail .artifact {
  margin: 0 auto;
}

.feature-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  max-width: 700px;
  margin: 0 auto;
}

.feature-detail__grid .artifact {
  max-width: none;
}

.feature-detail__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-muted);
  max-width: 650px;
  margin: 16px auto 0;
  text-align: center;
}


/* ═══════════════════════════════════════
   FEATURE STAT BAR - 95%/5% inline
   ═══════════════════════════════════════ */
.feature-stat-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 480px;
  margin: clamp(28px, 3vw, 40px) auto 0;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
}

.feature-stat-bar__item {
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
}

.feature-stat-bar__item + .feature-stat-bar__item {
  border-left: 1px solid var(--c-line);
}

.feature-stat-bar__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.feature-stat-bar__sub {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--c-text-muted);
  margin-top: 8px;
  line-height: 1.4;
}


/* ═══════════════════════════════════════
   FEATURE QUOTE - Inline pullquote
   ═══════════════════════════════════════ */
.feature-quote {
  margin: clamp(28px, 3vw, 40px) auto 0;
  max-width: 520px;
  padding-left: clamp(20px, 2.5vw, 28px);
  border-left: 2px solid var(--c-gold);
}

.feature-quote__text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--c-text);
  margin: 0;
}

.feature-quote__author {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-top: 12px;
}


/* ═══════════════════════════════════════
   ROUTE PART EXPAND - Read more inside tile
   ═══════════════════════════════════════ */
.route-part__extra {
  margin-top: 24px;
}

.route-part__extra-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease 0.1s;
}

.route-part__extra-body.is-expanded {
  max-height: 600px;
  opacity: 1;
}

.route-part__extra-body p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.route-part__extra-body p:last-child {
  margin-bottom: 16px;
}

.route-part__expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-accent-glow);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.route-part__expand:hover {
  color: var(--c-gold);
}

.route-part__expand::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.route-part__expand:hover::after {
  transform: translateX(3px);
}


/* ═══════════════════════════════════════
   ROUTE INTERLUDE - Story between route parts
   Cream bg with expandable text
   ═══════════════════════════════════════ */
.route-interlude {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  background: var(--c-cream);
  position: relative;
}

.route-interlude::before,
.route-interlude::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--c-cream-dark);
}

.route-interlude::before { top: 0; }
.route-interlude::after { bottom: 0; }

.route-interlude__inner {
  max-width: 800px;
  margin: 0 auto;
}

.route-interlude__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.route-interlude__label::before,
.route-interlude__label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c-accent);
}

.route-interlude__image {
  margin-bottom: clamp(36px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.route-interlude__image img {
  width: 100%;
  height: auto;
  display: block;
}

.route-interlude__text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.9;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.route-interlude__text:last-of-type {
  margin-bottom: 0;
}

/* Expandable "read more" */
.route-interlude__more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease 0.1s;
}

.route-interlude__more.is-expanded {
  max-height: 500px;
  opacity: 1;
}

.route-interlude__expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-accent);
  cursor: pointer;
  padding: 12px 0 0;
  transition: color 0.3s ease;
}

.route-interlude__expand:hover {
  color: var(--c-gold);
}

.route-interlude__expand::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.route-interlude__expand:hover::after {
  transform: translateX(3px);
}


/* ═══════════════════════════════════════
   RESPONSIVE - 900px (Tablet)
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .author-card {
        grid-template-columns: 1fr;
    }

    .author-card__image {
        min-height: 360px;
    }

    .author-card__image::after {
        background: linear-gradient(180deg, transparent 40%, var(--c-bg-dark) 100%);
    }

    .route-part {
        grid-template-columns: 1fr;
    }

    .route-part:nth-child(even) {
        direction: ltr;
    }

    .route-part__image {
        min-height: 280px;
    }

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

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

    .feature-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .team-grid--trio {
        gap: clamp(16px, 2vw, 24px);
    }

    .expert-card {
        grid-template-columns: 160px 1fr;
    }

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

    .feature-row--expandable {
        grid-template-columns: 1fr;
    }

    .feature-row--expandable .feature-label {
        margin-bottom: 0;
    }

    .feature-row--expandable .feature-row__toggle {
        grid-column: 1;
        justify-self: start;
        padding-top: 8px;
    }

    .feature-detail__grid {
        grid-template-columns: 1fr;
    }

    .rb-showcase {
        grid-template-columns: 1fr 0.8fr;
        grid-template-rows: auto auto;
    }

    .rb-showcase__item--cover {
        grid-row: 1 / 2;
        grid-column: 1;
    }

    .rb-showcase__item--page {
        grid-row: 1 / 2;
        grid-column: 2;
        max-height: 300px;
    }

    .rb-showcase__item--map {
        grid-row: 2;
        grid-column: 1 / 3;
        transform: rotate(0);
    }

    .rb-showcase__item--cover,
    .rb-showcase__item--page {
        transform: rotate(0);
    }

    .r66-compare {
        grid-template-columns: 1fr;
    }

    .r66-check {
        grid-template-columns: 22px auto 1fr;
        gap: 0 8px;
    }

    .r66-timing__entry {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .r66-timing__time {
        font-size: 12px;
    }

    .r66-checklist__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-aside {
        grid-template-columns: 1fr;
    }

    .card-aside__note {
        align-self: auto;
        padding-top: 0;
        order: -1;
    }

    .chat-layout .card-aside__note {
        order: 0;
    }

    .card-aside__note p {
        position: static;
    }

    .r66-story > .card-aside {
        margin-left: 0;
        margin-right: 0;
    }

    .schedule-layout {
        max-width: 520px;
    }
}


/* ═══════════════════════════════════════
   RESPONSIVE - 600px (Mobile)
   ═══════════════════════════════════════ */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .result-item {
        grid-template-columns: 52px 1fr;
        gap: 16px;
    }

    .result-num {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .timeline-bar {
        flex-direction: column;
    }

    .timeline-phase:hover {
        flex: 1;
    }

    .expert-card {
        grid-template-columns: 1fr;
    }

    .expert-card__photo {
        min-height: 220px;
        max-height: 260px;
    }

    .expert-popup {
        width: 95vw;
        max-width: none;
    }

    .team-grid--trio {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .feature-stat-bar {
        max-width: 100%;
    }

    .feature-stat-bar__num {
        font-size: clamp(28px, 10vw, 40px);
    }

    .journey-step {
        grid-template-columns: 30px 1fr;
        gap: 12px;
    }

    .journey-step__marker {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .journey-step:not(:last-child)::after {
        left: 15px;
    }

    .rb-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .rb-showcase__item--cover {
        grid-row: 1;
        grid-column: 1;
    }

    .rb-showcase__item--page {
        grid-row: 1;
        grid-column: 2;
        max-height: 260px;
    }

    .rb-showcase__item--map {
        grid-row: 2;
        grid-column: 1 / 3;
    }



    .rb-lightbox__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .rb-lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .rb-lightbox__nav svg {
        width: 20px;
        height: 20px;
    }

    .rb-lightbox__counter {
        font-size: 11px;
        bottom: 12px;
    }
}
