/* Social page / editorial rhythm, one coherent surface in both themes. */
body.social-page {
    --social-display: 'Outfit', sans-serif;
    --social-body: 'Manrope', sans-serif;
    --social-shadow: 0 24px 70px rgba(0, 0, 0, .12);
}

body.social-page #content .social-section {
    padding: clamp(110px, 12vw, 164px) 0 clamp(74px, 9vw, 124px);
    background: linear-gradient(125deg, rgba(245,207,61,.1), transparent 65%), var(--ink);
    text-align: left;
}
body.social-page #content .social-section .container,
body.social-page #content .instagram-showcase .container,
body.social-page #content .youtube-showcase .container {
    width: min(100% - 40px, 1200px);
    max-width: 1200px;
}

/* The portrait gives the page a person before it gives visitors a platform. */
body.social-page #content .social-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
    width: 100%;
    max-width: none;
    min-height: 610px;
    margin: 0 0 clamp(82px, 10vw, 140px);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: var(--social-shadow);
}
body.social-page #content .social-hero::after { display: none; }
body.social-page #content .social-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(36px, 5.7vw, 74px);
    background:
        linear-gradient(115deg, transparent 75%, rgba(245, 207, 61, .035)),
        var(--panel);
}
body.social-page #content .social-badge {
    margin: 0 0 30px;
    padding: 7px 12px;
    color: var(--lime);
    background: rgba(245, 207, 61, .09);
    border: 1px solid var(--line-accent);
    border-radius: 100px;
    box-shadow: none;
    font: 700 .71rem/1.3 var(--social-body);
    letter-spacing: .09em;
    text-transform: uppercase;
}
body.social-page #content .social-section h1 {
    max-width: 740px;
    margin: 0;
    color: var(--paper);
    font: 650 clamp(3.4rem, 6.1vw, 6.25rem)/.98 var(--social-display);
    letter-spacing: -.068em;
    text-transform: none;
    text-wrap: balance;
}
body.social-page #content .social-section h1::after { display: none; }
body.social-page #content .social-section h1 span { color: var(--lime); }
body.social-page #content .social-hero-copy > p {
    max-width: 520px;
    margin: 29px 0 0;
    color: var(--muted);
    font: 500 clamp(.98rem, 1.2vw, 1.08rem)/1.8 var(--social-body);
}
body.social-page #content .social-pills {
    justify-content: flex-start;
    gap: 8px;
    margin: 30px 0 25px;
}
body.social-page #content .social-pill,
body.social-page #content .social-channel-strip button {
    color: var(--paper);
    background: var(--panel-raised);
    border: 1px solid var(--line);
    border-radius: 100px;
    box-shadow: none;
    font: 700 .82rem/1.2 var(--social-body);
    transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}
body.social-page #content .social-pill { padding: 10px 15px; }
body.social-page #content .social-pill i { color: var(--lime); }
body.social-page #content .social-pill:hover,
body.social-page #content .social-channel-strip button:hover { transform: translateY(-2px); border-color: var(--line-accent); }
body.social-page #content .social-pill.is-active,
body.social-page #content .social-channel-strip button.is-active {
    color: #191815;
    background: var(--signal);
    border-color: var(--signal);
}
body.social-page #content .social-pill.is-active i,
body.social-page #content .social-channel-strip button.is-active i { color: #191815; }
body.social-page #content .social-actions { align-items: center; gap: 24px; margin: 0; }
body.social-page #content .social-cta {
    min-height: 48px;
    padding: 13px 19px;
    border-radius: 10px;
    white-space: nowrap;
    font: 700 .88rem/1.1 var(--social-body);
}
body.social-page #content .social-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    color: var(--paper);
    border-bottom: 1px solid var(--line-accent);
    font: 700 .82rem/1.2 var(--social-body);
    text-decoration: none;
    transition: gap .22s ease, color .22s ease;
}
body.social-page #content .social-explore-link:hover { gap: 18px; color: var(--lime); }
body.social-page #content .social-hero-art {
    position: relative;
    min-width: 0;
    min-height: 610px;
    background: linear-gradient(125deg, rgba(245,207,61,.23), rgba(245,207,61,.045) 48%, transparent 78%), #171717;
    isolation: isolate;
}
body.social-page #content .social-hero-art-frame {
    position: absolute;
    z-index: 1;
    inset: 5% 7% 0 7%;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #292929;
}
body.social-page #content .social-hero-art-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .38));
    pointer-events: none;
}
body.social-page #content .social-hero-art-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 49% 24%;
    filter: saturate(.8) contrast(1.035);
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
body.social-page #content .social-hero:hover .social-hero-art-frame img { transform: scale(1.04); }
body.social-page #content .social-hero-art-index,
body.social-page #content .social-hero-art-note,
body.social-page #content .social-hero-art-mark { position: absolute; z-index: 2; }
body.social-page #content .social-hero-art-index {
    top: 9%; left: 6%;
    padding: 9px 12px;
    color: #191815;
    background: var(--signal);
    border-radius: 6px;
    font: 800 .72rem/1 var(--social-body);
    letter-spacing: .1em;
    transform: rotate(-5deg);
}
body.social-page #content .social-hero-art-note {
    right: 7%; bottom: 8%;
    color: #fff;
    font: 750 clamp(1.55rem, 3.2vw, 3.2rem)/.98 var(--social-display);
    letter-spacing: -.05em;
    text-align: right;
    text-shadow: 0 3px 18px rgba(0,0,0,.55);
}
body.social-page #content .social-hero-art-dot { color: var(--signal); }
body.social-page #content .social-hero-art-mark {
    right: 7%; top: 8%;
    display: grid;
    place-items: center;
    width: 42px;
    aspect-ratio: 1;
    color: #191815;
    background: var(--signal);
    border-radius: 50%;
    font-size: .95rem;
}

/* Shared editorial headings. */
body.social-page #content .social-section-heading {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: clamp(20px, 5vw, 80px);
    align-items: start;
    padding: 22px 0 35px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 100px;
}
body.social-page #content .social-section-index {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lime);
    font: 800 .69rem/1.35 var(--social-body);
    letter-spacing: .13em;
    white-space: nowrap;
}
body.social-page #content .social-section-index::before {
    content: '';
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
}
body.social-page #content .social-section-heading h2 {
    max-width: 800px;
    margin: 0;
    color: var(--paper);
    font: 650 clamp(2.35rem, 4.3vw, 4.65rem)/1.04 var(--social-display);
    letter-spacing: -.055em;
    text-wrap: balance;
}
body.social-page #content .social-section-heading h2::after { display: none; }
body.social-page #content .social-section-heading p {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--muted);
    font: 500 .98rem/1.7 var(--social-body);
}

/* The orbital selector is useful on desktop; the strip keeps all eight channels easy to scan. */
body.social-page #content .social-explorer {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(20px, 5vw, 72px);
    max-width: none;
    min-height: 525px;
    padding: clamp(22px, 4vw, 47px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(125deg, rgba(245,207,61,.1), transparent 58%), var(--panel);
    box-shadow: 0 15px 45px rgba(0,0,0,.065);
}
body.social-page #content .social-orbit { width: min(100%, 430px); }
body.social-page #content .social-orbit-track { border-color: var(--line-accent); }
body.social-page #content .social-orbit-track::before,
body.social-page #content .social-orbit-track::after { border-color: var(--line); }
body.social-page #content .social-orbit-node {
    min-width: 78px;
    padding: 10px;
    color: var(--muted);
    background: var(--panel-raised);
    border-color: var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}
body.social-page #content .social-orbit-node i { color: var(--lime); }
body.social-page #content .social-orbit-node span { font: 700 .64rem/1.1 var(--social-body); }
body.social-page #content .social-orbit-node.is-active,
body.social-page:not(.dark) #content .social-orbit-node.is-active {
    color: #191815;
    background: var(--signal);
    border-color: var(--signal);
    box-shadow: 0 0 0 5px rgba(245,207,61,.15), 0 18px 38px rgba(0,0,0,.16);
}
body.social-page #content .social-orbit-node.is-active i { color: #191815; }
body.social-page #content .social-orbit-core {
    background: var(--panel);
    border-color: var(--line-accent);
    box-shadow: 0 0 0 8px rgba(245,207,61,.045);
}
body.social-page #content .social-orbit-core img { border-color: var(--signal); }
body.social-page #content .social-orbit-hint { bottom: -2%; font: 700 .65rem/1.3 var(--social-body); }
body.social-page #content .social-feature {
    align-items: flex-start;
    min-height: 390px;
    padding: 20px 12px 20px 0;
    text-align: left;
}
body.social-page #content .social-feature-controls { max-width: 380px; }
body.social-page #content .social-orbit-step {
    width: 40px; height: 40px; flex-basis: 40px;
    color: var(--paper);
    background: var(--panel-raised);
    border-color: var(--line);
}
body.social-page #content .social-orbit-step:hover { color: #191815; background: var(--signal); border-color: var(--signal); }
body.social-page #content .social-feature-kicker { color: var(--lime); font: 800 .67rem/1.2 var(--social-body); letter-spacing: .08em; }
body.social-page #content .social-profile-row { gap: 18px; margin: 32px 0 18px; }
body.social-page #content .social-avatar-wrap { position: relative; display: block; width: 72px; height: 72px; flex: 0 0 72px; }
body.social-page #content .social-avatar-wrap > img { display: block; width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--social-channel-accent, var(--signal)); border-radius: 50%; box-shadow: 0 0 0 4px rgba(245,207,61,.08); }
body.social-page #content .social-avatar-badge { position: absolute; right: -6px; bottom: -5px; display: grid; place-items: center; width: 27px; height: 27px; color: #fff; background: var(--social-channel-accent, var(--signal)); border: 3px solid var(--panel); border-radius: 9px; font-size: .69rem; }
body.social-page #content .social-feature.is-changing .social-avatar-wrap { animation: social-avatar-in .32s cubic-bezier(.2,.7,.2,1) both; }
@keyframes social-avatar-in { from { opacity: .4; transform: translateY(7px) scale(.9); } to { opacity: 1; transform: none; } }
body.social-page #content .social-profile-row .social-feature-title h2 {
    color: var(--paper);
    font: 700 clamp(2.15rem, 3.5vw, 3.7rem)/1 var(--social-display);
    letter-spacing: -.055em;
}
body.social-page #content .social-feature-title > i { color: var(--social-channel-accent, var(--lime)); }
body.social-page #content .social-profile-handle { color: var(--muted); font: 700 .79rem/1.4 var(--social-body); }
body.social-page #content .social-feature p { max-width: 430px; min-height: 3.4em; margin: 0 0 23px; color: var(--muted); font: 500 .98rem/1.75 var(--social-body); }
body.social-page #content .social-feature .social-cta { min-height: 46px; }
body.social-page #content .social-feature-count { margin-top: 29px; color: var(--muted); font: 700 .7rem/1 var(--social-body); letter-spacing: .1em; }
body.social-page #content .social-feature-count strong { color: var(--lime); font-size: 1.05rem; }
body.social-page #content .social-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body.social-page #content .social-channel-strip {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 7px;
    margin-top: 15px;
}
body.social-page #content .social-channel-strip button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 42px;
    padding: 9px 7px;
    border-radius: 9px;
    cursor: pointer;
    white-space: nowrap;
    font-size: .71rem;
}
body.social-page #content .social-channel-strip button i { color: var(--lime); font-size: .85rem; }

/* A truthful visual diary, using images already in this portfolio. */
body.social-page #content .instagram-showcase {
    padding: clamp(78px, 9vw, 126px) 0 clamp(85px, 9vw, 126px);
    background: var(--panel);
    border-top: 1px solid var(--line);
}
body.social-page #content .instagram-showcase::before { display: none; }
body.social-page #content .social-journal-heading { border-color: var(--line); }
body.social-page #content .social-journal-grid {
    display: grid;
    grid-template-columns: 1.14fr 1fr 1fr;
    gap: clamp(11px, 1.5vw, 20px);
    margin-top: 12px;
}
body.social-page #content .social-journal-card {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: .86;
    overflow: hidden;
    color: #fff;
    background: #272727;
    border: 1px solid var(--line);
    border-radius: 15px;
    isolation: isolate;
    text-decoration: none;
    transition: transform .35s ease, box-shadow .35s ease;
}
body.social-page #content .social-journal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(0,0,0,.2);
}
body.social-page #content .social-journal-card::after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 28%, transparent 48%, rgba(0,0,0,.83));
}
body.social-page #content .social-journal-card img {
    width: 100%; height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}
body.social-page #content .social-journal-card-portrait img { object-position: center 22%; }
body.social-page #content .social-journal-card:hover img { transform: scale(1.055); filter: saturate(1.08); }
body.social-page #content .social-journal-number,
body.social-page #content .social-journal-caption { position: absolute; z-index: 1; }
body.social-page #content .social-journal-number {
    top: 17px; left: 17px;
    padding: 8px 10px;
    color: #191815;
    background: var(--signal);
    border-radius: 6px;
    font: 800 .64rem/1 var(--social-body);
    letter-spacing: .1em;
}
body.social-page #content .social-journal-caption {
    right: 20px; bottom: 24px; left: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 7px 12px;
}
body.social-page #content .social-journal-caption small {
    grid-column: 1 / -1;
    color: #f5cf3d;
    font: 800 .64rem/1 var(--social-body);
    letter-spacing: .14em;
}
body.social-page #content .social-journal-caption strong {
    font: 650 clamp(1.35rem, 2.2vw, 2.15rem)/1.1 var(--social-display);
    letter-spacing: -.035em;
}
body.social-page #content .social-journal-caption i {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    font-size: .78rem;
}
body.social-page #content .social-section-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font: 600 .83rem/1.4 var(--social-body);
}
body.social-page #content .social-section-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--paper);
    font-weight: 800;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}
body.social-page #content .social-section-bottom a:hover { gap: 16px; color: var(--lime); }

/* The gallery lives in the viewport top layer and adapts to each image shape. */
html.social-lightbox-open { overflow: hidden; }
body.social-page .social-lightbox {
    position: fixed;
    inset: 0;
    width: min(1080px, calc(100vw - 48px));
    height: min(740px, calc(100dvh - 48px));
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: #f7f4eb;
    background: #151719;
    border: 1px solid rgba(245,207,61,.38);
    border-radius: 18px;
    box-shadow: 0 36px 110px rgba(0,0,0,.65);
}
body.social-page .social-lightbox[open] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 295px;
    animation: social-lightbox-in .32s cubic-bezier(.22,.7,.2,1) both;
}
body.social-page .social-lightbox::backdrop { background: rgba(5,5,5,.84); backdrop-filter: blur(12px); }
body.social-page .social-lightbox-media {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    padding: clamp(12px, 2vw, 26px);
    overflow: hidden;
    background: linear-gradient(125deg, rgba(245,207,61,.12), transparent 60%), #101214;
    touch-action: pan-y;
}
body.social-page .social-lightbox-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.32));
}
body.social-page .social-lightbox-media img.is-entering { animation: social-lightbox-image-in .32s ease-out both; }
body.social-page .social-lightbox-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 29px 24px 22px;
    background: linear-gradient(155deg, rgba(245,207,61,.09), transparent 45%), #1b1e20;
    border-left: 1px solid rgba(255,255,255,.12);
}
body.social-page .social-lightbox-topline { display: flex; justify-content: space-between; gap: 10px; padding-right: 42px; color: #a8aaa5; font: 800 .61rem/1.2 var(--social-body); letter-spacing: .12em; white-space: nowrap; }
body.social-page .social-lightbox-topline span:last-child { color: #f5cf3d; }
body.social-page .social-lightbox-copy { margin: auto 0; padding: 30px 0; }
body.social-page .social-lightbox-eyebrow { color: #f5cf3d; font: 800 .62rem/1.2 var(--social-body); letter-spacing: .13em; }
body.social-page .social-lightbox-copy h2 { margin: 17px 0 10px; color: #f7f4eb; font: 650 clamp(2rem, 3vw, 2.65rem)/1.02 var(--social-display); letter-spacing: -.055em; }
body.social-page .social-lightbox-copy p { margin: 0; color: #b9bab5; font: 500 .88rem/1.55 var(--social-body); }
body.social-page .social-lightbox-bottom { margin-top: auto; }
body.social-page .social-lightbox-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
body.social-page .social-lightbox-thumbnails button { height: 66px; padding: 0; overflow: hidden; background: #25282a; border: 2px solid transparent; border-radius: 8px; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s, transform .2s; }
body.social-page .social-lightbox-thumbnails button:hover { opacity: 1; transform: translateY(-2px); }
body.social-page .social-lightbox-thumbnails button.is-active { opacity: 1; border-color: #f5cf3d; }
body.social-page .social-lightbox-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.social-page .social-lightbox-progress { height: 2px; margin: 17px 0 18px; overflow: hidden; background: rgba(255,255,255,.16); }
body.social-page .social-lightbox-progress span { display: block; width: var(--lightbox-progress, 33.33%); height: 100%; background: #f5cf3d; transition: width .28s ease; }
body.social-page .social-lightbox-controls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
body.social-page .social-lightbox-controls button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 9px 11px; color: #f7f4eb; background: #292c2e; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; cursor: pointer; font: 700 .76rem/1 var(--social-body); transition: background .2s, border-color .2s, transform .2s; }
body.social-page .social-lightbox-controls button:hover { color: #171717; background: #f5cf3d; border-color: #f5cf3d; transform: translateY(-2px); }
body.social-page .social-lightbox-close { position: absolute; z-index: 3; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; color: #f7f4eb; background: #303336; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
body.social-page .social-lightbox-close:hover { color: #171717; background: #f5cf3d; border-color: #f5cf3d; transform: rotate(90deg); }
@keyframes social-lightbox-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes social-lightbox-image-in { from { opacity: .4; transform: translateX(12px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }

@media (max-width: 760px) {
    body.social-page .social-lightbox { width: calc(100vw - 20px); height: calc(100dvh - 20px); border-radius: 13px; }
    body.social-page .social-lightbox[open] { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; }
    body.social-page .social-lightbox-media { padding: 12px; }
    body.social-page .social-lightbox-info { padding: 15px 17px 16px; border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
    body.social-page .social-lightbox-topline { font-size: .55rem; }
    body.social-page .social-lightbox-copy { margin: 10px 0 13px; padding: 0; }
    body.social-page .social-lightbox-eyebrow { font-size: .55rem; }
    body.social-page .social-lightbox-copy h2 { margin: 6px 0 3px; font-size: 1.55rem; }
    body.social-page .social-lightbox-copy p { font-size: .74rem; }
    body.social-page .social-lightbox-thumbnails button { height: 43px; }
    body.social-page .social-lightbox-progress { margin: 11px 0 12px; }
    body.social-page .social-lightbox-controls button { min-height: 38px; }
    body.social-page .social-lightbox-close { top: 12px; right: 12px; width: 36px; height: 36px; background: rgba(20,21,22,.85); }
}
@media (max-height: 560px) and (min-width: 761px) {
    body.social-page .social-lightbox { height: calc(100dvh - 20px); }
    body.social-page .social-lightbox-info { overflow-y: auto; }
    body.social-page .social-lightbox-copy { padding: 15px 0; }
}
@media (max-height: 560px) and (max-width: 760px) {
    body.social-page .social-lightbox-info { padding-block: 10px; }
    body.social-page .social-lightbox-copy p,
    body.social-page .social-lightbox-thumbnails { display: none; }
    body.social-page .social-lightbox-progress { margin: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
    body.social-page #content .social-feature.is-changing .social-avatar-wrap { animation: none; }
    body.social-page .social-lightbox[open],
    body.social-page .social-lightbox-media img.is-entering { animation: none; }
    body.social-page .social-lightbox :is(button, .social-lightbox-progress span) { transition: none; }
}

/* Video cards maintain the existing consent-aware embeds. */
body.social-page #content .youtube-showcase {
    padding: clamp(78px, 9vw, 126px) 0 clamp(85px, 9vw, 126px);
    background: var(--ink);
    border-top: 1px solid var(--line);
}
body.social-page #content .youtube-showcase::before { display: none; }
body.social-page #content .youtube-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(15px, 2.2vw, 30px);
    max-width: none;
    margin: 12px 0 0;
}
body.social-page #content .yt-card,
body.social-page:not(.dark) #content .yt-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    color: var(--paper);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}
body.social-page #content .yt-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(0,0,0,.14); }
body.social-page #content .social-video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 21px;
    color: var(--lime);
    font: 800 .66rem/1 var(--social-body);
    letter-spacing: .12em;
}
body.social-page #content .social-video-meta span:last-child { color: var(--muted); }
body.social-page #content .social-video-meta i { margin-right: 5px; color: var(--lime); }
body.social-page #content .yt-card .cookie-embed { width: calc(100% - 40px); margin: 0 20px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border-color: var(--line); }
body.social-page #content .yt-card .cookie-embed iframe { display: block; width: 100%; height: 100%; margin: 0; border-radius: 0; }
body.social-page #content .cookie-embed-placeholder {
    display: block;
    padding: 0;
    color: #fff;
    background: #111;
}
body.social-page #content .cookie-embed-placeholder::before { display: none; }
body.social-page #content .cookie-embed-placeholder > img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.social-page #content .cookie-embed-enable { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 10px 14px; color: #171717; background: var(--signal); border: 1px solid var(--signal); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.35); font: 800 .75rem/1.2 var(--social-body); }
body.social-page #content .cookie-embed-enable:hover { color: #171717; background: #ffe36b; border-color: #ffe36b; }
body.social-page #content .cookie-embed-enable i { font-size: .72rem; }
body.social-page #content .social-video-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 27px 24px 29px; }
body.social-page #content .social-video-copy h3 { max-width: 480px; margin: 0 0 12px; color: var(--paper); font: 700 clamp(1.45rem, 2.35vw, 2.25rem)/1.16 var(--social-display); letter-spacing: -.035em; }
body.social-page #content .social-video-copy p { max-width: 490px; margin: 0 0 28px; color: var(--muted); font: 500 .91rem/1.75 var(--social-body); }
body.social-page #content .social-video-copy a { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-bottom: 5px; color: var(--paper); border-bottom: 1px solid var(--line-accent); font: 800 .82rem/1.3 var(--social-body); text-decoration: none; transition: gap .2s ease, color .2s ease; }
body.social-page #content .social-video-copy a:hover { gap: 16px; color: var(--lime); }

/* The final call to action has the energy of the palette without another generic card. */
body.social-page #content .contact-section {
    padding: clamp(70px, 9vw, 122px) 20px;
    color: #171717;
    background: #f5cf3d;
    border: 0;
    text-align: left;
}
body.social-page #content .contact-section::before,
body.social-page #content .contact-section::after { display: none; }
body.social-page #content .social-contact-inner { width: min(100%, 1200px); margin: 0 auto; }
body.social-page #content .contact-section .social-section-index { color: #3f3508; }
body.social-page #content .social-contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); gap: 60px; align-items: end; margin-top: 28px; }
body.social-page #content .contact-section h2 {
    max-width: 780px;
    margin: 0;
    color: #171717;
    text-align: left;
    font: 650 clamp(3rem, 5.5vw, 6rem)/1 var(--social-display);
    letter-spacing: -.062em;
    text-transform: none;
    text-wrap: balance;
}
body.social-page #content .contact-section h2::after { display: none; }
body.social-page #content .contact-section p { max-width: 560px; margin: 22px 0 0; color: #3d340d; font: 600 .98rem/1.7 var(--social-body); }
body.social-page #content .social-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 5px; }
body.social-page #content .contact-section .contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    width: 100%;
    min-height: 60px;
    padding: 16px 20px;
    color: #fff;
    background: #171717;
    border: 1px solid #171717;
    border-radius: 10px;
    box-shadow: none;
    font: 800 .9rem/1.3 var(--social-body);
    text-align: left;
}
body.social-page #content .contact-section .contact-btn:hover { color: #171717; background: #fff8dd; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.16); }
body.social-page #content .social-contact-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 7px 0; color: #211d11; border-bottom: 1px solid rgba(23,23,23,.55); font: 800 .78rem/1.3 var(--social-body); text-decoration: none; transition: gap .2s ease; }
body.social-page #content .social-contact-secondary:hover { gap: 15px; }
body.social-page #content .social-contact-actions > span { margin-top: 5px; color: #594d1e; font: 700 .75rem/1.3 var(--social-body); }

body.social-page #content :is(a, button):focus-visible,
body.social-page .social-lightbox button:focus-visible { outline: 3px solid var(--paper); outline-offset: 4px; }
body.social-page #content .contact-section :is(a, button):focus-visible { outline-color: #171717; }
body.social-page .social-lightbox button:focus-visible { outline-color: #f5cf3d; }

@media (max-width: 1050px) {
    body.social-page #content .social-hero { grid-template-columns: minmax(0,1fr) minmax(300px,.75fr); min-height: 550px; }
    body.social-page #content .social-hero-art { min-height: 550px; }
    body.social-page #content .social-hero-copy { padding: clamp(30px, 4vw, 55px); }
    body.social-page #content .social-section h1 { font-size: clamp(3.25rem, 6vw, 5rem); }
    body.social-page #content .social-channel-strip { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 800px) {
    body.social-page #content .social-hero { grid-template-columns: 1fr; min-height: 0; }
    body.social-page #content .social-hero-copy { padding: 48px clamp(24px, 6vw, 50px); }
    body.social-page #content .social-hero-art { min-height: 460px; }
    body.social-page #content .social-hero-art-frame { inset: 4% 18% 0; }
    body.social-page #content .social-hero-art-note { right: 17%; }
    body.social-page #content .social-explorer { grid-template-columns: 1fr; gap: 12px; }
    body.social-page #content .social-feature { align-items: center; min-height: 0; padding: 10px 0 20px; text-align: center; }
    body.social-page #content .social-feature-controls { max-width: 370px; }
    body.social-page #content .social-feature p { min-height: 0; }
    body.social-page #content .social-journal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    body.social-page #content .social-journal-card-portrait { grid-row: span 2; aspect-ratio: auto; }
    body.social-page #content .social-journal-card:not(.social-journal-card-portrait) { aspect-ratio: 1.35; }
    body.social-page #content .social-contact-grid { grid-template-columns: 1fr; gap: 30px; }
    body.social-page #content .social-contact-actions { max-width: 350px; }
}
@media (max-width: 620px) {
    body.social-page #content .social-section .container,
    body.social-page #content .instagram-showcase .container,
    body.social-page #content .youtube-showcase .container { width: min(100% - 30px, 1200px); }
    body.social-page #content .social-section { padding-top: 78px; }
    body.social-page #content .social-hero { margin-bottom: 72px; border-radius: 16px; }
    body.social-page #content .social-hero-copy { padding: 30px 22px 31px; }
    body.social-page #content .social-badge { margin-bottom: 21px; }
    body.social-page #content .social-section h1 { font-size: clamp(2.8rem, 9.3vw, 3.45rem); }
    body.social-page #content .social-hero-copy > p { margin-top: 17px; font-size: .92rem; }
    body.social-page #content .social-pills { gap: 6px; margin: 21px 0 18px; }
    body.social-page #content .social-pill { gap: 6px; padding: 9px 11px; font-size: .74rem; }
    body.social-page #content .social-actions { align-items: stretch; flex-direction: column; gap: 5px; width: 100%; }
    body.social-page #content .social-actions .social-cta { justify-content: center; width: 100%; }
    body.social-page #content .social-explore-link { align-self: center; }
    body.social-page #content .social-hero-art { order: -1; min-height: 315px; }
    body.social-page #content .social-hero-art-frame { inset: 4% 13% 0; }
    body.social-page #content .social-hero-art-note { right: 13%; font-size: 1.7rem; }
    body.social-page #content .social-section-heading { grid-template-columns: 1fr; gap: 14px; padding-bottom: 25px; }
    body.social-page #content .social-section-heading h2 { font-size: clamp(2.25rem, 8.4vw, 3.25rem); }
    body.social-page #content .social-section-heading p { font-size: .9rem; }
    body.social-page #content .social-explorer { min-height: 0; padding: 15px; border-radius: 13px; }
    body.social-page #content .social-orbit { width: min(100%, 320px); touch-action: pan-y; }
    body.social-page #content .social-orbit-node { min-width: 61px; padding: 7px 5px; border-radius: 8px; }
    body.social-page #content .social-orbit-node i { font-size: .95rem; }
    body.social-page #content .social-orbit-node span { font-size: .53rem; }
    body.social-page #content .social-orbit-hint { bottom: -5%; }
    body.social-page #content .social-profile-row { margin-top: 18px; }
    body.social-page #content .social-avatar-wrap { width: 57px; height: 57px; flex-basis: 57px; }
    body.social-page #content .social-profile-row .social-feature-title h2 { font-size: 2rem; }
    body.social-page #content .social-channel-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-color: var(--line-accent) transparent; scroll-snap-type: x proximity; }
    body.social-page #content .social-channel-strip button { flex: 0 0 auto; padding-inline: 13px; scroll-snap-align: start; }
    body.social-page #content .social-journal-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    body.social-page #content .social-journal-card-portrait { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1.1; }
    body.social-page #content .social-journal-card-portrait img { object-position: center 27%; }
    body.social-page #content .social-journal-card:not(.social-journal-card-portrait) { aspect-ratio: .8; }
    body.social-page #content .social-journal-caption { right: 12px; bottom: 15px; left: 12px; }
    body.social-page #content .social-journal-caption strong { font-size: 1.18rem; }
    body.social-page #content .social-journal-caption i { display: none; }
    body.social-page #content .social-journal-number { top: 10px; left: 10px; padding: 6px; font-size: .54rem; }
    body.social-page #content .social-section-bottom { align-items: flex-start; flex-direction: column; gap: 8px; font-size: .75rem; }
    body.social-page #content .youtube-cards { grid-template-columns: 1fr; }
    body.social-page #content .social-video-copy { padding: 22px; }
    body.social-page #content .contact-section { padding-inline: 15px; }
    body.social-page #content .contact-section h2 { font-size: clamp(2.55rem, 9vw, 3.5rem); }
}
@media (max-width: 360px) {
    body.social-page #content .social-orbit-node { min-width: 52px; }
    body.social-page #content .social-orbit-node span { font-size: .47rem; }
    body.social-page #content .social-journal-card:not(.social-journal-card-portrait) { aspect-ratio: .68; }
}
@media (prefers-reduced-motion: reduce) {
    body.social-page #content .social-hero-art-frame img,
    body.social-page #content .social-journal-card,
    body.social-page #content .social-journal-card img,
    body.social-page #content .social-pill,
    body.social-page #content .social-channel-strip button { transition-duration: .01ms; }
}
