.title {
    font-weight: 500;
    color: var(--primary-text);
    font-family: "Roobert Medium";
}

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

.hero {
    position: relative;
    min-height: calc(100vh - 56px);

    display: flex;
    align-items: center;

    overflow: hidden;
}

/* ===========================
   GRID BACKGROUND
=========================== */
.hero-grid {
    position: absolute;
    top: 0;

    width: 45%;
    height: 100%;

    display: grid;
    grid-template-columns: repeat(12, 72px);
    grid-auto-rows: 72px;

    pointer-events: auto;

    --mx: 50%;
    --my: 50%;

    mask-image:
        linear-gradient(to right, #000 0%, #000 30%, transparent 100%),
        linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image:
        linear-gradient(to right, #000 0%, #000 30%, transparent 100%),
        linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
    -webkit-mask-composite: source-in;
}

.hero-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: radial-gradient(420px circle at var(--mx) var(--my),
            var(--grid-glow),
            transparent 60%);

    opacity: 0;
    transition: opacity calc(.4s * var(--transition-scale)) ease;
}

.hero-grid:hover::after {
    opacity: 1;
}

.cx-cursor {
    display: inline-block;
    width: .05em;
    height: .78em;
    margin-left: 6px;
    margin-bottom: -.08em;
    background: var(--primary-text);
    animation: cxBlink 1s step-end infinite;
}

@keyframes cxBlink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.grid-cell {
    width: 72px;
    height: 72px;

    border-right: 1px solid var(--line-color-02);
    border-bottom: 1px solid var(--line-color-02);

    transition: background calc(.5s * var(--transition-scale)) cubic-bezier(.19, 1, .22, 1);
}

.grid-cell:hover {
    background: var(--hover-overlay);
}

/* ===========================
   CONTENT
=========================== */

.hero-content {
    position: relative;
    z-index: 2;

    margin-left: 40%;
    padding-right: 60px;
}

/* ---- Availability status badge ---- */

.hero-status {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 26px;
    padding: 7px 16px 7px 12px;

    border: 1px solid var(--status-border);
    background: var(--status-bg);
    backdrop-filter: blur(2px);

    color: var(--status-text);
    font-family: Inter, sans-serif;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;

    transition: border-color calc(.25s * var(--transition-scale)) ease,
        background calc(.25s * var(--transition-scale)) ease;
}

.hero-status:hover {
    border-color: var(--status-border-hover);
    background: var(--status-bg-hover);
}

.hero-status-dot {
    position: relative;
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--status-dot);
    box-shadow: 0 0 8px var(--status-dot-glow);
}

.hero-status-dot::before,
.hero-status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--status-dot-ring);
    animation: statusPulse 2.2s cubic-bezier(0, 0, .2, 1) infinite;
}

.hero-status-dot::after {
    animation-delay: 1.1s;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(4.2);
        opacity: 0;
    }
}

.hero-label {
    display: block;
    width: fit-content;
    margin-bottom: 0;
    color: var(--text-muted-2);
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-family: Inter, sans-serif;
}

.hero-title {
    font-family: "Roobert Medium";
    color: var(--primary-color);
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    line-height: .95;
    font-weight: 400;
}

.hero-description {
    margin-top: 30px;
    color: var(--text-muted-1);
    font-family: Inter, sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 600px;
}

/* ===========================
   BUTTONS
=========================== */

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 42px;
}

.hero-primary,
.hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    text-decoration: none;
    border: 1px solid var(--border-button);
    transition: background calc(.2s * var(--transition-scale)) ease,
        color calc(.2s * var(--transition-scale)) ease,
        border-color calc(.2s * var(--transition-scale)) ease,
        transform calc(.15s * var(--transition-scale)) ease;
    font-family: Inter, sans-serif;
    font-size: .95rem;
}

.hero-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.hero-secondary {
    color: var(--primary-color);
}

.hero-primary:hover,
.hero-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.hero-primary:active,
.hero-secondary:active {
    transform: scale(.97);
}

.hero-primary:focus-visible,
.hero-secondary:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 1200px) {
    .hero-content {
        margin-left: 48%;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        margin-left: 45%;
        padding-right: 40px;
    }

    .hero-grid {
        width: 45%;
    }

    .hero-title {
        font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    }
}

@media (max-width: 860px) {
    .hero {
        min-height: auto;
        padding: 100px 28px 90px;
    }

    .hero-grid {
        width: 100%;

        mask-image:
            radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 75%);
        -webkit-mask-image:
            radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 75%);
    }

    .hero-content {
        margin: 0;
        max-width: 100%;
        padding-right: 0;
    }

    .hero-description {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 84px 20px 72px;
    }

    .hero-status {
        font-size: .66rem;
        letter-spacing: .1em;
        margin-bottom: 16px;
    }

    .hero-label {
        font-size: .68rem;
        letter-spacing: .14em;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: clamp(2.1rem, 9vw, 2.8rem);
        line-height: 1.02;
    }

    .hero-description {
        margin-top: 20px;
        font-size: .95rem;
        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 32px;
    }

    .hero-primary,
    .hero-secondary {
        width: 100%;
        height: 46px;
    }
}

@media (min-width: 1025px) {
    .hero {
        margin-left: var(--sidebar-w);
    }
}

.hero-grid {
    opacity: 0;
    animation: gridFadeIn 1s ease forwards;
    animation-delay: .1s;
}

@keyframes gridFadeIn {
    to {
        opacity: 1;
    }
}

/* ===========================
   COLLABORATION SECTION
=========================== */

.collab {
    position: relative;
    padding: 140px 60px;
    border-top: 1px solid var(--line-color-015);
    overflow: hidden;
}

@media (min-width: 1025px) {
    .collab {
        margin-left: var(--sidebar-w);
    }
}

.collab-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 40px;
}

/* index marker */

.collab-index {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 6px;
}

.collab-index-num {
    font-family: Inter, sans-serif;
    font-size: .75rem;
    letter-spacing: .1em;
    color: var(--text-muted-3);
}

.collab-index-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, var(--line-color-045), transparent);
}

/* label + title */

.collab-label {
    display: block;
    margin-bottom: 26px;
    color: var(--text-muted-2);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: Inter, sans-serif;
}

.collab-title {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-color);
    font-size: clamp(3.4rem, 9vw, 8rem);
    line-height: .95;
    margin-bottom: 70px;
    letter-spacing: -.01em;
}

.collab-dot {
    color: var(--sidebar-accent, var(--accent-indigo));
}

/* logo seal + text row */

.collab-row {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line-color-02);
}

.collab-seal {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--line-color-035);
    position: relative;
    transition: border-color calc(.3s * var(--transition-scale)) ease;
}

.collab-seal::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid var(--line-color-007);
    pointer-events: none;
    transition: border-color calc(.3s * var(--transition-scale)) ease;
}

.collab-seal::after {
    content: "";
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1px solid var(--line-color-005);
    pointer-events: none;
    transition: border-color calc(.3s * var(--transition-scale)) ease;
}

.collab-seal:hover {
    border-color: var(--line-color-07);
}

.collab-seal:hover::before {
    border-color: var(--line-color-03);
}

.collab-seal:hover::after {
    border-color: var(--line-color-015);
}

.collab-seal:hover .collab-logo {
    filter: none;
}

.collab-logo {
    max-width: 52%;
    max-height: 52%;
    object-fit: contain;
    filter: grayscale(1) contrast(1.1);
    transition: all calc(.3s * var(--transition-scale)) ease-in-out;
}

.collab-text {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.collab-role {
    color: var(--text-muted-4);
    font-family: Inter, sans-serif;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.collab-description {
    color: var(--text-muted-1);
    font-family: Inter, sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 640px;
    margin-bottom: 34px;
}

.collab-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line-color-05);
    transition: border-color calc(.25s * var(--transition-scale)) ease,
        gap calc(.25s * var(--transition-scale)) ease;
}

.collab-link svg {
    width: 15px;
    height: 15px;
}

.collab-link:hover {
    border-color: var(--primary-color);
    gap: 14px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 860px) {
    .collab {
        padding: 100px 28px;
    }

    .collab-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .collab-index {
        display: none;
    }

    .collab-title {
        margin-bottom: 48px;
    }

    .collab-row {
        flex-direction: column;
        gap: 28px;
        padding-top: 32px;
    }
}

@media (max-width: 480px) {
    .collab {
        padding: 80px 20px;
    }

    .collab-title {
        margin-bottom: 36px;
    }

    .collab-seal {
        width: 68px;
        height: 68px;
    }

    .collab-description {
        font-size: .95rem;
    }
}

/* ===========================
   WORK / PROJECTS SECTION
=========================== */

.work {
    position: relative;
    padding: 40px 60px 60px;
    border-top: 1px solid var(--line-color-015);
}

@media (min-width: 1025px) {
    .work {
        margin-left: var(--sidebar-w);
    }
}

.work-heading {
    display: block;
    max-width: 1400px;
    margin: 0 auto 40px;
}

/* ---- Panel ---- */

.work-panel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 28px;
    min-height: 480px;

    border: 1px solid var(--line-color-02);
    overflow: hidden;

    display: flex;
    align-items: flex-end;

    --mx: 50%;
    --my: 50%;
}

/* ---- Abstract generated visual ---- */

.work-visual {
    position: absolute;
    inset: 0;
    background: var(--panel-visual-bg);
}

.work-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
}

.work-panel-axora .work-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: 10%;
    background: radial-gradient(circle, var(--accent-blue-2), transparent 70%);
}

.work-panel-axora .work-orb-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: 30%;
    background: radial-gradient(circle, var(--accent-indigo-2), transparent 70%);
    opacity: .35;
}

.work-panel-shadow .work-orb-3 {
    width: 420px;
    height: 420px;
    top: -100px;
    right: 12%;
    background: radial-gradient(circle, var(--accent-teal), transparent 70%);
}

.work-panel-shadow .work-orb-4 {
    width: 300px;
    height: 300px;
    bottom: -120px;
    right: 32%;
    background: radial-gradient(circle, var(--accent-teal-2), transparent 70%);
    opacity: .35;
}

.work-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-color-007) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-color-007) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 100%);
}

/* ---- Vertical gallery label ---- */

.work-vertical-label {
    position: absolute;
    top: 40px;
    right: 40px;
    writing-mode: vertical-rl;
    color: var(--line-color-07);
    font-family: Inter, sans-serif;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

/* ---- Info block ---- */

.work-info {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 56px;

    background: linear-gradient(to top, var(--scrim-strong) 0%, transparent 100%);
}

.work-title {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-color);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 22px;
}

.work-desc {
    color: var(--text-muted-6);
    font-family: Inter, sans-serif;
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 26px;
}

.work-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.work-tags span {
    padding: 6px 14px;
    border: 1px solid var(--line-color-04);
    backdrop-filter: blur(4px);
    color: var(--text-muted-7);
    font-family: Inter, sans-serif;
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.work-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: .85rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line-color-055);
    transition: border-color calc(.25s * var(--transition-scale)) ease,
        gap calc(.25s * var(--transition-scale)) ease;
}

.work-cta svg {
    width: 15px;
    height: 15px;
    transition: transform calc(.3s * var(--transition-scale)) ease;
}

.work-cta:hover {
    border-color: var(--primary-color);
    gap: 14px;
}

.work-cta:hover svg {
    transform: translateX(3px);
}

/* interactive grid, matches hero-grid behavior */

.work-grid {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: repeat(auto-fill, 48px);
    grid-auto-rows: 48px;

    pointer-events: auto;

    mask-image: radial-gradient(circle at 65% 50%,
            #000 0%, #000 45%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 65% 50%,
            #000 0%, #000 45%, transparent 85%);
}

.work-grid .grid-cell {
    width: 48px;
    height: 48px;

    border-right: 1px solid var(--line-color-02);
    border-bottom: 1px solid var(--line-color-02);
}

.work-grid .grid-cell:hover {
    box-shadow: inset 0 0 0 100px var(--hover-overlay-strong);
}

.work-panel-axora .work-grid,
.work-panel-shadow .work-grid {
    mask-image: radial-gradient(ellipse 520px 420px at 78% 42%,
            #000 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 520px 420px at 78% 42%,
            #000 0%, transparent 100%);
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 860px) {
    .work {
        padding: 20px 24px 40px;
    }

    .work-panel {
        min-height: 400px;
    }

    .work-info {
        padding: 32px;
    }

    .work-vertical-label {
        top: 24px;
        right: 24px;
    }

    .view-all-link {
        margin-top: 1rem !important;
    }

    .view-all-container {
        padding: 0 0 !important;
    }
}

@media (max-width: 480px) {
    .work-panel {
        min-height: 360px;
        margin-bottom: 18px;
    }

    .work-info {
        padding: 24px;
    }

    .work-tags {
        gap: 8px;
        margin-bottom: 22px;
    }
}

.work-info {
    pointer-events: none;
}

.work-cta {
    pointer-events: auto;
}

.view-all-container {
    max-width: 1400px;
    margin: 0 auto;
}

.view-all-link {
    margin-top: 2rem;
}

/* ===========================
   PHILOSOPHY SECTION
=========================== */

.philosophy {
    position: relative;
    padding: 140px 60px;
    border-top: 1px solid var(--line-color-015);
}

@media (min-width: 1025px) {

    .philosophy {
        margin-left: var(--sidebar-w);
    }
}

.philosophy-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.philosophy-statement {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    color: var(--primary-color);
    font-size: clamp(1.8rem, 3.6vw, 3.2rem);
    line-height: 1.35;
    max-width: 980px;
    margin-top: 30px;
    margin-bottom: 100px;
}

.philosophy-statement em {
    color: var(--accent-indigo);
    font-style: italic;
}

.philosophy-pillars {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 1px;
}

.philosophy-pillars::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            var(--line-color-025) 15%,
            var(--line-color-025) 85%,
            transparent 100%);
}

.pillar {
    position: relative;
    padding: 44px 40px 0 0;
}

.pillar:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--line-color-025) 0%, var(--line-color-025) 15%, transparent 100%);
}

.pillar:not(:first-child) {
    padding-left: 40px;
}

.pillar-index {
    display: block;
    font-family: Inter, sans-serif;
    font-size: .75rem;
    letter-spacing: .1em;
    color: var(--text-muted-3);
    margin-bottom: 24px;
}

.pillar-title {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-color);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    margin-bottom: 18px;
}

.pillar-text {
    color: var(--text-muted-5);
    font-family: Inter, sans-serif;
    font-size: .95rem;
    line-height: 1.75;
    max-width: 340px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 860px) {
    .philosophy {
        padding: 100px 28px;
    }

    .philosophy-statement {
        margin-bottom: 60px;
    }

    .philosophy-pillars {
        grid-template-columns: 1fr;
    }

    .pillar {
        padding: 36px 0 !important;
    }

    .pillar:not(:last-child)::after {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        height: 1px;
        background: linear-gradient(to right, var(--line-color-06), transparent);
    }

    .pillar:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .philosophy {
        padding: 80px 20px;
    }

    .philosophy-statement {
        margin-bottom: 44px;
    }

    .pillar-text {
        max-width: 100%;
    }
}