.home-canvas {
    overflow: hidden;
    color: var(--ink);
}

.studio-container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.home-hero {
    position: relative;
    padding: 126px 0 38px;
}

.home-hero::after {
    position: absolute;
    z-index: -1;
    top: 160px;
    right: -100px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(19, 34, 29, 0.12);
    border-radius: 50%;
    content: "";
}

.hero-register {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0 13px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--ink-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.63rem;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.72fr);
    gap: clamp(44px, 7vw, 110px);
    align-items: center;
    padding: 68px 0 54px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.home-kicker {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 22px;
    color: var(--signal);
    font-family: "DM Mono", monospace;
    font-size: 0.69rem;
    font-weight: 500;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.home-kicker > span {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: currentColor;
}

.hero-copy h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(4.5rem, 8.5vw, 9.2rem);
    font-weight: 630;
    letter-spacing: -0.072em;
    line-height: 0.79;
}

.hero-copy h1 em {
    display: block;
    margin-top: 0.16em;
    color: var(--signal);
    font-family: "Newsreader", Georgia, serif;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: -0.06em;
}

.hero-intro {
    max-width: 720px;
    margin: 34px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.6vw, 1.34rem);
    line-height: 1.62;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.home-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 19px;
    border: 1px solid var(--ink);
    border-radius: 13px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, color 170ms ease;
}

.home-button:hover {
    transform: translateY(-3px);
}

.home-button-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 25px rgba(19, 34, 29, 0.14);
}

.home-button-primary:hover {
    border-color: var(--signal);
    background: var(--signal);
    color: #fff;
    box-shadow: 0 12px 28px rgba(21, 87, 255, 0.2);
}

.home-button-quiet {
    border-color: var(--line-strong);
    background: rgba(251, 250, 246, 0.66);
    color: var(--ink);
}

.home-button-quiet:hover {
    background: var(--paper-bright);
    color: var(--signal);
}

.hero-note {
    display: grid;
    max-width: 660px;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    margin-top: 54px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.hero-note-index {
    color: var(--coral);
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    font-weight: 500;
}

.hero-note p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.86rem;
    line-height: 1.65;
}

.hero-art {
    position: relative;
    min-height: 650px;
}

.hero-portrait {
    position: absolute;
    inset: 16px 26px 66px 38px;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: 48% 48% 28px 28px / 27% 27% 28px 28px;
    background: var(--paper-deep);
    box-shadow: 22px 24px 0 var(--mint);
    transform: rotate(1.2deg);
}

.hero-portrait::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(19, 34, 29, 0.72));
    content: "";
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
    filter: saturate(0.72) contrast(1.03);
    transform: scale(1.045);
}

.portrait-caption {
    position: absolute;
    z-index: 2;
    right: 25px;
    bottom: 22px;
    left: 25px;
    color: #fff;
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
}

.hero-ticket {
    position: absolute;
    z-index: 3;
    display: grid;
    padding: 14px 17px;
    border: 1px solid var(--ink);
    background: var(--paper-bright);
    box-shadow: 7px 7px 0 var(--ink);
    font-family: "DM Mono", monospace;
    transform: rotate(-2deg);
}

.hero-ticket span,
.hero-ticket small {
    color: var(--ink-muted);
    font-size: 0.59rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-ticket strong {
    margin: 5px 0;
    font-family: "Instrument Sans", sans-serif;
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.hero-ticket-top {
    top: 52px;
    right: -3px;
    min-width: 185px;
}

.hero-ticket-bottom {
    bottom: 25px;
    left: 0;
    max-width: 260px;
    background: var(--sun);
    transform: rotate(2.5deg);
}

.hero-line-art {
    position: absolute;
    z-index: 1;
    right: -65px;
    bottom: 72px;
    width: 230px;
    overflow: visible;
    fill: var(--paper);
    stroke: var(--signal);
    stroke-linecap: round;
    stroke-width: 2;
}

.hero-ledger {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.hero-ledger > div {
    min-width: 0;
    padding: 20px 19px;
    border-right: 1px solid var(--line-strong);
}

.hero-ledger > div:first-child {
    padding-left: 0;
}

.hero-ledger > div:last-child {
    border-right: 0;
}

.hero-ledger span,
.hero-ledger strong {
    display: block;
}

.hero-ledger span {
    margin-bottom: 6px;
    color: var(--ink-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.59rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hero-ledger strong {
    font-size: 0.9rem;
    font-weight: 650;
}

.manifesto-strip {
    overflow: hidden;
    margin-top: 46px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    background: var(--acid);
    transform: rotate(-0.45deg) scale(1.01);
}

.manifesto-track {
    display: flex;
    width: max-content;
    gap: 28px;
    align-items: center;
    padding: 17px 0;
    color: var(--ink);
    font-family: "DM Mono", monospace;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    animation: manifestoMove 35s linear infinite;
}

.manifesto-track span,
.manifesto-track i {
    white-space: nowrap;
}

.manifesto-track i {
    color: var(--signal);
    font-size: 0.62rem;
    font-style: normal;
}

@keyframes manifestoMove {
    to { transform: translateX(-28%); }
}

.selected-system,
.working-method,
.work-index,
.origin-section,
.home-cta {
    padding: 118px 0;
}

.section-heading {
    margin-bottom: 48px;
}

.section-heading-split {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 70px;
    align-items: end;
}

.section-heading h2 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(3rem, 5.6vw, 6.1rem);
    font-weight: 620;
    letter-spacing: -0.064em;
    line-height: 0.92;
}

.section-heading > p,
.section-heading > div > p:not(.home-kicker) {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.7;
}

.section-heading-split > p {
    max-width: 520px;
    margin: 0 0 5px;
}

.section-heading-narrow {
    max-width: 900px;
}

.qrelia-feature {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 670px;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: 28px;
    background: var(--paper-bright);
    box-shadow: var(--shadow-soft);
}

.qrelia-visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 60px 38px 38px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        var(--signal);
    background-size: 28px 28px;
}

.qrelia-visual::before {
    position: absolute;
    top: 22px;
    left: 26px;
    color: rgba(255, 255, 255, 0.68);
    content: "LIVE SYSTEM / PERFORMANCE VIEW";
    font-family: "DM Mono", monospace;
    font-size: 0.59rem;
    letter-spacing: 0.09em;
}

.browser-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(19, 34, 29, 0.4);
    border-radius: 16px;
    background: #fff;
    box-shadow: 22px 24px 0 rgba(19, 34, 29, 0.22);
    transform: rotate(-1.1deg);
}

.browser-bar {
    display: flex;
    height: 39px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border-bottom: 1px solid rgba(19, 34, 29, 0.15);
    background: #f3f5f4;
}

.browser-bar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink);
}

.browser-bar > span:nth-child(2) { opacity: 0.55; }
.browser-bar > span:nth-child(3) { opacity: 0.25; }

.browser-bar small {
    margin-left: auto;
    color: #6c7873;
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    text-transform: uppercase;
}

.browser-frame img {
    display: block;
    width: 100%;
    min-height: 325px;
    object-fit: cover;
    object-position: center;
}

.qrelia-device-card {
    position: absolute;
    z-index: 3;
    right: 28px;
    bottom: 30px;
    display: grid;
    width: min(330px, 70%);
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--ink);
    border-radius: 18px;
    background: var(--paper-bright);
    box-shadow: 9px 10px 0 var(--mint);
}

.device-signal {
    display: flex;
    gap: 7px;
}

.device-signal span {
    display: block;
    width: 28px;
    height: 9px;
    border-radius: 999px;
    background: var(--coral);
    box-shadow: 0 0 12px rgba(255, 112, 67, 0.38);
}

.device-signal span:nth-child(2) { opacity: 0.78; }
.device-signal span:nth-child(3) { opacity: 0.56; }
.device-signal span:nth-child(4) { opacity: 0.34; }
.device-signal span:nth-child(5) { opacity: 0.18; }

.qrelia-device-card p {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 620;
    line-height: 1.45;
}

.qrelia-copy {
    display: flex;
    flex-direction: column;
    padding: 48px 46px;
}

.system-number {
    margin-bottom: 48px;
    color: var(--coral);
    font-family: "DM Mono", monospace;
    font-size: 0.67rem;
    letter-spacing: 0.07em;
}

.qrelia-copy h3 {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2.25rem, 3.5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.qrelia-copy > p {
    margin: 24px 0 0;
    color: var(--ink-soft);
    line-height: 1.72;
}

.system-ledger {
    margin: 33px 0 26px;
    border-top: 1px solid var(--line-strong);
}

.system-ledger > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.system-ledger dt {
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.system-ledger dd {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.45;
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: auto;
}

.inline-links a,
.underlined-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    border-bottom: 1px solid currentColor;
    color: var(--signal);
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
}

.inline-links a:hover,
.underlined-link:hover {
    color: var(--ink);
}

.working-method {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-bright);
}

.method-list {
    margin: 55px 0 0;
    padding: 0;
    border-top: 1px solid var(--ink);
    list-style: none;
}

.method-list li {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--line-strong);
    transition: padding 180ms ease, background 180ms ease;
}

.method-list li:hover {
    padding-right: 18px;
    padding-left: 18px;
    background: var(--mint);
}

.method-index {
    color: var(--signal);
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
}

.method-list h3 {
    margin: 0 0 7px;
    font-size: 1.3rem;
    font-weight: 690;
    letter-spacing: -0.025em;
}

.method-list p {
    max-width: 700px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

.method-mark {
    padding: 7px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--ink-muted);
    font-family: "DM Mono", monospace;
    font-size: 0.57rem;
    letter-spacing: 0.08em;
}

.round-link {
    display: inline-flex;
    width: 100px;
    height: 100px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    justify-self: end;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--acid);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transform: rotate(-8deg);
    transition: transform 180ms ease, background 180ms ease;
}

.round-link:hover {
    background: var(--mint);
    transform: rotate(0) scale(1.05);
}

.project-mosaic {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.mosaic-project {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: 22px;
    background: var(--paper-bright);
    color: var(--ink);
    text-decoration: none;
    transition: transform 190ms ease, box-shadow 190ms ease;
}

.mosaic-project:hover {
    color: var(--ink);
    box-shadow: 12px 13px 0 var(--mint);
    transform: translate(-3px, -3px);
}

.mosaic-project-wide {
    grid-row: span 2;
}

.mosaic-image {
    min-height: 245px;
    overflow: hidden;
    border-bottom: 1px solid var(--ink);
    background: var(--paper-deep);
}

.mosaic-project-wide .mosaic-image {
    min-height: 505px;
}

.mosaic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.72);
    transition: filter 250ms ease, transform 500ms cubic-bezier(.2,.75,.2,1);
}

.mosaic-project:hover img {
    filter: saturate(1);
    transform: scale(1.025);
}

.mosaic-image-portrait img {
    object-position: center 30%;
}

.mosaic-meta {
    display: grid;
    padding: 22px;
}

.mosaic-meta span {
    color: var(--signal);
    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mosaic-meta h3 {
    margin: 9px 0 6px;
    font-family: "Newsreader", Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.mosaic-meta p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.5;
}

.origin-section {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    background: var(--sun);
}

.origin-section::after {
    position: absolute;
    right: -160px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(19, 34, 29, 0.3);
    border-radius: 50%;
    content: "";
}

.origin-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.35fr 1.05fr 0.8fr;
    gap: 65px;
    align-items: center;
}

.origin-stamp {
    display: grid;
    width: 180px;
    height: 180px;
    place-content: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    text-align: center;
    transform: rotate(-8deg);
}

.origin-stamp span {
    font-family: "Newsreader", Georgia, serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 0.9;
}

.origin-stamp small {
    max-width: 100px;
    margin: 8px auto 0;
    font-family: "DM Mono", monospace;
    font-size: 0.56rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.origin-copy h2 {
    margin: 0;
    font-size: clamp(3rem, 5vw, 5.3rem);
    font-weight: 640;
    letter-spacing: -0.065em;
    line-height: 0.91;
}

.origin-copy > p:not(.home-kicker) {
    margin: 26px 0 22px;
    color: rgba(19, 34, 29, 0.76);
    line-height: 1.7;
}

.origin-layout blockquote {
    margin: 0;
    padding-left: 25px;
    border-left: 2px solid var(--ink);
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 2.1rem);
    font-style: italic;
    line-height: 1.25;
}

.home-cta {
    padding-bottom: 130px;
}

.home-cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 7vw, 90px);
    border: 1px solid var(--ink);
    border-radius: 28px;
    background: var(--signal);
    color: #fff;
    box-shadow: 16px 18px 0 var(--ink);
}

.home-cta-panel::before {
    position: absolute;
    top: -150px;
    right: -70px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    content: "";
}

.cta-index {
    position: relative;
    margin-bottom: 55px;
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.home-cta-panel h2 {
    position: relative;
    max-width: 940px;
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(3.3rem, 7.2vw, 7.8rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.87;
}

.home-cta-panel p {
    position: relative;
    max-width: 630px;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.65;
}

.home-button-light {
    position: relative;
    border-color: #fff;
    background: #fff;
    color: var(--signal);
}

.home-button-light:hover {
    background: var(--acid);
    color: var(--ink);
}

@media (max-width: 1120px) {
    .hero-layout,
    .qrelia-feature,
    .section-heading-split,
    .origin-layout {
        grid-template-columns: 1fr;
    }

    .hero-art {
        width: min(620px, 100%);
        min-height: 660px;
        margin: 0 auto;
    }

    .section-heading-split {
        gap: 25px;
    }

    .section-heading-split > p {
        max-width: 750px;
    }

    .qrelia-feature {
        min-height: 0;
    }

    .qrelia-visual {
        min-height: 590px;
    }

    .origin-layout {
        gap: 35px;
    }

    .origin-stamp {
        width: 145px;
        height: 145px;
    }
}

@media (max-width: 800px) {
    .studio-container {
        width: min(var(--container), calc(100% - 22px));
    }

    .home-hero {
        padding-top: 104px;
    }

    .hero-register span:nth-child(2),
    .hero-register span:nth-child(3) {
        display: none;
    }

    .hero-layout {
        gap: 42px;
        padding-top: 44px;
    }

    .hero-copy h1 {
        font-size: clamp(3.9rem, 17vw, 6.4rem);
        line-height: 0.83;
    }

    .hero-art {
        min-height: 545px;
    }

    .hero-portrait {
        inset: 12px 16px 62px 23px;
        box-shadow: 12px 14px 0 var(--mint);
    }

    .hero-ticket-top {
        top: 34px;
        right: 0;
    }

    .hero-ticket-bottom {
        left: 0;
    }

    .hero-line-art {
        display: none;
    }

    .hero-ledger {
        grid-template-columns: 1fr 1fr;
    }

    .hero-ledger > div,
    .hero-ledger > div:first-child {
        padding: 16px 12px;
        border-bottom: 1px solid var(--line);
    }

    .hero-ledger > div:nth-child(2) {
        border-right: 0;
    }

    .selected-system,
    .working-method,
    .work-index,
    .origin-section,
    .home-cta {
        padding: 84px 0;
    }

    .section-heading h2 {
        font-size: clamp(2.7rem, 12vw, 4.8rem);
    }

    .qrelia-visual {
        min-height: 470px;
        padding: 52px 18px 24px;
    }

    .browser-frame img {
        min-height: 250px;
    }

    .qrelia-device-card {
        right: 16px;
        bottom: 19px;
        width: min(310px, 80%);
    }

    .qrelia-copy {
        padding: 32px 24px;
    }

    .system-number {
        margin-bottom: 28px;
    }

    .method-list li {
        grid-template-columns: 42px 1fr;
        gap: 15px;
    }

    .method-mark {
        display: none;
    }

    .project-mosaic {
        grid-template-columns: 1fr;
    }

    .mosaic-project-wide {
        grid-row: auto;
    }

    .mosaic-project-wide .mosaic-image,
    .mosaic-image {
        min-height: 285px;
    }

    .round-link {
        justify-self: start;
    }

    .origin-stamp {
        width: 125px;
        height: 125px;
    }

    .home-cta-panel {
        box-shadow: 8px 9px 0 var(--ink);
    }
}

@media (max-width: 520px) {
    .hero-copy h1 {
        font-size: 3.55rem;
    }

    .hero-actions,
    .home-button {
        width: 100%;
    }

    .hero-art {
        min-height: 460px;
    }

    .hero-ticket {
        padding: 10px 12px;
    }

    .hero-ticket-top {
        min-width: 155px;
    }

    .hero-ticket-bottom {
        max-width: 205px;
    }

    .portrait-caption {
        font-size: 0.98rem;
    }

    .hero-ledger {
        grid-template-columns: 1fr;
    }

    .hero-ledger > div {
        border-right: 0;
    }

    .qrelia-visual {
        min-height: 390px;
    }

    .qrelia-device-card {
        width: calc(100% - 40px);
    }

    .system-ledger > div {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .origin-layout blockquote {
        font-size: 1.35rem;
    }
}
