﻿
/* =========================================================
   THE HUMAN DILEMMA LAB
   EDITORIAL • MINIMAL • REFINED
   ========================================================= */

/* ROOT */

:root {
    --lab-cream: #f4f1e9;
    --lab-paper: #ebe7dc;
    --lab-ink: #252a20;
    --lab-green: #626d4d;
    --lab-muted: #858779;
    --lab-line: rgba(37, 42, 32, 0.18);
    --lab-serif: "Playfair Display", Georgia, serif;
    --lab-sans: "DM Sans", sans-serif;
}

html {
    scroll-behavior: auto;
}

body.home-page {
    margin: 0;
    background: var(--lab-cream);
    color: var(--lab-ink);
    font-family: var(--lab-sans);
    overflow-x: hidden;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page a {
    color: inherit;
    text-decoration: none;
}

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

/* TYPOGRAPHY */

.home-page h1,
.home-page h2,
.home-page h3,
.home-page .editorial-logo span,
.home-page .footer-brand span {
    font-family: var(--lab-serif);
    font-weight: 400;
    letter-spacing: -0.035em;
}

.home-page em {
    font-weight: 400;
    letter-spacing: -0.035em;
}

/* ATMOSPHERE */

.home-page::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

/* SCROLL PROGRESS */

.scroll-progress {
    position: fixed;
    z-index: 2147483646;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

#scroll-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    background: #b7bd98;
}

/* =========================================================
   HERO
   ========================================================= */

.editorial-hero {
    position: relative;
    z-index: 101;
    min-height: 700px;
    height: 86svh;
    max-height: 880px;
    overflow: hidden;
    color: #fff;
    background: #30382b;
    isolation: isolate;
}

.hero-background,
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

    .hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 43%;
        transform: scale(1.02);
    }

.hero-overlay {
    background: linear-gradient( 90deg, rgba(17, 24, 18, .76) 0%, rgba(17, 24, 18, .45) 48%, rgba(17, 24, 18, .08) 100% ), linear-gradient( 0deg, rgba(17, 24, 18, .42), transparent 35% );
}

/* NAVIGATION */

.editorial-nav {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    padding: 26px 6.5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.editorial-logo,
.footer-brand {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .15em;
    line-height: 1.6;
}

    .editorial-logo span,
    .footer-brand span {
        display: block;
        font-family: var(--lab-serif);
        font-size: 16px;
        font-weight: 400;
        letter-spacing: .03em;
    }

.editorial-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

    .editorial-nav-links a,
    .nav-cta {
        position: relative;
        font-size: 10px;
        letter-spacing: .07em;
        transition: opacity .3s ease;
    }

        .editorial-nav-links a:hover,
        .nav-cta:hover {
            opacity: .6;
        }

        .editorial-nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -7px;
            width: 100%;
            height: 1px;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .3s ease;
        }

        .editorial-nav-links a:hover::after {
            transform: scaleX(1);
        }

.nav-cta {
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255,255,255,.7);
}

/* HERO CONTENT */

.hero-topline,
.hero-bottomline {
    position: absolute;
    left: 6.5%;
    right: 6.5%;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: .17em;
    color: rgba(255,255,255,.76);
}

.hero-topline {
    top: 115px;
}

.hero-bottomline {
    bottom: 30px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.25);
}

    .hero-bottomline a {
        transition: letter-spacing .3s ease;
    }

        .hero-bottomline a:hover {
            letter-spacing: .22em;
        }

.editorial-hero-content {
    position: absolute;
    top: 49%;
    left: 10%;
    width: min(700px, 80%);
    transform: translateY(-43%);
}

.eyebrow {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .19em;
    line-height: 1.8;
}

.hero-reveal {
    color: #d5d8c3;
    margin-bottom: 20px;
}

.hero-title {
    margin: 0;
    font-family: var(--lab-serif);
    font-size: clamp(54px, 6.8vw, 88px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1;
}

    .hero-title span,
    .hero-title em {
        display: block;
    }

    .hero-title span {
        color: #fff;
    }

    .hero-title em {
        color: #c3c9a7;
        font-weight: 400;
        margin-top: 5px;
    }

.hero-bottom-content {
    display: flex;
    align-items: center;
    gap: 42px;
    margin-top: 28px;
}

.hero-description {
    max-width: 300px;
    font-size: 12px;
    line-height: 1.85;
    color: rgba(255,255,255,.78);
}

/* HERO CTA */

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255,255,255,.7);
    font-size: 10px;
    letter-spacing: .09em;
    white-space: nowrap;
    transition: gap .35s ease;
}

    .hero-cta:hover {
        gap: 22px;
    }

.cta-arrow {
    width: 31px;
    height: 31px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    font-family: var(--lab-sans);
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    transition: transform .35s ease, background .35s ease, color .35s ease;
}

.hero-cta:hover .cta-arrow {
    transform: rotate(90deg);
    background: var(--lab-cream);
    color: var(--lab-ink);
}

.hero-side-note {
    position: absolute;
    right: 6.5%;
    top: 53%;
    writing-mode: vertical-rl;
    font-size: 8px;
    letter-spacing: .18em;
    color: rgba(255,255,255,.7);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    padding: 90px 11% 75px;
    background: var(--lab-cream);
}

.about-topline,
.about-bottomline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 8px;
    letter-spacing: .15em;
    color: var(--lab-muted);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 10%;
    align-items: center;
    padding: 60px 0 55px;
}

.about-heading .eyebrow {
    color: var(--lab-green);
    margin-bottom: 18px;
}

.about-heading h2 {
    max-width: 500px;
    margin: 0;
    font-family: var(--lab-serif);
    font-size: clamp(38px, 4.3vw, 57px);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -.04em;
}

    .about-heading h2 em {
        display: block;
        color: var(--lab-green);
        font-weight: 400;
    }

.about-copy {
    max-width: 400px;
}

    .about-copy p {
        font-size: 12px;
        line-height: 1.85;
        color: #65675d;
        margin: 0 0 16px;
    }

    .about-copy .about-lead {
        color: var(--lab-ink);
        font-family: var(--lab-serif);
        font-size: 20px;
        line-height: 1.45;
    }

/* ABOUT TEXT LINK */

.text-link {
    position: relative;
    display: inline-flex;
    gap: 18px;
    align-items: center;
    margin-top: 12px;
    padding-bottom: 7px;
    border-bottom: 0;
    color: var(--lab-green);
    font-size: 10px;
    letter-spacing: .07em;
    transition: gap .3s ease;
}

    .text-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: currentColor;
        transform: scaleX(.4);
        transform-origin: left;
        transition: transform .35s ease;
    }

    .text-link:hover {
        gap: 27px;
    }

        .text-link:hover::after {
            transform: scaleX(1);
        }

.about-bottomline {
    padding-top: 18px;
    border-top: 1px solid var(--lab-line);
}

/* =========================================================
   EDITORIAL STATEMENT
   ========================================================= */

.statement-section {
    position: relative;
    overflow: hidden;
    padding: 85px 12%;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f4f1e9;
    background: #596449;
}

.statement-decoration {
    position: absolute;
    top: -90px;
    left: 5%;
    font-family: var(--lab-serif);
    font-size: 380px;
    line-height: 1;
    color: rgba(255,255,255,.055);
    pointer-events: none;
}

.statement-section .eyebrow {
    position: relative;
    color: #d5d9c6;
    margin-bottom: 20px;
}

.statement-section h2 {
    position: relative;
    max-width: 750px;
    margin: 0;
    font-family: var(--lab-serif);
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -.035em;
}

    .statement-section h2 em {
        display: block;
        color: #d1d6b6;
        font-weight: 400;
    }

.statement-caption {
    position: relative;
    max-width: 400px;
    margin: 22px 0 0;
    font-size: 11px;
    line-height: 1.8;
    color: rgba(255,255,255,.75);
}

/* =========================================================
   DILEMMA COLLECTION
   ========================================================= */

.dilemmas-section {
    padding: 90px 9% 70px;
    background: var(--lab-cream);
}

.dilemmas-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 42px;
}

    .dilemmas-intro .eyebrow {
        color: var(--lab-green);
        margin-bottom: 13px;
    }

    .dilemmas-intro h2 {
        margin: 0;
        font-family: var(--lab-serif);
        font-size: clamp(38px, 4.5vw, 58px);
        font-weight: 400;
        letter-spacing: -.045em;
        line-height: 1.08;
    }

        .dilemmas-intro h2 em {
            color: var(--lab-green);
            font-weight: 400;
        }

    .dilemmas-intro > p {
        max-width: 260px;
        margin: 0 0 5px;
        color: #77786d;
        font-size: 11px;
        line-height: 1.8;
    }

/* GRID */

.dilemma-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    column-gap: 28px;
    row-gap: 38px;
}

/* CARDS */

.dilemma-card {
    min-width: 0;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform .4s ease;
}

    /* Keep all cards aligned */

    .dilemma-card:nth-child(3n + 2),
    .dilemma-card:nth-child(even) {
        margin-top: 0;
    }

/* SQUARE IMAGES */

.dilemma-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.dilemma-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background: #dedccd;
}

.dilemma-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.dilemma-card:hover .dilemma-image {
    transform: scale(1.045);
    filter: saturate(.85);
}

/* IMAGE HOVER DETAIL */

.card-image-arrow {
    position: absolute;
    right: 13px;
    bottom: 13px;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--lab-ink);
    background: var(--lab-cream);
    font-size: 16px;
    opacity: 0;
    transform: translateY(7px);
    transition: opacity .35s ease, transform .35s ease;
}

.dilemma-card:hover .card-image-arrow {
    opacity: 1;
    transform: translateY(0);
}

.dilemma-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #d9d9c9;
    color: var(--lab-green);
    font-family: var(--lab-serif);
    font-size: 17px;
    font-style: italic;
}

/* CARD TEXT */

.dilemma-card-content {
    padding: 14px 0 0;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}

.card-number {
    color: var(--lab-green);
    font-size: 9px;
    letter-spacing: .09em;
}

.card-category {
    color: #969587;
    font-size: 7px;
    letter-spacing: .12em;
}

.dilemma-card h3 {
    margin: 0 0 8px;
    font-family: var(--lab-serif);
    font-size: clamp(19px, 1.7vw, 24px);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -.02em;
}

.dilemma-card-content > p {
    margin: 0;
    color: #77786d;
    font-size: 10px;
    line-height: 1.7;
}

/* CARD ACTIONS */

.card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px solid var(--lab-line);
}

.card-link,
.reflection-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 5px;
    border: 0;
    font-size: 9px;
    letter-spacing: .035em;
    transition: color .25s ease;
}

.card-link {
    color: var(--lab-green);
}

.reflection-link {
    color: #88897d;
}

    .card-link:hover,
    .reflection-link:hover {
        color: #252a20;
    }

    .card-link::after,
    .reflection-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: currentColor;
        transform: scaleX(.35);
        transform-origin: left;
        transition: transform .35s ease;
    }

    .card-link:hover::after,
    .reflection-link:hover::after {
        transform: scaleX(1);
    }

    .card-link span,
    .reflection-link span {
        display: none;
    }

.expiry-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #98764a;
    font-size: 8px;
    letter-spacing: .07em;
}

.no-dilemmas {
    grid-column: 1 / -1;
    padding: 30px 0;
}

    .no-dilemmas h3 {
        font-family: var(--lab-serif);
        font-size: 26px;
        font-weight: 400;
    }

    .no-dilemmas p {
        color: var(--lab-muted);
        font-size: 12px;
    }

/* COLLECTION FOOTER */

.collection-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding-top: 18px;
    border-top: 1px solid var(--lab-line);
    color: var(--lab-muted);
    font-size: 8px;
    letter-spacing: .13em;
}

/* =========================================================
   CLOSING SECTION
   ========================================================= */

.closing-section {
    position: relative;
    padding: 80px 20px 90px;
    text-align: center;
    background: #e9e6db;
}

    .closing-section .eyebrow {
        color: var(--lab-green);
        margin-bottom: 17px;
    }

    .closing-section h2 {
        margin: 0 auto 24px;
        max-width: 700px;
        font-family: var(--lab-serif);
        font-size: clamp(36px, 4.5vw, 58px);
        font-weight: 400;
        line-height: 1.12;
        letter-spacing: -.04em;
    }

        .closing-section h2 em {
            display: block;
            color: var(--lab-green);
            font-weight: 400;
        }

.closing-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--lab-green);
    color: var(--lab-green);
    font-size: 10px;
    letter-spacing: .07em;
    transition: gap .3s ease;
}

    .closing-link:hover {
        gap: 25px;
    }

    .closing-link span {
        display: inline-block;
        font-size: 16px;
        transition: transform .35s ease;
    }

    .closing-link:hover span {
        transform: translateY(-4px);
    }

/* =========================================================
   FOOTER
   ========================================================= */

.editorial-footer {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 45px 8% 22px;
    color: #f4f1e9;
    background: #252c22;
}

    .editorial-footer .footer-brand {
        align-self: start;
    }

    .editorial-footer > p {
        justify-self: end;
        max-width: 250px;
        margin: 0;
        color: rgba(255,255,255,.65);
        font-size: 10px;
        line-height: 1.8;
    }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    grid-column: 1 / -1;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

    .footer-links a,
    .footer-bottom {
        color: rgba(255,255,255,.65);
        font-size: 8px;
        letter-spacing: .1em;
        transition: color .25s ease;
    }

        .footer-links a:hover,
        .footer-bottom a:hover {
            color: #fff;
        }

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 5px;
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */

.custom-cursor {
    position: fixed;
    z-index: 200;
    inset: 0 auto auto 0;
    pointer-events: none;
    opacity: 0;
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: #c4cba8;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(196,203,168,.8);
    transform: translate(-50%, -50%);
}

.cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    color: #fff;
    font-size: 8px;
    letter-spacing: .1em;
    opacity: 0;
}

/* INTERACTION DETAILS */

.home-page .editorial-nav,
.home-page .hero-cta,
.home-page .text-link,
.home-page .card-link,
.home-page .closing-link,
.home-page .footer-links a {
    -webkit-tap-highlight-color: transparent;
}

.home-page ::selection {
    color: #fff;
    background: var(--lab-green);
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {
    .editorial-hero {
        min-height: 650px;
        height: 82svh;
    }

    .editorial-hero-content {
        left: 8%;
        width: 84%;
    }

    .hero-title {
        font-size: clamp(52px, 7vw, 76px);
    }

    .about-section {
        padding: 75px 8%;
    }

    .about-layout {
        gap: 7%;
    }

    .about-heading h2 {
        font-size: clamp(36px, 5vw, 48px);
    }

    .dilemmas-section {
        padding: 75px 6% 60px;
    }

    .dilemma-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 35px;
    }

    .dilemma-image-wrap {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .dilemma-card h3 {
        font-size: 22px;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .editorial-hero {
        min-height: 650px;
        height: 90svh;
        max-height: 780px;
    }

    .editorial-nav {
        padding: 20px 6%;
    }

    .editorial-nav-links {
        gap: 14px;
    }

        .editorial-nav-links a {
            font-size: 9px;
        }

    .nav-cta {
        display: none;
    }

    .editorial-logo {
        font-size: 9px;
    }

        .editorial-logo span {
            font-size: 14px;
        }

    .hero-topline {
        top: 100px;
        font-size: 7px;
        letter-spacing: .11em;
    }

        .hero-topline span:last-child {
            display: none;
        }

    .editorial-hero-content {
        top: 48%;
        left: 7%;
        width: 86%;
    }

    .hero-title {
        font-size: clamp(48px, 11vw, 66px);
    }

    .hero-bottom-content {
        display: block;
        margin-top: 22px;
    }

    .hero-description {
        max-width: 290px;
        font-size: 11px;
    }

    .hero-cta {
        margin-top: 14px;
    }

    .hero-side-note {
        display: none;
    }

    .hero-bottomline {
        left: 7%;
        right: 7%;
        font-size: 7px;
        letter-spacing: .09em;
    }

    /* ABOUT */

    .about-section {
        padding: 65px 7% 55px;
    }

    .about-topline,
    .about-bottomline {
        font-size: 7px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 42px 0;
    }

    .about-heading h2 {
        font-size: 42px;
    }

    .about-copy .about-lead {
        font-size: 19px;
    }

    .about-copy p {
        font-size: 11px;
    }

    /* STATEMENT */

    .statement-section {
        min-height: 290px;
        padding: 65px 8%;
    }

        .statement-section h2 {
            font-size: 35px;
        }

    .statement-decoration {
        font-size: 260px;
    }

    /* DILEMMA COLLECTION */

    .dilemmas-section {
        padding: 65px 7% 55px;
    }

    .dilemmas-intro {
        display: block;
        margin-bottom: 30px;
    }

        .dilemmas-intro h2 {
            font-size: 42px;
        }

        .dilemmas-intro > p {
            margin-top: 15px;
            font-size: 10px;
        }

    .dilemma-grid {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .dilemma-image-wrap {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .dilemma-card-content {
        padding-top: 12px;
    }

    .dilemma-card h3 {
        font-size: 23px;
    }

    .dilemma-card-content > p {
        font-size: 10px;
    }

    .collection-footer {
        flex-direction: column;
        gap: 9px;
        margin-top: 40px;
        font-size: 8px;
    }

    /* CLOSING */

    .closing-section {
        padding: 65px 7%;
    }

        .closing-section h2 {
            font-size: 37px;
        }

    /* FOOTER */

    .editorial-footer {
        grid-template-columns: 1fr;
        padding: 38px 7% 22px;
    }

        .editorial-footer > p {
            justify-self: start;
        }

    .footer-links,
    .footer-bottom {
        grid-column: 1;
    }

    .footer-links {
        gap: 17px;
    }

    .footer-bottom {
        font-size: 8px;
    }

    /* CUSTOM CURSOR */

    .custom-cursor {
        display: none;
    }

    /* ACCESSIBILITY WIDGET — MOBILE */

    body.home-page .accessibility-toggle {
        right: 16px !important;
        bottom: 90px !important;
        width: 52px;
        height: 52px;
    }

    body.home-page .accessibility-panel {
        right: 16px !important;
        bottom: 152px !important;
        width: calc(100vw - 32px);
    }
}

/* =========================================================
   ACCESSIBILITY WIDGET
   ========================================================= */

/* FLOATING WHEELCHAIR BUTTON */

body.home-page .accessibility-toggle {
    position: fixed !important;
    inset: auto 28px 110px auto !important;
    z-index: 2147483647 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    background: #626d4d !important;
    color: #ffffff !important;
    border: 3px solid #f4f1e9 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 1px rgba(37, 42, 32, 0.25), 0 5px 18px rgba(0, 0, 0, 0.22) !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: grab;
    touch-action: none;
    isolation: isolate;
}

    body.home-page .accessibility-toggle:hover {
        background: #414a32 !important;
    }

    body.home-page .accessibility-toggle:active {
        cursor: grabbing;
    }

    body.home-page .accessibility-toggle svg {
        display: block;
        width: 26px;
        height: 26px;
        color: #ffffff;
        pointer-events: none;
    }

/* ACCESSIBILITY PANEL */

body.home-page .accessibility-panel {
    position: fixed !important;
    inset: auto 28px 180px auto !important;
    z-index: 2147483646 !important;
    width: min(320px, calc(100vw - 36px));
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 22px;
    background: #f8f6ef;
    color: #252a20;
    border: 1px solid rgba(98, 109, 77, 0.2);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(37, 42, 32, 0.18);
}

    body.home-page .accessibility-panel[hidden] {
        display: none !important;
    }

/* TOUCHSCREEN SUPPORT */

@media (hover: none), (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
