@import url("../../../../assets/css/main.css");

/* Project-specific overrides for Machine Design. */
body {
    background: #fff4e6;
    margin: 0;
}

.hero-stage {
    position: relative;
    height: 100vh;
    overflow: visible;
}

.hero-wrap {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.hero-blur {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: blur(70px);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.08);
    transform-origin: center;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    opacity: 1;
}

.hero-badge {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-badge img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.hero-badge-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    bottom: 50%;
    transform: translateY(50%) translateX(6px);
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #f4efe8;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.hero-badge:hover .hero-badge-tooltip {
    opacity: 1;
    transform: translateY(50%) translateX(0);
}

.glass-card {
    width: min(900px, 80vw);
    position: absolute;
    top: 50vh;
    left: 6vw;
    transform: translateY(-50%);
    padding: 56px 64px 60px;
    border-radius: 28px;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: left;
    z-index: 2;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transition: box-shadow 240ms ease;
}

.glass-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.glass-card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.glass-logo {
    display: block;
    width: min(160px, 32vw);
    height: auto;
    margin: 0 0 18px;
}

.glass-copy {
    margin: 0;
    max-width: 700px;
    font-size: clamp(0.98rem, 2vw, 1.34rem);
    line-height: 1.55;
    color: #f4efe8;
    letter-spacing: 0.01em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(244, 239, 232, 0.52);
    background: transparent;
    color: #fff4e6;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-cta img {
    width: 16px;
    height: 16px;
    display: block;
    filter: brightness(0) saturate(100%) invert(95%) sepia(17%) saturate(386%) hue-rotate(323deg) brightness(104%) contrast(92%);
}

.hero-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(244, 239, 232, 0.78);
    background: rgba(255, 244, 230, 0.08);
    box-shadow:
        0 12px 22px rgba(48, 28, 13, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.logo-block {
    margin-top: 0;
    padding: 20vh 12vw 12vh;
}

.logo-block-image {
    display: block;
    width: min(520px, 70vw);
    height: auto;
}

.logo-block-text {
    margin-top: 24px;
    max-width: 720px;
    color: #f4efe8;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
}

.logo-block-text h2 {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    color: #f4efe8;
}

.logo-block-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    gap: 40px;
    align-items: center;
}

.logo-block-viewer {
    width: 100%;
    height: min(546px, 60vh);
    min-height: 416px;
}

.logo-block-viewer img {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: block;
    object-fit: cover;
    border-radius: 28px;
}

@media (max-width: 900px) {
    .logo-block-content {
        grid-template-columns: 1fr;
    }

    .logo-block-viewer {
        height: 468px;
    }

    .glass-card {
        width: min(92vw, 900px);
        left: 4vw;
        padding: 36px 28px 40px;
    }
}

.gate-section {
    padding: 10vh 12vw 14vh;
}

.gate-section--what {
    position: relative;
    z-index: 0;
    overflow: visible;
}

.gate-section--how {
    padding-top: 20vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gate-section--how .gate-content {
    width: 100%;
}
.gate-section--what::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/rock-backdrop.webp") center / cover no-repeat;
    z-index: -1;
}

.gate-section--what::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/rock-backdrop.webp") center / cover no-repeat;
    filter: blur(80px);
    opacity: 0.9;
    z-index: -2;
}

.gate-section--what .gate-content {
    position: relative;
    z-index: 1;
}

.gate-section--how {
    position: relative;
    z-index: 2;
}

.gate-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
}

.gate-content--single {
    grid-template-columns: minmax(0, 1fr);
}

.gate-content--how {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
}

.gate-sketch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.gate-sketch img {
    width: min(640px, 75vw);
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.35));
}

.gate-block {
    color: #f4efe8;
}

.gate-block--what {
    padding-right: clamp(16px, 4vw, 56px);
}

.gate-block--how {
    grid-column: 1 / -1;
}

.gate-block h2 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    margin: 0 0 16px;
}

.gate-block p {
    margin: 0 0 16px;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.6;
}

.inline-logo {
    height: 1.5em;
    width: auto;
    vertical-align: middle;
    margin: 0 0.18em;
}

.gate-list {
    list-style: none;
    margin: 32px 0 36px;
    padding: 0;
    display: grid;
    gap: 24px;
}

.gate-list--compact {
    margin: 0 0 18px;
    gap: 10px;
}

.gate-list--icon-top {
    display: flex;
    gap: 48px;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.gate-list--icon-top li {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 1 1 0;
    padding: 26px 20px;
    border-radius: 24px;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    max-width: 260px;
}

.gate-list--icon-top li > img {
    margin: 0 auto;
    display: block;
    width: 33px;
    height: 33px;
    filter: drop-shadow(0 0 10px rgba(244, 239, 232, 0.35));
    transition: filter 0.7s ease, transform 0.7s ease;
}

.gate-list--icon-top li:hover > img {
    filter: drop-shadow(0 0 28px rgba(244, 239, 232, 0.9));
    transform: scale(1.2);
}

.gate-list--icon-top li > span {
    display: block;
    text-align: center;
}

.gate-list--inline {
    display: flex;
    gap: 72px;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

.gate-list--inline li {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1 1 0;
    transition: color 0.45s ease;
    cursor: default;
    padding: 28px 18px 22px;
    border-radius: 24px;
    position: relative;
    background: transparent;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    aspect-ratio: 1 / 1;
    text-align: center;
    max-width: 270px;
    color: #f4efe8;
}

.gate-list--inline li > img:not(.tile-backdrop),
.gate-list--inline li > span {
    position: relative;
    z-index: 1;
}

.gate-list--inline .tile-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    filter: blur(15px);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.gate-list--inline li:nth-child(1) .tile-backdrop { object-position: 20% 30%; }
.gate-list--inline li:nth-child(2) .tile-backdrop { object-position: 70% 35%; }
.gate-list--inline li:nth-child(3) .tile-backdrop { object-position: 35% 65%; }
.gate-list--inline li:nth-child(4) .tile-backdrop { object-position: 80% 70%; }

.gate-list--inline li > img:not(.tile-backdrop) {
    width: 63px !important;
    height: 63px !important;
    margin: 0;
    filter: drop-shadow(0 0 12px rgba(73, 217, 200, 0.6));
}

.gate-list--inline li > span {
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
}

.gate-list--inline li > img {
    align-self: center;
    filter: drop-shadow(0 0 12px rgba(244, 239, 232, 0.35));
    transition: filter 0.7s ease, transform 0.7s ease;
}

.gate-list--inline li:hover > img:not(.tile-backdrop) {
    filter: drop-shadow(0 0 42px rgba(73, 217, 200, 0.9));
    transform: scale(1.2);
}

.gate-list--full {
    grid-column: 1 / -1;
}

@media (max-width: 700px) {
    .gate-list--inline {
        flex-wrap: wrap;
    }
}

.gate-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
}

.gate-list img {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    filter: drop-shadow(0 0 8px rgba(244, 239, 232, 0.35));
}

.gate-list--how li {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.6;
}

.gate-list--how img {
    width: 27px;
    height: 27px;
    margin-top: 0;
    transition: filter 0.6s ease, transform 0.6s ease;
}

.gate-list--how li:hover img {
    filter: drop-shadow(0 0 28px rgba(244, 239, 232, 0.8));
    transform: scale(1.1);
}

.gate-list--benefits img {
    width: 18px;
    height: 18px;
    margin-top: 0;
    transition: filter 0.6s ease, transform 0.6s ease;
}

.gate-list--benefits li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
    text-align: center;
    flex: 1 1 0;
}

.gate-list--stacked {
    display: grid;
    gap: 24px;
}

.gate-list--stacked li {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
}

.gate-list--benefits li:hover img {
    filter: drop-shadow(0 0 28px rgba(244, 239, 232, 0.8));
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .gate-section {
        padding: 8vh 10vw 12vh;
    }

    .gate-content {
        grid-template-columns: 1fr;
    }

    .gate-list--inline,
    .gate-list--icon-top {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        justify-content: center;
    }

    .gate-list--inline li,
    .gate-list--icon-top li {
        max-width: none;
        width: 100%;
    }

    .gate-list--inline li,
    .gate-list--inline li > img:not(.tile-backdrop) {
        transition: none;
    }

    .gate-list--icon-top li > img,
    .gate-list--benefits li > img,
    .gate-list--how li > img {
        transition: none;
    }

    .gate-list--inline li:hover > img:not(.tile-backdrop) {
        filter: drop-shadow(0 0 12px rgba(73, 217, 200, 0.6));
        transform: none;
    }

    .gate-list--icon-top li:hover > img {
        filter: drop-shadow(0 0 10px rgba(244, 239, 232, 0.35));
        transform: none;
    }

    .gate-list--benefits li:hover img,
    .gate-list--how li:hover img {
        filter: drop-shadow(0 0 8px rgba(244, 239, 232, 0.35));
        transform: none;
    }
}

.logo-block-text p {
    margin: 0 0 16px;
}

.task-board {
    padding: 16vh 8vw 12vh;
    background:
        radial-gradient(circle at top left, rgba(255, 251, 245, 0.96), transparent 34%),
        radial-gradient(circle at 85% 12%, rgba(182, 111, 58, 0.12), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(110, 69, 33, 0.08), transparent 36%),
        linear-gradient(180deg, #fff4e6 0%, #f6e2cc 52%, #efd6bc 100%);
    color: #231f19;
}

.task-board-shell {
    max-width: 1380px;
    margin: 0 auto;
}

.task-board-header {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 26px;
    align-items: end;
    margin-bottom: 32px;
    padding: 28px 30px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 250, 244, 0.86), rgba(248, 236, 221, 0.74)),
        radial-gradient(circle at top right, rgba(201, 111, 59, 0.18), transparent 34%);
    backdrop-filter: blur(18px);
    box-shadow:
        0 22px 52px rgba(88, 57, 30, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.task-board-kicker {
    margin: 0 0 10px;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #9b6436;
    font-weight: 800;
}

.task-board-header h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
    color: #231f19;
}

.task-board-intro {
    margin: 0;
    max-width: 760px;
    font-size: clamp(0.98rem, 1.45vw, 1.08rem);
    line-height: 1.65;
    color: rgba(35, 31, 25, 0.72);
}

.task-board-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.task-stat {
    min-width: 110px;
    padding: 12px 14px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 250, 244, 0.86), rgba(248, 236, 221, 0.68)),
        radial-gradient(circle at top right, rgba(201, 111, 59, 0.14), transparent 34%);
    box-shadow:
        0 16px 30px rgba(88, 57, 30, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.task-stat:hover {
    transform: translateY(-4px);
    background:
        linear-gradient(135deg, rgba(255, 250, 244, 0.92), rgba(248, 236, 221, 0.78)),
        radial-gradient(circle at top right, rgba(201, 111, 59, 0.18), transparent 34%);
    box-shadow:
        0 20px 34px rgba(88, 57, 30, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.task-stat strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
    color: #231f19;
}

.task-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: rgba(35, 31, 25, 0.56);
}

.task-list {
    display: grid;
    gap: 14px;
}

.task-card {
    position: relative;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 250, 244, 0.86), rgba(248, 236, 221, 0.74)),
        radial-gradient(circle at top right, rgba(201, 111, 59, 0.18), transparent 34%);
    backdrop-filter: blur(18px);
    box-shadow:
        0 22px 52px rgba(88, 57, 30, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    overflow: hidden;
}

.task-card::before {
    content: none;
}

.task-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 28px 30px 14px;
}

.task-card > .task-main > .task-owners {
    display: none;
}

.subtasks {
    margin-bottom: 15px;
}

.task-main--sub {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 34px auto;
    gap: 14px;
    margin: 0 16px 10px 30px;
    padding: 10px 14px;
    position: relative;
    border-radius: 12px;
    align-items: center;
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(143, 95, 47, 0.22);
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    transition: transform 520ms cubic-bezier(0.19, 1, 0.22, 1), box-shadow 520ms cubic-bezier(0.19, 1, 0.22, 1), border-color 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.task-main--sub::before {
    content: none;
}

.task-main--sub:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 1px rgba(143, 95, 47, 0.32),
        0 12px 22px rgba(95, 63, 24, 0.1);
}

.task-main--sub:focus-visible {
    outline: 2px solid rgba(201, 111, 59, 0.72);
    outline-offset: 3px;
}

.task-check {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    margin-top: 0;
    background: linear-gradient(180deg, #38bb75 0%, #1c8f57 100%);
    position: relative;
    box-shadow:
        0 6px 14px rgba(28, 143, 87, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    align-self: center;
}

.task-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(38deg);
}

.task-main--sub.is-zero-share .task-check {
    background: linear-gradient(180deg, #c9513b 0%, #9b2f26 100%);
    box-shadow:
        0 6px 14px rgba(155, 47, 38, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.task-main--sub.is-zero-share .task-check::before,
.task-main--sub.is-zero-share .task-check::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 10px;
    height: 2px;
    border: 0;
    background: #fff;
}

.task-main--sub.is-zero-share .task-check::before {
    transform: rotate(-45deg);
}

.task-main--sub.is-zero-share .task-check::after {
    transform: rotate(45deg);
}

.task-copy h3 {
    margin: 0 0 8px;
    font-size: clamp(1rem, 1.65vw, 1.22rem);
    line-height: 1.3;
    color: #231f19;
    letter-spacing: -0.01em;
}

.task-main--sub .task-copy h3 {
    margin-bottom: 0;
    font-size: 0.94rem;
    line-height: 1.2;
    font-weight: 650;
    transition: color 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.task-label {
    margin: 0 0 8px !important;
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #8d582d !important;
    font-size: 0.7rem !important;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1 !important;
}

.task-copy p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.58;
    color: rgba(35, 31, 25, 0.66);
}

.task-owners {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.task-main--sub > .task-owners {
    grid-column: 4;
    grid-row: 1;
    flex-wrap: nowrap;
}

.owner-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 158px;
    flex: 0 0 158px;
    padding: 6px 10px 6px 6px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.72), rgba(255, 244, 230, 0.38));
    white-space: nowrap;
    box-shadow:
        0 10px 22px rgba(95, 63, 24, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    transition: background 520ms cubic-bezier(0.19, 1, 0.22, 1), box-shadow 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.owner-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
}

.owner-pill--nico .owner-avatar {
    background: #c96f3b;
}

.owner-pill--william .owner-avatar {
    background: #231f19;
}

.owner-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #231f19;
    transition: color 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.owner-share {
    min-width: 48px;
    margin-left: auto;
    font-size: 0.82rem;
    text-align: right;
    color: rgba(35, 31, 25, 0.56);
    transition: color 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.task-main--sub:hover .owner-pill {
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.78), rgba(255, 244, 230, 0.44));
    box-shadow:
        0 12px 24px rgba(47, 26, 11, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.task-main--sub:hover .owner-name,
.task-main--sub:hover .owner-share {
    color: #231f19;
}

.task-main--sub.is-link-ready {
    cursor: pointer;
}

.task-doc-link {
    grid-column: 3;
    grid-row: 1;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #231f19;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.72), rgba(255, 244, 230, 0.38));
    box-shadow:
        0 10px 22px rgba(95, 63, 24, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-6px, 0, 0) scale(0.92);
    transition: opacity 220ms ease, transform 220ms ease, background 180ms ease, box-shadow 180ms ease;
}

.task-main--sub:hover .task-doc-link,
.task-main--sub:focus-visible .task-doc-link,
.task-main--sub.is-link-ready .task-doc-link {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
}

.task-doc-link:hover {
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.78), rgba(255, 244, 230, 0.44));
    box-shadow:
        0 12px 24px rgba(47, 26, 11, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.task-doc-link .material-symbols-outlined {
    font-size: 19px;
    line-height: 1;
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}

.gate-section--beige {
    background: #fff4e6;
    color: #231f19;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 30px;
}

.gate-content--beige {
    grid-template-columns: minmax(0, 1fr) minmax(0, 40vw);
    align-items: center;
    width: 100%;
    flex: 1;
}

.gate-media--beige {
    display: flex;
    justify-content: flex-start;
    position: relative;
    width: 100%;
}

.gate-media--beige img {
    width: min(840px, 90%);
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 900px) {
    .gate-content--beige {
        grid-template-columns: 1fr;
    }

    .gate-media--beige {
        justify-content: flex-start;
    }
}

.beige-badge {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.beige-badge-icon {
    width: 28px;
    height: 28px;
    display: block;
    fill: #231f19;
}

.beige-badge-tooltip {
    position: absolute;
    left: calc(100% + 10px);
    bottom: 50%;
    transform: translateY(50%) translateX(-6px);
    background: transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #231f19;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.beige-badge:hover .beige-badge-tooltip {
    opacity: 1;
    transform: translateY(50%) translateX(0);
}

.gate-accuracy {
    font-weight: 600;
    font-size: clamp(2.25rem, 4.2vw, 3.15rem);
    color: #231f19;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.gate-accuracy-main {
    margin-top: auto;
    margin-bottom: auto;
}

.gate-accuracy span {
    font-size: clamp(3rem, 7.2vw, 4.8rem);
    font-weight: 900;
    color: #16c661;
    text-shadow: none;
    transition: text-shadow 0.7s ease, transform 0.7s ease;
}

.gate-accuracy-sub {
    margin-top: 16px;
    font-weight: 600;
    font-size: clamp(2.25rem, 4.2vw, 3.15rem);
    color: #231f19;
    line-height: 1.2;
}

.gate-accuracy-sub span {
    font-size: clamp(3rem, 7.2vw, 4.8rem);
    font-weight: 900;
    color: #16c661;
    text-shadow: none;
    transition: text-shadow 0.7s ease, transform 0.7s ease;
}

.gate-accuracy:hover span {
    text-shadow: 0 0 90px rgba(22, 198, 97, 0.98);
    transform: scale(1.15);
}

.gate-accuracy-note {
    margin-top: 12px;
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    color: #231f19;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .gate-content--beige {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .task-board {
        padding: 12vh 5vw 10vh;
    }

    .task-board-header {
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }

    .task-board-stats {
        justify-content: flex-start;
    }

    .task-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .task-main--sub {
        grid-template-columns: 22px minmax(0, 1fr) 34px;
        margin: 0 8px 12px 14px;
        padding: 10px 10px;
    }

    .task-main--sub > .task-owners {
        grid-column: 2 / -1;
        grid-row: 2;
        justify-content: flex-end;
    }

    .task-doc-link {
        grid-column: 3;
        grid-row: 1;
    }

    .task-owners {
        justify-content: flex-start;
    }
}
