.work-section {
    position: relative;
    width: max-content;
    min-width: calc(100vw);
    overflow: visible;
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: flex-start;
    box-sizing: border-box;
    padding-left: 172px;
}

.work-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-self: center;
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 2px var(--highlight-main);
    align-self: start;
    margin-top: 190px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 920px) 520px;
    gap: 48px;
    align-self: center;
    overflow: visible;
}

.work-grid {
    position: relative;
    width: 919px;
    min-height: 560px;
    padding: 8px 48px;
    border-radius: 28px;
    background-color: rgba(56, 209, 196, 0.18);
    color: var(--text-light);
    box-sizing: border-box;
    display: block;
}

.work-grid h2 {
    margin: 0 0 5px;
    color: var(--highlight-main);
}
.work-grid h3 {
    font-size: clamp(18px, 1.5vw, 24px);
    position: relative;
    padding-left: 34px;
    margin: 0 0 12px;
}

.work-grid h3::before {
    content: "";
    position: absolute;
    left: 0;
    width: 10px;
    height: 10px;
    border: 1px solid var(--highlight-main);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.work-grid p,
.work-grid-last p {
    margin: 0 0 32px;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.35;
}

.work-grid h3 + p {
    padding-left: 34px;
}

.work-grid img {
    width: 130px;
    height: auto;
    object-fit: contain;
}

.work-grid a {
    display: inline-flex;
    border-radius: 999px;
    background-color: var(--highlight-main);
    color: var(--text-dark);
    font-size: 18px;
    text-decoration: none;
}

.work-grid-last {
    max-width: 313px;
    height: 289px;
}

.projects-next-link {
    position: absolute;
    right: 60px;
    bottom: 80px;
    transform: rotate(-180deg);
}

.projects-next-link img {
    width: 110px;
    filter: hue-rotate(110deg);
}

.project-right {
    position: absolute;
    top: clamp(88px, 10vw, 128px);
    right: clamp(24px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.project-right img {
    width: clamp(240px, 29vw, 337px);
    height: auto;
    border-radius: clamp(24px, 3vw, 38px);
    filter: sepia(0.25) saturate(0.75) brightness(1.05);
    transition: filter 0.2s ease;
}

.project-right img:hover {
    filter: none;
}

.project-number {
    font-size: clamp(64px, 6vw, 100px);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--highlight-main);
}

.project-header {
    display: flex;
    gap: 16px;
}

.project-header h2 {
    font-size: clamp(32px, 3.5vw, 50px);
    font-weight: 400;
    display: flex;
    align-items: center;
}

.project-buttons {
    display: flex;
    gap: 18px;
}

.project-left section {
    padding-left: 34px;
}

.project-left {
    max-width: 100%;
}

.project-left h3,
.project-left p {
    max-width: clamp(300px, 36vw, 420px);
}

.project-extra p:last-child {
    max-width: 820px;
    box-sizing: border-box;
}

.project-buttons a {
    font-size: 16px;
    font-weight: 100;
}

.project-buttons:hover {
    gap: 28px;
}

.project-buttons a:first-child {
    background: transparent;
    color: var(--highlight-main);
    border: 1px solid var(--highlight-main);
    padding: 9px 28px;
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.project-buttons a:first-child:hover {
    background-color: rgba(56, 209, 196, 0.45);
    color: var(--text-light);
    border-color: var(--text-light);
}

.project-buttons a:last-child {
    background: var(--highlight-main);
    color: var(--text-dark);
    padding: 9px 28px;
    transition: box-shadow .2s ease;
}

.project-buttons a:last-child:hover {
    box-shadow: inset 0 -6px 20px -3px rgba(0, 30, 22, 0.35);
}

.work-grid-last{
    display:flex;
    flex-direction:column;
    gap:32px;
}

.ongoing-header{
    display:flex;
    align-items:center;
    gap:16px;
}

.ongoing-btn{
    align-self: center;
    text-align: -webkit-center;
    background: var(--highlight-main);
    padding: 9px 28px;
    border-radius: 999px;
    color: var(--text-dark);
    font-size: 16px;
    text-decoration: none;
    transition: box-shadow .2s ease;
}

.ongoing-btn:hover {
    box-shadow: inset 0 -6px 20px -3px rgba(0,30,22,.35);
}

.project-number-last {
    font-size: 48px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--highlight-main);
}

.grid-hero {
    color: var(--highlight-main);
    font-size: 30px;
    margin: 0;
}

.project-toggle {
    display: none;
}