* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --night: #090c14;
    --wall: #191b28;
    --wood: #5c4036;
    --wood-light: #795548;
    --warm: #ffd98a;
    --screen: #7ec8a0;
    --page: #0a0b0f;
    --page-soft: #101116;
    --border: #292b33;
    --text: #e7dfca;
    --muted: #807e77;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--page);
    color: var(--text);
    font-family: "Courier New", monospace;
}

button,
input,
textarea {
    font: inherit;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
}

.room {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 620px;
    overflow: hidden;
    user-select: none;
    image-rendering: pixelated;
    background:
        linear-gradient(
            to bottom,
            #191b28 0%,
            #191b28 67%,
            #11131b 67%,
            #0c0d13 100%
        );
    transition:
        filter .7s ease,
        background .7s ease;
}

.room:not(.light-on) {
    filter: brightness(.28);
}

.wall-texture {
    position: absolute;
    inset: 0 0 33% 0;
    opacity: .08;
    background-image:
        linear-gradient(
            rgba(255,255,255,.12) 1px,
            transparent 1px
        );
    background-size: 100% 38px;
}

.window {
    position: absolute;
    left: 8%;
    top: 12%;
    width: 330px;
    height: 300px;
    background: #10182a;
    border: 12px solid #11131d;
    box-shadow:
        0 0 0 4px #303344,
        14px 14px 0 rgba(0,0,0,.2);
    overflow: hidden;
    z-index: 5;
}

.sky {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            #080e1b,
            #17243a
        );
}

.moon {
    position: absolute;
    width: 38px;
    height: 38px;
    right: 35px;
    top: 28px;
    background: #d9d4b3;
    box-shadow:
        0 0 30px rgba(220,215,180,.25);
}

.moon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    left: 8px;
    top: 7px;
    background: #bcb79a;
}

.city {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
}

.building {
    position: absolute;
    bottom: 0;
    background: #080c15;
}

.b1 {
    left: 0;
    width: 50px;
    height: 70px;
}

.b2 {
    left: 42px;
    width: 70px;
    height: 115px;
}

.b3 {
    left: 105px;
    width: 60px;
    height: 85px;
}

.b4 {
    left: 155px;
    width: 85px;
    height: 140px;
}

.b5 {
    left: 230px;
    width: 80px;
    height: 100px;
}

.city-window {
    position: absolute;
    width: 6px;
    height: 8px;
    background: #d3ad55;
    opacity: .65;
    animation: cityBlink 6s steps(1) infinite;
}

@keyframes cityBlink {
    0%,
    70% {
        opacity: .65;
    }

    71%,
    100% {
        opacity: .12;
    }
}

.rain {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.drop {
    position: absolute;
    width: 2px;
    height: 14px;
    background: #7388a5;
    opacity: .45;
    animation: rain linear infinite;
}

@keyframes rain {
    from {
        transform:
            translateY(-30px)
            translateX(0);
    }

    to {
        transform:
            translateY(340px)
            translateX(-35px);
    }
}

.window-v {
    position: absolute;
    left: calc(50% - 5px);
    top: 0;
    width: 10px;
    height: 100%;
    background: #11131d;
    z-index: 10;
}

.window-h {
    position: absolute;
    left: 0;
    top: calc(50% - 5px);
    width: 100%;
    height: 10px;
    background: #11131d;
    z-index: 10;
}

.message {
    position: absolute;
    left: calc(8% + 165px);
    top: calc(12% + 335px);
    transform:
        translateX(-50%)
        translateY(15px);
    width: 520px;
    max-width: 90%;
    text-align: center;
    z-index: 20;
    opacity: 0;
    filter: blur(6px);
    transition:
        opacity .9s ease,
        transform .9s ease,
        filter .9s ease;
}

.light-on .message {
    opacity: 1;
    filter: blur(0);
    transform:
        translateX(-50%)
        translateY(0);
}

.message-small {
    margin-bottom: 12px;
    color: #8f8b83;
    font-size: 10px;
    letter-spacing: 5px;
}

.message h1 {
    color: #f1e7cc;
    font-size: clamp(28px, 3.2vw, 50px);
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow:
        4px 4px 0 rgba(0,0,0,.4);
}

.message p {
    margin-top: 12px;
    color: #b6aa8e;
    font-size: clamp(10px, 1vw, 14px);
    letter-spacing: 3px;
}

.cursor {
    display: inline-block;
    animation: cursorBlink 1s steps(1) infinite;
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

.lamp-system {
    position: absolute;
    left: 72%;
    top: 0;
    width: 230px;
    height: 340px;
    z-index: 100;
}

.lamp-wire {
    position: absolute;
    left: 72px;
    top: 0;
    width: 5px;
    height: 72px;
    background: #17171c;
}

.bulb-holder {
    position: absolute;
    left: 57px;
    top: 65px;
    width: 34px;
    height: 30px;
    background: #28282d;
    border-bottom: 5px solid #151519;
}

.bulb {
    position: absolute;
    left: 55px;
    top: 92px;
    width: 40px;
    height: 47px;
    background: #777361;
    border: 5px solid #25252a;
    border-radius: 45% 45% 40% 40%;
    transition:
        background .15s,
        box-shadow .2s;
}

.light-on .bulb {
    background: #ffe29a;
    box-shadow:
        0 0 20px #ffd77a,
        0 0 55px rgba(255,211,120,.8),
        0 0 120px rgba(255,203,95,.4);
}

.light-cone {
    position: absolute;
    left: 72%;
    top: 125px;
    width: 800px;
    height: 600px;
    transform: translateX(-50%);
    background:
        radial-gradient(
            ellipse at top,
            rgba(255,217,138,.17),
            rgba(255,217,138,.07) 45%,
            transparent 72%
        );
    clip-path:
        polygon(
            46% 0,
            54% 0,
            100% 100%,
            0 100%
        );
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity .7s ease;
}

.light-on .light-cone {
    opacity: 1;
}

.pull-container {
    position: absolute;
    left: 95px;
    top: 105px;
    width: 60px;
    height: 230px;
    touch-action: none;
    cursor: grab;
}

.pull-container:active {
    cursor: grabbing;
}

.rope {
    position: absolute;
    left: 28px;
    top: 0;
    width: 3px;
    height: 125px;
    background:
        repeating-linear-gradient(
            to bottom,
            #b59c70 0,
            #b59c70 4px,
            #766448 4px,
            #766448 7px
        );
}

.handle {
    position: absolute;
    left: 18px;
    top: 118px;
    width: 23px;
    height: 32px;
    background: #8c7351;
    border: 4px solid #4d4030;
    box-shadow:
        3px 3px 0 rgba(0,0,0,.3);
}

.handle::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 5px;
    height: 5px;
    background: #bca47a;
}

.pull-hint {
    position: absolute;
    left: 165px;
    top: 215px;
    color: #77756f;
    font-size: 9px;
    letter-spacing: 2px;
    white-space: nowrap;
    animation: hintMove 1.5s ease-in-out infinite;
}

.pull-hint::before {
    content: "↓";
    display: block;
    text-align: center;
    margin-bottom: 4px;
    font-size: 15px;
}

@keyframes hintMove {
    50% {
        transform: translateY(5px);
    }
}

.light-on .pull-hint {
    opacity: .35;
}

.flash {
    position: absolute;
    inset: 0;
    background: #ffe6ad;
    pointer-events: none;
    z-index: 200;
    opacity: 0;
}

.flash.active {
    animation: flash .35s ease-out;
}

@keyframes flash {
    0% {
        opacity: 0;
    }

    20% {
        opacity: .17;
    }

    45% {
        opacity: 0;
    }

    65% {
        opacity: .08;
    }

    100% {
        opacity: 0;
    }
}

.desk {
    position: absolute;
    left: 50%;
    bottom: 160px;
    transform: translateX(-50%);
    width: min(650px, 58vw);
    height: 32px;
    background: var(--wood-light);
    border-top: 7px solid #936858;
    box-shadow:
        0 11px 0 #372824;
    z-index: 10;
}

.desk::before,
.desk::after {
    content: "";
    position: absolute;
    top: 32px;
    width: 32px;
    height: 160px;
    background: #3f2d29;
}

.desk::before {
    left: 40px;
}

.desk::after {
    right: 40px;
}

.monitor {
    position: absolute;
    left: 50%;
    bottom: 192px;
    transform: translateX(-50%);
    width: 270px;
    height: 175px;
    background: #111219;
    border: 10px solid #292b35;
    z-index: 12;
    box-shadow:
        8px 9px 0 rgba(0,0,0,.25);
}

.screen {
    position: absolute;
    inset: 8px;
    padding: 18px;
    overflow: hidden;
    background: #102024;
    box-shadow:
        inset 0 0 25px rgba(92,185,140,.1);
}

.line {
    height: 6px;
    margin-bottom: 9px;
    background: #69957c;
    opacity: .65;
    animation:
        codeGlow 3s ease-in-out infinite alternate;
}

.line:nth-child(1) {
    width: 55%;
}

.line:nth-child(2) {
    width: 78%;
}

.line:nth-child(3) {
    width: 42%;
    margin-left: 15px;
}

.line:nth-child(4) {
    width: 72%;
    margin-left: 15px;
}

.line:nth-child(5) {
    width: 60%;
}

.line:nth-child(6) {
    width: 35%;
    margin-left: 15px;
}

@keyframes codeGlow {
    to {
        opacity: .9;
    }
}

.monitor-stand {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 55px;
    height: 40px;
    background: #252730;
}

.monitor-stand::after {
    content: "";
    position: absolute;
    left: -25px;
    bottom: 0;
    width: 105px;
    height: 10px;
    background: #20212a;
}

.keyboard {
    position: absolute;
    left: 50%;
    bottom: 166px;
    transform:
        translateX(-50%)
        skewX(-8deg);
    width: 175px;
    height: 28px;
    background: #292b33;
    z-index: 14;
    border-top: 5px solid #40424c;
}

.keyboard::after {
    content: "";
    position: absolute;
    inset: 6px 10px;
    background:
        repeating-linear-gradient(
            90deg,
            #555760 0,
            #555760 7px,
            transparent 7px,
            transparent 11px
        );
}

.coffee {
    position: absolute;
    left: calc(50% + 205px);
    bottom: 192px;
    width: 43px;
    height: 43px;
    background: #956550;
    border: 5px solid #624437;
    z-index: 13;
}

.coffee::after {
    content: "";
    position: absolute;
    right: -19px;
    top: 8px;
    width: 16px;
    height: 20px;
    border: 5px solid #624437;
    border-left: 0;
}

.steam {
    position: absolute;
    bottom: 242px;
    width: 5px;
    height: 25px;
    background: rgba(220,220,220,.5);
    opacity: 0;
    border-radius: 50%;
    animation: steam 3s infinite;
}

.steam.one {
    left: calc(50% + 218px);
}

.steam.two {
    left: calc(50% + 234px);
    animation-delay: 1.2s;
}

@keyframes steam {
    0% {
        opacity: 0;
        transform:
            translateY(0)
            translateX(0);
    }

    30% {
        opacity: .4;
    }

    100% {
        opacity: 0;
        transform:
            translateY(-35px)
            translateX(7px);
    }
}

.chair {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    width: 125px;
    height: 175px;
    background: #292a34;
    border: 7px solid #1b1c24;
    border-radius:
        25px 25px 5px 5px;
    z-index: 15;
}

.person {
    position: absolute;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%);
    z-index: 16;
}

.head {
    position: relative;
    width: 70px;
    height: 65px;
    background: #bd8465;
    border: 5px solid #181920;
}

.hair {
    position: absolute;
    left: -5px;
    top: -5px;
    width: 70px;
    height: 27px;
    background: #242029;
}

.hair::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    width: 15px;
    height: 30px;
    background: #242029;
}

.headphones {
    position: absolute;
    left: -11px;
    top: -10px;
    width: 82px;
    height: 55px;
    border: 6px solid #393b46;
    border-bottom: 0;
    border-radius:
        40px 40px 0 0;
}

.headphones::before,
.headphones::after {
    content: "";
    position: absolute;
    top: 30px;
    width: 11px;
    height: 27px;
    background: #4b4d58;
}

.headphones::before {
    left: -9px;
}

.headphones::after {
    right: -9px;
}

.body {
    width: 110px;
    height: 95px;
    margin-left: -20px;
    background: #455269;
    border: 5px solid #252a35;
    border-radius:
        18px 18px 0 0;
}

.cat {
    position: absolute;
    right: calc(50% - 300px);
    bottom: 192px;
    width: 65px;
    height: 32px;
    background: #29262b;
    border-radius:
        25px 25px 7px 7px;
    z-index: 15;
    animation:
        breathe 3s ease-in-out infinite;
}

.cat::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 2px;
    width: 32px;
    height: 30px;
    background: #29262b;
    border-radius: 50%;
}

.ear {
    position: absolute;
    top: -4px;
    width: 14px;
    height: 14px;
    background: #29262b;
    transform: rotate(45deg);
    z-index: -1;
}

.ear.one {
    left: -5px;
}

.ear.two {
    left: 12px;
}

.tail {
    position: absolute;
    right: -35px;
    top: 20px;
    width: 45px;
    height: 9px;
    background: #29262b;
    transform-origin: left;
    animation:
        tail 3s ease-in-out infinite alternate;
}

@keyframes breathe {
    50% {
        transform: scaleY(1.08);
    }
}

@keyframes tail {
    to {
        transform: rotate(15deg);
    }
}

.clock {
    position: absolute;
    right: 7%;
    bottom: 8%;
    padding: 10px 14px;
    color: #bd6262;
    background: #111218;
    border: 4px solid #292b34;
    font-size: 14px;
    letter-spacing: 3px;
    z-index: 20;
}

.pixel-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 500;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 3px,
            rgba(0,0,0,.035) 4px
        );
}

.room.switching {
    animation:
        roomClick .2s linear;
}

@keyframes roomClick {
    0% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(1px);
    }

    70% {
        transform: translateY(-1px);
    }

    100% {
        transform: translateY(0);
    }
}

.comments-section {
    position: relative;
    padding:
        120px 6%
        140px;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #08090d 0%,
            #0d0e13 45%,
            #090a0e 100%
        );
    border-top:
        1px solid #202127;
}

.comments-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );
    background-size:
        50px 50px;
}

.comments-wrapper {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.comments-header {
    max-width: 720px;
    margin-bottom: 70px;
}

.section-label {
    display: block;
    margin-bottom: 18px;
    color: #777871;
    font-size: 10px;
    letter-spacing: 5px;
}

.comments-header h2 {
    margin-bottom: 18px;
    color: #eee5ce;
    font-size:
        clamp(38px, 6vw, 72px);
    font-weight: 400;
    letter-spacing: -3px;
}

.comments-header p {
    max-width: 620px;
    color: #777871;
    font-size: 14px;
    line-height: 1.9;
}

.comments-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(250px, .6fr);
    gap: 70px;
    align-items: start;
}

.comment-form-container {
    position: relative;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field label {
    color: #a6a397;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.field input,
.field textarea {
    width: 100%;
    border: 0;
    border-bottom:
        1px solid #37383d;
    outline: none;
    color: #eee5ce;
    background: transparent;
    border-radius: 0;
    transition:
        border-color .25s ease,
        background .25s ease;
}

.field input {
    height: 58px;
    padding:
        0 4px;
    font-size: 20px;
}

.field textarea {
    min-height: 160px;
    padding:
        18px 4px;
    resize: vertical;
    font-size: 17px;
    line-height: 1.7;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #48494d;
}

.field input:focus,
.field textarea:focus {
    border-color: #b7a67d;
}

.field-footer {
    min-height: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #5d5e62;
    font-size: 9px;
    letter-spacing: 2px;
}

.form-status.success {
    color: #839d7e;
}

.form-status.error {
    color: #b86f6f;
}

.submit-button {
    width: 100%;
    min-height: 64px;
    padding:
        0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border:
        1px solid #38393e;
    color: #d8d0bb;
    background: #121318;
    cursor: pointer;
    font-size: 10px;
    letter-spacing: 3px;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.submit-button:hover {
    color: #111216;
    background: #d8d0bb;
    border-color: #d8d0bb;
}

.submit-button:disabled {
    opacity: .45;
    cursor: wait;
}

.button-arrow {
    font-size: 20px;
    transition:
        transform .25s ease;
}

.submit-button:hover .button-arrow {
    transform:
        translateX(7px);
}

.comments-info {
    padding-top: 4px;
}

.info-number {
    color: #302f2c;
    font-size:
        clamp(70px, 9vw, 120px);
    line-height: .8;
    letter-spacing: -8px;
}

.info-text {
    margin-top: 25px;
    color: #8d897f;
    font-size: 9px;
    letter-spacing: 3px;
}

.info-line {
    width: 100%;
    height: 1px;
    margin:
        25px 0;
    background: #292a2f;
}

.comments-info p {
    color: #64645f;
    font-size: 11px;
    line-height: 1.8;
}

.carousel-section {
    margin-top: 130px;
}

.carousel-heading {
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
}

.carousel-heading h3 {
    color: #d8d0bb;
    font-size:
        clamp(20px, 3vw, 34px);
    font-weight: 400;
}

.carousel-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #62635f;
    font-size: 9px;
    letter-spacing: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #758c70;
    border-radius: 50%;
    animation:
        statusPulse 1.5s ease-in-out infinite;
}

.carousel.paused + .carousel-help {
    color: #8e8878;
}

@keyframes statusPulse {
    50% {
        opacity: .25;
    }
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 6%,
            black 94%,
            transparent
        );
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 22px;
    will-change: transform;
}

.comment-card {
    position: relative;
    flex: 0 0 330px;
    height: 250px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border:
        1px solid #292a30;
    background:
        linear-gradient(
            145deg,
            #121318,
            #0e0f13
        );
    cursor: pointer;
    overflow: hidden;
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.comment-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: #a39778;
    transition:
        height .3s ease;
}

.comment-card:hover {
    transform:
        translateY(-6px);
    border-color: #4b4941;
    background:
        linear-gradient(
            145deg,
            #17181d,
            #101116
        );
}

.comment-card:hover::before {
    height: 100%;
}

.card-number {
    color: #4b4b48;
    font-size: 9px;
    letter-spacing: 2px;
}

.card-message {
    display: -webkit-box;
    overflow: hidden;
    color: #bcb6a6;
    font-size: 14px;
    line-height: 1.7;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border:
        1px solid #3b3b3d;
    color: #a49b84;
    background: #18191e;
    font-size: 12px;
}

.card-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-name {
    max-width: 150px;
    overflow: hidden;
    color: #9c998f;
    font-size: 10px;
    letter-spacing: 1px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-date {
    color: #4d4e4c;
    font-size: 8px;
}

.card-open {
    color: #5e5e5a;
    font-size: 18px;
    transition:
        transform .25s ease,
        color .25s ease;
}

.comment-card:hover .card-open {
    color: #c0b69d;
    transform:
        translateX(4px);
}

.carousel-help {
    margin-top: 20px;
    color: #45464a;
    font-size: 8px;
    letter-spacing: 2px;
    text-align: center;
}

.comment-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 30px;
    visibility: hidden;
    pointer-events: none;
}

.comment-modal.open {
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        rgba(3,4,7,.88);
    backdrop-filter:
        blur(8px);
    transition:
        opacity .45s ease;
}

.comment-modal.open .modal-backdrop {
    opacity: 1;
}

.modal-stage {
    position: relative;
    width: min(720px, 100%);
    max-height: min(700px, 90vh);
    overflow: hidden;
    opacity: 0;
    transform:
        perspective(1000px)
        rotateX(18deg)
        scale(.72)
        translateY(80px);
    transition:
        opacity .5s ease,
        transform .65s cubic-bezier(.16,1,.3,1);
}

.comment-modal.open .modal-stage {
    opacity: 1;
    transform:
        perspective(1000px)
        rotateX(0)
        scale(1)
        translateY(0);
}

.modal-content {
    position: relative;
    z-index: 4;
    max-height: min(700px, 90vh);
    overflow-y: auto;
    padding:
        45px 50px;
    border:
        1px solid #3b3933;
    background:
        linear-gradient(
            145deg,
            #17181d,
            #0d0e12
        );
    box-shadow:
        0 30px 100px
        rgba(0,0,0,.5);
}

.modal-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background:
        #a59877;
}

.modal-decoration {
    position: absolute;
    z-index: 2;
    border:
        1px solid #7d745f;
    opacity: 0;
    pointer-events: none;
}

.comment-modal.open .modal-decoration {
    animation:
        modalFragment 1s cubic-bezier(.16,1,.3,1) forwards;
}

.decoration-one {
    width: 90px;
    height: 90px;
    left: -35px;
    top: -35px;
    animation-delay: .05s !important;
}

.decoration-two {
    width: 55px;
    height: 55px;
    right: -20px;
    bottom: 30px;
    animation-delay: .12s !important;
}

.decoration-three {
    width: 25px;
    height: 140px;
    right: 25px;
    top: -60px;
    animation-delay: .18s !important;
}

@keyframes modalFragment {
    from {
        opacity: 0;
        transform:
            scale(.4)
            rotate(25deg);
    }

    to {
        opacity: .45;
        transform:
            scale(1)
            rotate(0);
    }
}

.modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.modal-code {
    color: #686760;
    font-size: 9px;
    letter-spacing: 3px;
}

.modal-close {
    position: relative;
    width: 42px;
    height: 42px;
    border:
        1px solid #38383b;
    background: transparent;
    cursor: pointer;
}

.modal-close span {
    position: absolute;
    left: 11px;
    top: 19px;
    width: 18px;
    height: 1px;
    background: #9d998e;
}

.modal-close span:first-child {
    transform:
        rotate(45deg);
}

.modal-close span:last-child {
    transform:
        rotate(-45deg);
}

.modal-close:hover {
    background: #202126;
}

.modal-author {
    margin-top: 55px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-avatar {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border:
        1px solid #47463f;
    color: #c4b99c;
    background: #1b1c21;
    font-size: 22px;
}

.modal-label {
    display: block;
    margin-bottom: 7px;
    color: #555653;
    font-size: 8px;
    letter-spacing: 3px;
}

.modal-author h2 {
    color: #e1d8c0;
    font-size:
        clamp(22px, 4vw, 34px);
    font-weight: 400;
}

.modal-divider {
    width: 100%;
    height: 1px;
    margin:
        35px 0;
    background: #2e2f33;
}

.modal-message {
    color: #aaa69b;
    font-size:
        clamp(15px, 2vw, 18px);
    line-height: 2;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.modal-footer {
    margin-top: 55px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top:
        1px solid #25262a;
    color: #4f504e;
    font-size: 8px;
    letter-spacing: 2px;
}

body.modal-open {
    overflow: hidden;
}

@media (min-width: 701px) and (max-width: 1024px) {
    .window {
        left: 5%;
        top: 13%;
        width: 270px;
        height: 250px;
    }

    .message {
        left: calc(5% + 135px);
        top: calc(13% + 280px);
        width: 400px;
    }

    .message h1 {
        font-size: 32px;
    }

    .message p {
        font-size: 10px;
    }

    .lamp-system {
        left: auto;
        right: 6%;
    }

    .light-cone {
        left: 72%;
    }

    .desk {
        width: 560px;
    }

    .coffee {
        left: calc(50% + 190px);
    }

    .steam.one {
        left: calc(50% + 202px);
    }

    .steam.two {
        left: calc(50% + 218px);
    }

    .cat {
        right: calc(50% - 270px);
    }

    .clock {
        right: 4%;
        bottom: 4%;
    }

    .comments-layout {
        grid-template-columns:
            minmax(0, 1fr)
            240px;
        gap: 45px;
    }

    .comment-card {
        flex-basis: 300px;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 620px;
    }

    .room {
        min-height: 620px;
    }

    .window {
        left: 20px;
        top: 145px;
        width: 190px;
        height: 185px;
        border-width: 8px;
    }

    .message {
        left: 50%;
        top: 355px;
        width: 92%;
        transform:
            translateX(-50%)
            translateY(15px);
    }

    .light-on .message {
        transform:
            translateX(-50%)
            translateY(0);
    }

    .message-small {
        margin-bottom: 8px;
        font-size: 8px;
        letter-spacing: 3px;
    }

    .message h1 {
        font-size:
            clamp(23px, 7.5vw, 31px);
        letter-spacing: 1px;
        white-space: normal;
    }

    .message p {
        margin-top: 8px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .lamp-system {
        left: auto;
        right: -20px;
        transform: scale(.85);
        transform-origin: top right;
    }

    .pull-hint {
        display: none;
    }

    .light-cone {
        left: 70%;
        width: 600px;
    }

    .desk {
        width: 94%;
        bottom: 125px;
    }

    .desk::before,
    .desk::after {
        height: 125px;
    }

    .monitor {
        width: 205px;
        height: 140px;
        bottom: 157px;
        border-width: 8px;
    }

    .screen {
        inset: 6px;
        padding: 13px;
    }

    .monitor-stand {
        bottom: -37px;
        height: 37px;
    }

    .keyboard {
        width: 150px;
        bottom: 132px;
    }

    .chair {
        bottom: -25px;
        width: 110px;
        height: 150px;
    }

    .person {
        bottom: 45px;
        transform:
            translateX(-50%)
            scale(.88);
        transform-origin: bottom center;
    }

    .coffee,
    .steam,
    .cat {
        display: none;
    }

    .clock {
        right: 12px;
        bottom: 12px;
        padding: 7px 9px;
        font-size: 10px;
        border-width: 3px;
    }

    .comments-section {
        padding:
            80px 20px
            100px;
    }

    .comments-header {
        margin-bottom: 50px;
    }

    .comments-header h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .comments-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .comments-info {
        display: grid;
        grid-template-columns:
            auto 1fr;
        gap:
            15px 25px;
        align-items: center;
    }

    .info-number {
        grid-row:
            1 / 4;
        font-size: 72px;
    }

    .info-text {
        margin-top: 0;
    }

    .info-line {
        margin: 0;
    }

    .carousel-section {
        margin-top: 90px;
    }

    .carousel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .comment-card {
        flex-basis:
            min(290px, 78vw);
        height: 235px;
        padding: 25px;
    }

    .carousel-help {
        line-height: 1.8;
    }

    .comment-modal {
        padding: 16px;
    }

    .modal-content {
        padding:
            30px 25px;
    }

    .modal-author {
        margin-top: 35px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .window {
        left: 14px;
        width: 165px;
        height: 165px;
    }

    .message {
        top: 330px;
    }

    .message h1 {
        font-size: 22px;
    }

    .lamp-system {
        right: -32px;
        transform: scale(.75);
    }

    .desk {
        bottom: 115px;
    }

    .monitor {
        bottom: 147px;
        width: 190px;
        height: 130px;
    }

    .keyboard {
        bottom: 122px;
    }

    .chair {
        bottom: -35px;
    }

    .person {
        bottom: 30px;
    }

    .comments-header h2 {
        font-size: 34px;
    }
}

@media (max-height: 650px) and (min-width: 600px) {
    .hero,
    .room {
        min-height: 500px;
    }

    .window {
        top: 8%;
        width: 230px;
        height: 190px;
    }

    .message {
        left: calc(8% + 115px);
        top: calc(8% + 215px);
        width: 360px;
    }

    .message-small {
        display: none;
    }

    .message h1 {
        font-size: 28px;
    }

    .message p {
        font-size: 9px;
    }

    .lamp-system {
        transform: scale(.8);
        transform-origin: top center;
    }

    .desk {
        bottom: 100px;
        width: 500px;
    }

    .desk::before,
    .desk::after {
        height: 100px;
    }

    .monitor {
        bottom: 132px;
        width: 220px;
        height: 140px;
    }

    .keyboard {
        bottom: 106px;
    }

    .chair {
        bottom: -60px;
    }

    .person {
        bottom: 5px;
        transform:
            translateX(-50%)
            scale(.8);
        transform-origin: bottom center;
    }

    .coffee,
    .steam,
    .cat {
        display: none;
    }

    .clock {
        bottom: 12px;
    }
}