/* BYJECS — FIRST CASE STUDY | Page-specific styles */

/* =========================================

   BYJECS — FIRST CASE STUDY

   01. HERO

   ========================================= */

.case-study-page {

    background: var(--color-bg);

    color: var(--color-text-primary);

}

/* HERO SECTION */

.fcs-hero {

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(

            ellipse at 80% 48%,

            rgb(var(--color-purple-rgb) / 0.10),

            transparent 58%

        ),

        var(--color-bg);

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

}

.fcs-hero__container {

    width: min(100% - 64px, 1280px);

    min-height: 620px;

    margin-inline: auto;

    display: grid;

    grid-template-columns:

        minmax(0, 0.95fr)

        minmax(0, 1.05fr);

    align-items: center;

    gap: 36px;

    padding-block: 64px 80px;

}

/* LEFT CONTENT */

.fcs-hero__content {

    position: relative;

    z-index: 2;

    min-width: 0;

}

.fcs-hero__back {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 42px;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 13px;

    font-weight: 500;

    text-decoration: none;

    transition: color 180ms ease;

}

.fcs-hero__back:hover {

    color: var(--color-purple-light);

}

.fcs-hero__back:focus-visible {

    outline: 2px solid var(--color-ice-blue);

    outline-offset: 5px;

}

.fcs-hero__eyebrow {

    margin: 0 0 16px;

    color: var(--color-ice-blue);

    font-family: var(--font-mono);

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}

.fcs-hero__title {

    max-width: 620px;

    margin: 0;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: clamp(40px, 3.6vw, 56px);

    font-weight: 700;

    line-height: 1.12;

    letter-spacing: -0.04em;

}

.fcs-hero__title span {

    color: var(--color-purple-light);

}

.fcs-hero__description {

    max-width: 520px;

    margin: 24px 0 0;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 16px;

    font-weight: 400;

    line-height: 1.75;

}

/* TAGS */

.fcs-hero__tags {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin: 28px 0 0;

    padding: 0;

    list-style: none;

}

.fcs-hero__tags li {

    padding: 8px 14px;

    border: 1px solid var(--color-border);

    border-radius: 6px;

    background: var(--color-surface-2);

    color: var(--color-text-soft);

    font-family: var(--font-body);

    font-size: 12px;

    font-weight: 500;

    line-height: 1.3;

}

/* ACTIONS */

.fcs-hero__actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;

}

.fcs-hero__button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    min-height: 48px;

    padding: 13px 24px;

    border: 1px solid transparent;

    border-radius: 7px;

    font-family: var(--font-body);

    font-size: 13px;

    font-weight: 600;

    line-height: 1.3;

    text-decoration: none;

    transition:

        background-color 180ms ease,

        border-color 180ms ease,

        transform 180ms ease;

}

.fcs-hero__button:hover {

    transform: translateY(-2px);

}

.fcs-hero__button:focus-visible {

    outline: 2px solid var(--color-ice-blue);

    outline-offset: 4px;

}

.fcs-hero__button--primary,
.fcs-next__button--primary {

    background: var(--color-purple);

    color: var(--color-white);

}

.fcs-hero__button--primary:hover {

    background: var(--color-purple-strong);

    color: var(--color-white);

}

.fcs-hero__button--secondary {

    border-color: var(--color-border-strong);

    background: transparent;

    color: var(--color-text-primary);

}

.fcs-hero__button--secondary:hover {

    border-color: var(--color-purple);

    background: rgb(var(--color-purple-rgb) / 0.08);

    color: var(--color-white);

}

/* RIGHT VISUAL */

.fcs-hero__visual {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 0;

}

.fcs-hero__image {

    display: block;

    width: 112%;

    max-width: none;

    height: auto;

    object-fit: contain;

    filter: drop-shadow(

        0 24px 48px rgb(0 0 0 / 0.25)

    );

}

/* =========================================

   TABLET

   ========================================= */

@media (max-width: 1024px) {
    .fcs-hero__container {

        grid-template-columns: 1fr;

        gap: 36px;

        min-height: auto;

        padding-block: 48px 64px;

    }

    .fcs-hero__back {

        margin-bottom: 32px;

    }

    .fcs-hero__title {

        max-width: 740px;

        font-size: clamp(38px, 5.5vw, 56px);

    }

    .fcs-hero__visual {

        width: 100%;

        max-width: 760px;

        margin-inline: auto;

    }

    .fcs-hero__image {

        width: 100%;

    }

}

/* =========================================

   MOBILE

   ========================================= */

@media (max-width: 600px) {
    .fcs-hero__container {

        width: min(100% - 32px, 1280px);

        gap: 28px;

        padding-block: 32px 48px;

    }

    .fcs-hero__back {

        margin-bottom: 28px;

        font-size: 12px;

    }

    .fcs-hero__eyebrow {

        font-size: 10px;

    }

    .fcs-hero__title {

        font-size: clamp(34px, 9vw, 44px);

        line-height: 1.12;

    }

    .fcs-hero__description {

        margin-top: 20px;

        font-size: 14px;

        line-height: 1.7;

    }

    .fcs-hero__tags {

        gap: 8px;

        margin-top: 24px;

    }

    .fcs-hero__tags li {

        padding: 7px 11px;

        font-size: 11px;

    }

    .fcs-hero__actions {

        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 28px;

    }

    .fcs-hero__button {

        width: 100%;

        min-height: 48px;

    }

    .fcs-hero__visual {

        width: 100%;

    }

    .fcs-hero__image {

        width: 100%;

    }

}

/* =========================================

   REDUCED MOTION

   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .fcs-hero__back,

    .fcs-hero__button {

        transition: none;

    }

    .fcs-hero__button:hover {

        transform: none;

    }

}

/* =========================================

   02. PROJECT OVERVIEW

   ========================================= */

.fcs-overview {

    padding-block: 64px;

    background: var(--color-surface-1);

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

    scroll-margin-top: 90px;

}

.fcs-overview__container {

    width: min(100% - 64px, 1280px);

    margin-inline: auto;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: center;

    gap: 72px;

}

.fcs-overview__intro,
.fcs-document-modal__heading,
.fcs-visual__intro,
.fcs-development__intro,
.fcs-responsive__intro,
.fcs-next__content {

    min-width: 0;

}

.fcs-overview__heading {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;

}

.fcs-overview__number,
.fcs-challenge__number,
.fcs-planning__number,
.fcs-wireframes__number,
.fcs-visual__number,
.fcs-development__number,
.fcs-responsive__number,
.fcs-final__number,
.fcs-takeaways__number,
.fcs-next__number {

    color: var(--color-purple);

    font-family: var(--font-mono);

    font-size: 13px;

    font-weight: 600;

}

.fcs-overview__line {

    display: block;

    width: 30px;

    height: 1px;

    background: var(--color-purple);

}

.fcs-overview__label,
.fcs-challenge__label,
.fcs-wireframes__label,
.fcs-visual__label,
.fcs-development__label,
.fcs-responsive__label,
.fcs-final__label,
.fcs-takeaways__label {

    color: var(--color-purple-light);

    font-family: var(--font-mono);

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 0.1em;

}

.fcs-overview__title {

    margin: 0 0 16px;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: clamp(28px, 2.7vw, 38px);

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -0.03em;

}

.fcs-overview__description {

    max-width: 550px;

    margin: 0;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 16px;

    line-height: 1.75;

}

/* RIGHT COLUMN */

.fcs-overview__details {

    min-width: 0;

    padding: 12px 24px;

    border: 1px solid var(--color-border);

    border-radius: 8px;

    background: var(--color-surface-2);

}

.fcs-overview__list {

    margin: 0;

}

.fcs-overview__item {

    display: grid;

    grid-template-columns: minmax(110px, 0.85fr) minmax(0, 1.15fr);

    gap: 20px;

    align-items: start;

    padding: 13px 0;

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

}

.fcs-overview__item:last-child {

    border-bottom: 0;

}

.fcs-overview__item dt,

.fcs-overview__item dd {

    margin: 0;

    font-family: var(--font-body);

    font-size: 13px;

    line-height: 1.5;

}

.fcs-overview__item dt {

    color: var(--color-text-primary);

    font-weight: 500;

}

.fcs-overview__item dd {

    min-width: 0;

    overflow-wrap: anywhere;

    color: var(--color-text-secondary);

}

.fcs-overview__item a {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--color-purple-light);

    text-decoration: none;

    transition: color 180ms ease;

}

.fcs-overview__item a:hover {

    color: var(--color-ice-blue);

}

.fcs-overview__item a:focus-visible {

    outline: 2px solid var(--color-ice-blue);

    outline-offset: 4px;

}

/* TABLET */

@media (max-width: 900px) {
    .fcs-overview {

        padding-block: 56px;

    }

    .fcs-overview__container {

        grid-template-columns: 1fr;

        gap: 32px;

    }

}

/* MOBILE */

@media (max-width: 600px) {
    .fcs-overview {

        padding-block: 44px;

    }

    .fcs-overview__container {

        width: min(100% - 32px, 1280px);

        gap: 28px;

    }

    .fcs-overview__title {

        font-size: 29px;

    }

    .fcs-overview__description {

        font-size: 14px;

        line-height: 1.7;

    }

    .fcs-overview__details {

        padding: 8px 16px;

    }

    .fcs-overview__item {

        grid-template-columns: minmax(95px, 0.8fr) minmax(0, 1.2fr);

        gap: 12px;

        padding: 12px 0;

    }

    .fcs-overview__item dt,

    .fcs-overview__item dd {

        font-size: 12px;

    }

    .fcs-overview__heading {

        gap: 9px;

    }

    .fcs-overview__label {

        font-size: 10px;

    }

}

/* =========================================

   03. THE CHALLENGE

   ========================================= */

.fcs-challenge {

    padding-block: 96px;

    background: var(--color-bg);

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

}

.fcs-challenge__container,
.fcs-planning__container,
.fcs-wireframes__container,
.fcs-final__container {

    width: min(100% - 64px, 1280px);

    margin-inline: auto;

}

.fcs-challenge__intro {

    max-width: 780px;

    margin-bottom: 48px;

}

.fcs-challenge__heading,
.fcs-visual__heading,
.fcs-development__heading,
.fcs-responsive__heading {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

}

.fcs-challenge__line {

    width: 30px;

    height: 1px;

    background: var(--color-purple);

}

.fcs-challenge__title {

    margin: 0 0 20px;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: clamp(34px, 3.5vw, 48px);

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -0.035em;

}

.fcs-challenge__description {

    max-width: 740px;

    margin: 0;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 16px;

    line-height: 1.8;

}

.fcs-challenge__grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

}

.fcs-challenge__card {

    min-width: 0;

    padding: 30px;

    background: var(--color-surface-1);

    border: 1px solid var(--color-border);

    border-radius: 10px;

    transition:

        border-color 180ms ease,

        transform 180ms ease;

}

.fcs-challenge__card:hover {

    border-color: rgb(var(--color-purple-rgb) / 0.55);

    transform: translateY(-3px);

}

.fcs-challenge__card-number {

    display: block;

    margin-bottom: 30px;

    color: var(--color-ice-blue);

    font-family: var(--font-mono);

    font-size: 12px;

    font-weight: 500;

    letter-spacing: 0.08em;

}

.fcs-challenge__card h3 {

    margin: 0 0 14px;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: 22px;

    font-weight: 600;

    line-height: 1.3;

}

.fcs-challenge__card p {

    margin: 0;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 14px;

    line-height: 1.75;

}

/* TABLET */

@media (max-width: 900px) {
    .fcs-challenge {

        padding-block: 72px;

    }

    .fcs-challenge__grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

    .fcs-challenge__card:last-child {

        grid-column: 1 / -1;

    }

}

/* MOBILE */

@media (max-width: 600px) {
    .fcs-challenge {

        padding-block: 56px;

    }

    .fcs-challenge__container {

        width: min(100% - 32px, 1280px);

    }

    .fcs-challenge__intro {

        margin-bottom: 32px;

    }

    .fcs-challenge__heading {

        gap: 9px;

        margin-bottom: 16px;

    }

    .fcs-challenge__label {

        font-size: 10px;

    }

    .fcs-challenge__title {

        font-size: 34px;

    }

    .fcs-challenge__description {

        font-size: 14px;

        line-height: 1.75;

    }

    .fcs-challenge__grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .fcs-challenge__card {

        padding: 24px;

    }

    .fcs-challenge__card:last-child {

        grid-column: auto;

    }

    .fcs-challenge__card-number {

        margin-bottom: 22px;

    }

    .fcs-challenge__card h3 {

        font-size: 20px;

    }

    .fcs-challenge__card p {

        font-size: 13px;

    }

}

@media (prefers-reduced-motion: reduce) {
    .fcs-challenge__card {

        transition: none;

    }

    .fcs-challenge__card:hover {

        transform: none;

    }

}

/* =========================================

   04. PLANNING DOCUMENTS

   HF SECTION 03

   ========================================= */

.fcs-planning {

    padding: 72px 0 80px;

    background: var(--color-surface-1);

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

}

.fcs-planning__heading,
.fcs-wireframes__heading,
.fcs-final__heading,
.fcs-takeaways__heading {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

}

.fcs-planning__line,
.fcs-wireframes__line {

    display: block;

    width: 30px;

    height: 1px;

    flex-shrink: 0;

    background: var(--color-purple);

}

.fcs-planning__label {

    color: var(--color-purple-light);

    font-family: var(--font-mono);

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 0.1em;

    line-height: 1.5;

}

.fcs-planning__title,
.fcs-wireframes__title,
.fcs-final__title {

    margin: 0 0 14px;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: clamp(30px, 2.8vw, 40px);

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -0.035em;

}

.fcs-planning__description {

    max-width: 780px;

    margin: 0 0 32px;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 15px;

    line-height: 1.75;

}

/* DOCUMENT GRID */

.fcs-planning__grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

}

/* DOCUMENT CARD */

.fcs-planning__card {

    display: flex;

    align-items: center;

    gap: 18px;

    width: 100%;

    min-width: 0;

    min-height: 150px;

    padding: 22px;

    border: 1px solid var(--color-border);

    border-radius: 8px;

    background: var(--color-surface-2);

    color: var(--color-text-primary);

    text-align: left;

    font: inherit;

    cursor: pointer;

    transition:

        border-color 180ms ease,

        background-color 180ms ease,

        transform 180ms ease;

}

.fcs-planning__card:hover {

    border-color: rgb(var(--color-purple-rgb) / 0.65);

    background: #1D1B27;

    transform: translateY(-3px);

}

.fcs-planning__card:focus-visible {

    outline: 2px solid var(--color-ice-blue);

    outline-offset: 4px;

}

/* DOCUMENT ICON */

.fcs-planning__icon {

    display: grid;

    place-items: center;

    width: 70px;

    height: 70px;

    flex: 0 0 70px;

    border: 1px solid var(--color-border-strong);

    border-radius: 7px;

    background: var(--color-surface-1);

    color: var(--color-purple);

}

.fcs-planning__icon svg {

    display: block;

    width: 40px;

    height: 40px;

}

/* CARD CONTENT */

.fcs-planning__card-copy {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-width: 0;

}

.fcs-planning__card-title {

    display: block;

    margin-bottom: 8px;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: 17px;

    font-weight: 600;

    line-height: 1.3;

}

.fcs-planning__card-description {

    display: block;

    margin-bottom: 12px;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 12px;

    line-height: 1.6;

}

.fcs-planning__card-action {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--color-purple-light);

    font-family: var(--font-body);

    font-size: 12px;

    font-weight: 600;

    line-height: 1.4;

}

.fcs-planning__card-action span {

    font-size: 15px;

    transition: transform 180ms ease;

}

.fcs-planning__card:hover .fcs-planning__card-action span {

    transform: translate(2px, -2px);

}

/* =========================================

   PLANNING RESPONSIVE

   ========================================= */

@media (max-width: 1100px) {
    .fcs-planning__grid {

        gap: 14px;

    }

    .fcs-planning__card {

        padding: 16px;

        gap: 12px;

    }

    .fcs-planning__icon {

        width: 56px;

        height: 56px;

        flex-basis: 56px;

    }

    .fcs-planning__icon svg {

        width: 34px;

        height: 34px;

    }

    .fcs-planning__card-title {

        font-size: 15px;

    }

}

@media (max-width: 900px) {
    .fcs-planning {

        padding: 60px 0 68px;

    }

    .fcs-planning__grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .fcs-planning__card {

        min-height: 112px;

        padding: 18px;

        gap: 18px;

    }

    .fcs-planning__icon {

        width: 64px;

        height: 64px;

        flex-basis: 64px;

    }

}

@media (max-width: 600px) {
    .fcs-planning {

        padding: 48px 0 56px;

    }

    .fcs-planning__container {

        width: min(100% - 32px, 1280px);

    }

    .fcs-planning__heading {

        gap: 9px;

        margin-bottom: 16px;

    }

    .fcs-planning__label {

        font-size: 10px;

    }

    .fcs-planning__title {

        font-size: 29px;

    }

    .fcs-planning__description {

        margin-bottom: 26px;

        font-size: 14px;

        line-height: 1.7;

    }

    .fcs-planning__card {

        min-height: 112px;

        padding: 16px;

        gap: 14px;

    }

    .fcs-planning__icon {

        width: 56px;

        height: 56px;

        flex-basis: 56px;

    }

    .fcs-planning__icon svg {

        width: 34px;

        height: 34px;

    }

    .fcs-planning__card-title {

        margin-bottom: 6px;

        font-size: 15px;

    }

    .fcs-planning__card-description {

        margin-bottom: 8px;

        font-size: 12px;

    }

    .fcs-planning__card-action {

        font-size: 11px;

    }

}

/* =========================================

   PLANNING DOCUMENT MODAL

   ========================================= */

/* Hidden must override all display declarations. */

.fcs-document-modal[hidden] {

    display: none !important;

}

.fcs-document-modal {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 24px;

}

/* BACKDROP */

.fcs-document-modal__backdrop {

    position: absolute;

    inset: 0;

    background: rgb(0 0 0 / 0.84);

    backdrop-filter: blur(8px);

}

/* PANEL */

.fcs-document-modal__panel {

    position: relative;

    z-index: 1;

    display: flex;

    flex-direction: column;

    width: min(100%, 1040px);

    height: min(88dvh, 900px);

    min-height: 0;

    overflow: hidden;

    border: 1px solid var(--color-border-strong);

    border-radius: 12px;

    background: var(--color-surface-1);

    box-shadow: 0 30px 90px rgb(0 0 0 / 0.6);

}

/* HEADER */

.fcs-document-modal__header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    padding: 24px 28px;

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

    background: var(--color-surface-2);

}

.fcs-document-modal__eyebrow {

    display: block;

    margin-bottom: 8px;

    color: var(--color-ice-blue);

    font-family: var(--font-mono);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.1em;

}

.fcs-document-modal__title {

    margin: 0 0 6px;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: 25px;

    font-weight: 600;

    line-height: 1.2;

}

.fcs-document-modal__description {

    margin: 0;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 13px;

    line-height: 1.5;

}

/* CLOSE BUTTON */

.fcs-document-modal__close {

    display: grid;

    place-items: center;

    width: 40px;

    height: 40px;

    flex: 0 0 40px;

    padding: 0;

    border: 1px solid var(--color-border-strong);

    border-radius: 7px;

    background: var(--color-surface-1);

    color: var(--color-text-primary);

    font-family: var(--font-body);

    font-size: 27px;

    line-height: 1;

    cursor: pointer;

    transition:

        background-color 180ms ease,

        border-color 180ms ease;

}

.fcs-document-modal__close:hover {

    background: var(--color-border);

    border-color: var(--color-purple);

}

/* PDF VIEWER */

.fcs-document-modal__viewer {

    flex: 1 1 auto;

    min-height: 0;

    overflow: hidden;

    background: var(--color-bg);

}

.fcs-document-modal__iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;

    background: var(--color-white);

}

/* FOOTER */

.fcs-document-modal__footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 28px;

    border-top: 1px solid var(--color-border);

    background: var(--color-surface-2);

}

.fcs-document-modal__note {

    margin: 0;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 12px;

    line-height: 1.5;

}

.fcs-document-modal__actions {

    display: flex;

    align-items: center;

    gap: 12px;

}

.fcs-document-modal__open,

.fcs-document-modal__download {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 42px;

    padding: 10px 16px;

    border: 1px solid var(--color-border-strong);

    border-radius: 7px;

    font-family: var(--font-body);

    font-size: 12px;

    font-weight: 600;

    line-height: 1.3;

    text-decoration: none;

    transition:

        background-color 180ms ease,

        border-color 180ms ease;

}

.fcs-document-modal__open {

    background: transparent;

    color: var(--color-text-primary);

}

.fcs-document-modal__open:hover {

    border-color: var(--color-purple);

    background: rgb(var(--color-purple-rgb) / 0.08);

    color: var(--color-white);

}

.fcs-document-modal__download {

    border-color: var(--color-purple);

    background: var(--color-purple);

    color: var(--color-white);

}

.fcs-document-modal__download:hover {

    border-color: var(--color-purple-strong);

    background: var(--color-purple-strong);

    color: var(--color-white);

}

/* KEYBOARD FOCUS */

.fcs-document-modal__close:focus-visible,

.fcs-document-modal__open:focus-visible,

.fcs-document-modal__download:focus-visible {

    outline: 2px solid var(--color-ice-blue);

    outline-offset: 3px;

}

/* =========================================

   MODAL RESPONSIVE

   ========================================= */

@media (max-width: 700px) {
    .fcs-document-modal {

        padding: 12px;

    }

    .fcs-document-modal__panel {

        width: 100%;

        height: calc(100dvh - 24px);

        border-radius: 9px;

    }

    .fcs-document-modal__header {

        padding: 18px;

        gap: 12px;

    }

    .fcs-document-modal__title {

        font-size: 21px;

    }

    .fcs-document-modal__description {

        font-size: 12px;

    }

    .fcs-document-modal__footer {

        flex-direction: column;

        align-items: stretch;

        gap: 12px;

        padding: 14px 18px;

    }

    .fcs-document-modal__actions {

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;

    }

    .fcs-document-modal__open,

    .fcs-document-modal__download {

        padding: 10px;

        text-align: center;

    }

}

@media (max-width: 380px) {
    .fcs-document-modal__header {

        padding: 14px;

    }

    .fcs-document-modal__title {

        font-size: 19px;

    }

    .fcs-document-modal__footer {

        padding: 12px;

    }

    .fcs-document-modal__actions {

        grid-template-columns: 1fr;

    }

}

/* =========================================

   REDUCED MOTION

   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .fcs-planning__card,

    .fcs-planning__card-action span,

    .fcs-document-modal__close,

    .fcs-document-modal__open,

    .fcs-document-modal__download {

        transition: none;

    }

    .fcs-planning__card:hover {

        transform: none;

    }

    .fcs-planning__card:hover .fcs-planning__card-action span {

        transform: none;

    }

}

/* =========================================

   05. WIREFRAMES

   HF SECTION 04

   ========================================= */

.fcs-wireframes {

    padding: 80px 0 88px;

    background: var(--color-bg);

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

}

.fcs-wireframes__intro,
.fcs-final__intro {

    margin-bottom: 36px;

}

.fcs-wireframes__description,
.fcs-final__description {

    max-width: 780px;

    margin: 0;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 15px;

    line-height: 1.75;

}

/* WIREFRAME GALLERY */

.fcs-wireframes__grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;

}

.fcs-wireframes__item {

    display: flex;

    flex-direction: column;

    min-width: 0;

    margin: 0;

    overflow: hidden;

    border: 1px solid var(--color-border);

    border-radius: 8px;

    background: var(--color-surface-2);

    transition:

        border-color 180ms ease,

        transform 180ms ease;

}

.fcs-wireframes__item:hover {

    border-color: rgb(var(--color-purple-rgb) / 0.6);

    transform: translateY(-3px);

}

/* IMAGE CONTAINER */

.fcs-wireframes__image-wrap {

    display: flex;

    align-items: flex-start;

    justify-content: center;

    width: 100%;

    aspect-ratio: 4 / 5;

    padding: 12px;

    overflow: hidden;

    background: var(--color-surface-1);

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

}

/* ORIGINAL WIREFRAME IMAGE */

.fcs-wireframes__image {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center top;

}

/* CAPTION */

.fcs-wireframes__caption {

    display: flex;

    align-items: center;

    min-height: 52px;

    padding: 14px 16px;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;

}

/* =========================================

   WIREFRAMES RESPONSIVE

   ========================================= */

@media (max-width: 1100px) {
    .fcs-wireframes__grid {

        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 16px;

    }

}

@media (max-width: 800px) {
    .fcs-wireframes {

        padding: 64px 0 72px;

    }

    .fcs-wireframes__grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

    .fcs-wireframes__image-wrap {

        aspect-ratio: 4 / 5;

    }

}

@media (max-width: 600px) {
    .fcs-wireframes {

        padding: 48px 0 56px;

    }

    .fcs-wireframes__container {

        width: min(100% - 32px, 1280px);

    }

    .fcs-wireframes__heading {

        gap: 9px;

        margin-bottom: 16px;

    }

    .fcs-wireframes__label {

        font-size: 10px;

    }

    .fcs-wireframes__intro {

        margin-bottom: 26px;

    }

    .fcs-wireframes__title {

        font-size: 29px;

    }

    .fcs-wireframes__description {

        font-size: 14px;

        line-height: 1.7;

    }

    .fcs-wireframes__grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 12px;

    }

    .fcs-wireframes__image-wrap {

        padding: 8px;

    }

    .fcs-wireframes__caption {

        min-height: 52px;

        padding: 12px;

        font-size: 12px;

    }

}

@media (max-width: 380px) {
    .fcs-wireframes__grid {

        grid-template-columns: 1fr;

    }

    .fcs-wireframes__image-wrap {

        aspect-ratio: 4 / 5;

    }

}

/* =========================================

   REDUCED MOTION

   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .fcs-wireframes__item {

        transition: none;

    }

    .fcs-wireframes__item:hover {

        transform: none;

    }

}

.fcs-visual,
.fcs-responsive {

    padding: 88px 0;

    background: var(--color-surface-1);

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

}

.fcs-visual__container {

    display: grid;

    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);

    align-items: center;

    gap: clamp(36px, 4vw, 64px);

    width: min(100% - 64px, 1280px);

    margin-inline: auto;

}

.fcs-visual__line,
.fcs-development__line,
.fcs-responsive__line,
.fcs-takeaways__line {

    width: 30px;

    height: 1px;

    flex: 0 0 30px;

    background: var(--color-purple);

}

.fcs-visual__title,
.fcs-development__title,
.fcs-responsive__title {

    margin: 0 0 18px;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: clamp(30px, 2.8vw, 40px);

    font-weight: 700;

    line-height: 1.18;

    letter-spacing: -0.035em;

}

.fcs-visual__description,
.fcs-development__description,
.fcs-responsive__description {

    max-width: 440px;

    margin: 0;

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 15px;

    line-height: 1.75;

}

/* RIGHT COLUMN — THREE CARDS */

.fcs-visual__cards {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;

    min-width: 0;

}

.fcs-visual__card {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    gap: 20px;

    min-width: 0;

    min-height: 158px;

    padding: 20px 16px;

    border: 1px solid var(--color-border);

    border-radius: 8px;

    background: var(--color-surface-2);

}

.fcs-visual__card-title {

    margin: 0;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: 15px;

    font-weight: 600;

    line-height: 1.35;

}

/* COLOR PALETTE */

.fcs-visual__swatches {

    display: flex;

    align-items: stretch;

    gap: 5px;

    width: 100%;

    height: 46px;

}

.fcs-visual__swatch {

    display: block;

    flex: 1 1 0;

    min-width: 0;

    border: 1px solid rgb(255 255 255 / 0.12);

    border-radius: 4px;

    background-color: var(--swatch-color);

}

/* TYPOGRAPHY */

.fcs-visual__type-sample {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

}

.fcs-visual__type-letters {

    flex-shrink: 0;

    color: var(--color-text-primary);

    font-family: var(--font-heading);

    font-size: 38px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.06em;

}

.fcs-visual__font-list {

    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;

}

.fcs-visual__font-list span {

    color: var(--color-text-secondary);

    font-family: var(--font-body);

    font-size: 10px;

    line-height: 1.3;

    overflow-wrap: anywhere;

}

/* UI ELEMENTS */

.fcs-visual__ui-elements {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

}

.fcs-visual__button-sample {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 36px;

    padding: 0 11px;

    border-radius: 5px;

    background: var(--color-purple);

    color: var(--color-white);

    font-family: var(--font-body);

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

}

.fcs-visual__icon-sample {

    display: grid;

    place-items: center;

    width: 36px;

    height: 36px;

    flex: 0 0 36px;

    border: 1px solid var(--color-border-strong);

    border-radius: 5px;

    background: var(--color-surface-1);

    color: var(--color-purple-light);

}

.fcs-visual__icon-sample svg {

    display: block;

    width: 19px;

    height: 19px;

}

/* =========================================

   VISUAL DIRECTION — RESPONSIVE

   ========================================= */

@media (max-width: 1200px) {
    .fcs-visual__container {

        grid-template-columns: 1fr;

        gap: 32px;

    }

    .fcs-visual__description {

        max-width: 720px;

    }

    .fcs-visual__cards {

        max-width: 900px;

    }

}

@media (max-width: 800px) {
    .fcs-visual {

        padding: 64px 0 72px;

    }

    .fcs-visual__cards {

        gap: 12px;

    }

    .fcs-visual__card {

        min-height: 150px;

        padding: 18px 14px;

    }

}

@media (max-width: 600px) {
    .fcs-visual {

        padding: 48px 0 56px;

    }

    .fcs-visual__container {

        width: min(100% - 32px, 1280px);

        gap: 26px;

    }

    .fcs-visual__heading {

        gap: 9px;

        margin-bottom: 16px;

    }

    .fcs-visual__label {

        font-size: 10px;

    }

    .fcs-visual__title {

        font-size: 29px;

    }

    .fcs-visual__description {

        font-size: 14px;

        line-height: 1.7;

    }

    .fcs-visual__cards {

        grid-template-columns: 1fr;

        gap: 12px;

    }

    .fcs-visual__card {

        min-height: 128px;

        padding: 18px;

    }

    .fcs-visual__card-title {

        font-size: 15px;

    }

    .fcs-visual__swatches {

        height: 42px;

    }

    .fcs-visual__type-letters {

        font-size: 42px;

    }

    .fcs-visual__font-list span {

        font-size: 11px;

    }

}

/* =========================================
   07. DEVELOPMENT
   HF SECTION 06
   ========================================= */

.fcs-development {
    padding: 88px 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.fcs-development__container {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.65fr);
    align-items: center;
    gap: 48px;
    width: min(100% - 64px, 1280px);
    margin-inline: auto;
}

/* RIGHT COLUMN — TWO CARDS */

.fcs-development__visuals {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    align-items: stretch;
    gap: 14px;
    min-width: 0;
}

.fcs-development__code,
.fcs-development__preview {
    height: 270px;
    min-height: 0;
}

/* CODE CARD */

.fcs-development__code {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-1);
}

.fcs-development__code-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 38px;
    padding-inline: 14px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface-2);
}

.fcs-development__code-tab {
    display: inline-flex;
    align-items: center;
    height: 38px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.fcs-development__code-tab.is-active {
    color: var(--color-purple-light);
    border-bottom: 2px solid var(--color-purple);
}

.fcs-development__code-content {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    padding: 14px 12px;
    overflow: auto;
    color: var(--color-text-soft);
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.55;
    tab-size: 2;
}

.fcs-development__code-content code {
    font-family: inherit;
    font-size: inherit;
}

.fcs-development__code-line {
    display: block;
    white-space: pre;
    line-height: inherit;
}

.fcs-development__code-number {
    display: inline-block;
    width: 20px;
    margin-right: 8px;
    color: var(--color-text-muted);
    user-select: none;
}

.fcs-development__code-tag {
    color: var(--color-ice-blue);
}

.fcs-development__code-attribute {
    color: var(--color-purple-light);
}

.fcs-development__code-string {
    color: #A5B4FC;
}

/* WEBSITE PREVIEW CARD */

.fcs-development__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-1);
}

.fcs-development__preview img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

/* DEVELOPMENT RESPONSIVE */

@media (max-width: 1200px) {
    .fcs-development__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .fcs-development__description {
        max-width: 720px;
    }
}

@media (max-width: 800px) {
    .fcs-development {
        padding: 64px 0 72px;
    }

    .fcs-development__visuals {
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .fcs-development {
        padding: 48px 0 56px;
    }

    .fcs-development__container {
        width: min(100% - 32px, 1280px);
        gap: 26px;
    }

    .fcs-development__heading {
        gap: 9px;
        margin-bottom: 16px;
    }

    .fcs-development__label {
        font-size: 10px;
    }

    .fcs-development__title {
        font-size: 29px;
    }

    .fcs-development__description {
        font-size: 14px;
        line-height: 1.7;
    }

    .fcs-development__visuals {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fcs-development__code {
        height: auto;
        min-height: 210px;
    }

    .fcs-development__preview {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .fcs-development__code-content {
        line-height: 1.65;
    }
}

@media (max-width: 380px) {
    .fcs-development__code-tabs {
        gap: 10px;
        padding-inline: 10px;
    }

    .fcs-development__code-tab {
        font-size: 9px;
    }

    .fcs-development__code-content {
        padding: 16px 10px;
    }
}

.fcs-responsive__container {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr);
    align-items: center;
    gap: clamp(36px, 4vw, 64px);

    width: min(100% - 64px, 1280px);
    margin-inline: auto;
}

/* DEVICE GALLERY */

.fcs-responsive__gallery {
    display: grid;
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(0, 1fr)
        minmax(0, 0.72fr);
    align-items: end;
    gap: 14px;
    min-width: 0;
}

.fcs-responsive__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
    margin: 0;
}

/* DEVICE FRAMES */

.fcs-responsive__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    padding: 5px;

    overflow: hidden;
    border: 1px solid var(--color-border-strong);
    border-radius: 7px;
    background: var(--color-surface-2);
}

.fcs-responsive__item:nth-child(1) .fcs-responsive__image-wrap {
    aspect-ratio: 16 / 9;
}

.fcs-responsive__item:nth-child(2) .fcs-responsive__image-wrap {
    aspect-ratio: 3 / 4;
}

.fcs-responsive__item:nth-child(3) .fcs-responsive__image-wrap {
    aspect-ratio: 9 / 16;
    border-radius: 12px;
}

/* SCREENSHOTS */

.fcs-responsive__image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* DEVICE LABELS */

.fcs-responsive__caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.fcs-responsive__caption span {
    color: var(--color-text-secondary);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
}

/* =========================================
   RESPONSIVE DESIGN — BREAKPOINTS
   ========================================= */

@media (max-width: 1200px) {
    .fcs-responsive__container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .fcs-responsive__description {
        max-width: 720px;
    }

    .fcs-responsive__gallery {
        width: 100%;
        max-width: 900px;
    }
}

@media (max-width: 800px) {
    .fcs-responsive {
        padding: 64px 0 72px;
    }

    .fcs-responsive__gallery {
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .fcs-responsive {
        padding: 48px 0 56px;
    }

    .fcs-responsive__container {
        width: min(100% - 32px, 1280px);
        gap: 28px;
    }

    .fcs-responsive__heading {
        gap: 9px;
        margin-bottom: 16px;
    }

    .fcs-responsive__label {
        font-size: 10px;
    }

    .fcs-responsive__title {
        font-size: 29px;
    }

    .fcs-responsive__description {
        font-size: 14px;
        line-height: 1.7;
    }

    .fcs-responsive__gallery {
        grid-template-columns:
            minmax(0, 1.3fr)
            minmax(0, 1fr);
        align-items: end;
        gap: 20px 14px;
    }

    .fcs-responsive__item:first-child {
        grid-column: 1 / -1;
        width: min(100%, 380px);
        justify-self: center;
    }

    .fcs-responsive__item:nth-child(2),
    .fcs-responsive__item:nth-child(3) {
        width: 100%;
        max-width: 200px;
        justify-self: center;
    }

    .fcs-responsive__caption {
        font-size: 12px;
    }

    .fcs-responsive__caption span {
        font-size: 9px;
    }
}

@media (max-width: 380px) {
    .fcs-responsive__gallery {
        gap: 16px 10px;
    }

    .fcs-responsive__image-wrap {
        padding: 3px;
    }

    .fcs-responsive__caption {
        font-size: 11px;
    }
}

/* =========================================
   09. FINAL RESULT
   HF SECTION 08
   ========================================= */

.fcs-final {
    padding: 88px 0 96px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.fcs-final__line {
    display: block;
    width: 30px;
    height: 1px;
    flex: 0 0 30px;
    background: var(--color-purple);
}

/* GALLERY */

.fcs-final__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.fcs-final__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    grid-column: span 2;
}

/* Center the last two cards */

.fcs-final__item:nth-child(4) {
    grid-column: 2 / span 2;
}

.fcs-final__item:nth-child(5) {
    grid-column: 4 / span 2;
}

/* CARD LINK */

.fcs-final__link {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-2);

    color: var(--color-text-primary);
    text-decoration: none;

    transition:
        border-color 180ms ease,
        transform 180ms ease;
}

.fcs-final__link:hover {
    border-color: rgb(var(--color-purple-rgb) / 0.7);
    transform: translateY(-3px);
}

.fcs-final__link:focus-visible {
    outline: 2px solid var(--color-ice-blue);
    outline-offset: 4px;
}

/* IMAGE CONTAINER */

.fcs-final__image-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 8px;

    overflow: hidden;
    background: var(--color-surface-1);
}

.fcs-final__image {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition: transform 240ms ease;
}

.fcs-final__link:hover .fcs-final__image {
    transform: scale(1.035);
}

/* HOVER LABEL */

.fcs-final__visit {
    position: absolute;
    right: 16px;
    bottom: 16px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 9px 12px;

    border: 1px solid rgb(var(--color-purple-light-rgb) / 0.3);
    border-radius: 6px;
    background: rgb(var(--color-bg-rgb) / 0.9);

    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;

    opacity: 0;
    transform: translateY(6px);

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.fcs-final__link:hover .fcs-final__visit,
.fcs-final__link:focus-visible .fcs-final__visit {
    opacity: 1;
    transform: translateY(0);
}

/* PAGE CAPTION */

.fcs-final__caption {
    padding: 14px 4px 0;

    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* =========================================
   FINAL RESULT — RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
    .fcs-final {
        padding: 64px 0 72px;
    }

    .fcs-final__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }

    .fcs-final__item,
    .fcs-final__item:nth-child(4),
    .fcs-final__item:nth-child(5) {
        grid-column: auto;
    }

    .fcs-final__item:last-child {
        grid-column: 1 / -1;
        width: min(100%, 420px);
        justify-self: center;
    }
}

@media (max-width: 600px) {
    .fcs-final {
        padding: 48px 0 56px;
    }

    .fcs-final__container {
        width: min(100% - 32px, 1280px);
    }

    .fcs-final__heading {
        gap: 9px;
        margin-bottom: 16px;
    }

    .fcs-final__label {
        font-size: 10px;
    }

    .fcs-final__intro {
        margin-bottom: 26px;
    }

    .fcs-final__title {
        font-size: 29px;
    }

    .fcs-final__description {
        font-size: 14px;
        line-height: 1.7;
    }

    .fcs-final__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fcs-final__item,
    .fcs-final__item:last-child {
        grid-column: auto;
        width: 100%;
    }

    .fcs-final__image-wrap {
        aspect-ratio: 16 / 10;
    }

    .fcs-final__visit {
        right: 12px;
        bottom: 12px;
        opacity: 1;
        transform: none;
    }

    .fcs-final__caption {
        padding-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fcs-final__link,
    .fcs-final__image,
    .fcs-final__visit {
        transition: none;
    }

    .fcs-final__link:hover,
    .fcs-final__link:hover .fcs-final__image {
        transform: none;
    }
}

/* =========================================
   10. KEY TAKEAWAYS
   HF SECTION 09
   ========================================= */

.fcs-takeaways {
    padding: 64px 0;
    background: var(--color-surface-1);
    border-bottom: 1px solid var(--color-border);
}

.fcs-takeaways__container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    align-items: center;
    gap: 40px;
    width: min(100% - 64px, 1280px);
    margin-inline: auto;
}

.fcs-takeaways__title {
    margin: 0 0 12px;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.fcs-takeaways__description {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.65;
}

.fcs-takeaways__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.fcs-takeaways__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 16px 12px;
    border: 1px solid var(--color-border);
    border-radius: 7px;
    background: var(--color-surface-2);
}

.fcs-takeaways__icon {
    color: var(--color-purple);
    font-family: var(--font-heading);
    font-size: 23px;
    line-height: 1;
}

.fcs-takeaways__card h3 {
    margin: 0 0 7px;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.fcs-takeaways__card p {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.55;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .fcs-takeaways__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 700px) {
    .fcs-takeaways {
        padding: 48px 0 56px;
    }

    .fcs-takeaways__container {
        width: min(100% - 32px, 1280px);
    }

    .fcs-takeaways__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fcs-takeaways__title {
        font-size: 29px;
    }
}

@media (max-width: 380px) {
    .fcs-takeaways__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   11. NEXT PROJECT
   HF SECTION 10
   ========================================= */

.fcs-next {
    padding: 32px 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.fcs-next__container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    width: min(100% - 64px, 1280px);
    margin-inline: auto;
}

/* SECTION LABEL */

.fcs-next__heading {
    display: flex;
    align-items: center;
    align-self: start;
    gap: 10px;
    padding-top: 6px;
    white-space: nowrap;
}

.fcs-next__line {
    width: 22px;
    height: 1px;
    background: var(--color-purple);
}

.fcs-next__label {
    color: var(--color-purple-light);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.fcs-next__title {
    margin: 0 0 8px;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.fcs-next__description {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
}

/* ACTIONS */

.fcs-next__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.fcs-next__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 6px;

    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.fcs-next__button--primary:hover {
    background: var(--color-purple-strong);
    transform: translateY(-2px);
}

.fcs-next__button--secondary {
    border-color: var(--color-text-subtle);
    background: transparent;
    color: var(--color-text-primary);
}

.fcs-next__button--secondary:hover {
    border-color: var(--color-purple);
    background: var(--color-surface-2);
    transform: translateY(-2px);
}

.fcs-next__button:focus-visible {
    outline: 2px solid var(--color-ice-blue);
    outline-offset: 4px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .fcs-next__container {
        grid-template-columns: 1fr auto;
        gap: 16px 24px;
    }

    .fcs-next__heading {
        grid-column: 1 / -1;
        padding-top: 0;
    }
}

@media (max-width: 760px) {
    .fcs-next {
        padding: 40px 0;
    }

    .fcs-next__container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fcs-next__heading {
        grid-column: auto;
    }

    .fcs-next__actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .fcs-next__container {
        width: min(100% - 32px, 1280px);
    }

    .fcs-next__title {
        font-size: 24px;
    }

    .fcs-next__description {
        font-size: 14px;
    }

    .fcs-next__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fcs-next__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fcs-next__button {
        transition: none;
    }

    .fcs-next__button:hover {
        transform: none;
    }
}
