.atf-project {
    --project-text: #f5f4f3;
    --project-muted: #c3bfc0;
    --project-line: #ffffff24;
    --project-accent: #f04461;
    background: #0c0c0c;
    color: var(--project-text);
    font-family: Roboto, Arial, sans-serif;
}

.atf-project__inner {
    width: min(1280px, calc(100% - 64px));
    margin-inline: auto;
}

.atf-project__hero {
    padding-block: clamp(46px, 7vw, 98px);
    background: radial-gradient(ellipse at 85% 45%, #47152072, transparent 61%), #101010;
    border-bottom: 1px solid var(--project-line);
}

.atf-project__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
    align-items: center;
    gap: clamp(26px, 5vw, 74px);
}

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

.atf-project a.atf-project__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--project-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.atf-project a.atf-project__back:hover { color: #fff; }

.atf-project h1, .atf-project h2 {
    margin: 0;
    color: var(--project-text);
    font-family: "Russo One", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -.035em;
}

.atf-project h1 {
    font-size: clamp(43px, 6vw, 90px);
    font-style: italic;
    line-height: 1.01;
    overflow-wrap: anywhere;
}

.atf-project h1 span {
    display: block;
    color: #bdb7b9;
    font-size: .66em;
    letter-spacing: -.025em;
    margin-top: 8px;
}

.atf-project p.atf-project__stage {
    margin: 26px 0 0;
    color: #ff8fa2;
    font: 700 12px/1.5 Roboto, Arial, sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.atf-project p.atf-project__intro {
    margin: 12px 0 26px;
    color: var(--project-muted);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.65;
    max-width: 36ch;
}

.atf-project a.atf-project__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 49px;
    padding: 13px 19px;
    border: 1px solid #f04461;
    border-radius: 8px;
    background: #c51c36;
    color: #fff;
    font: 700 14px/1.35 Roboto, Arial, sans-serif;
    text-decoration: none;
    transition: background .2s;
}

.atf-project a.atf-project__button:hover { background: #dc2442; }
.atf-project a:focus-visible { outline: 2px solid #ff93a5; outline-offset: 4px; }

.atf-project__photo {
    margin: 0;
    overflow: hidden;
    border: 1px solid #d451654d;
    border-radius: 15px;
    background: #21191d;
    box-shadow: 0 22px 65px #0005;
}

.atf-project__photo img {
    display: block;
    width: 100%;
    height: auto;
}

.atf-project__results { padding-block: clamp(44px, 6vw, 88px); }

.atf-project__results-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 25px;
}

.atf-project h2 { font-size: clamp(29px, 4vw, 52px); line-height: 1.15; }
.atf-project__date { color: var(--project-muted); font-size: 14px; }
.atf-project__hero-copy > .atf-project__date {
    display: block;
    margin: 24px 0 21px;
}

.atf-project__story {
    padding-block: clamp(44px, 6vw, 88px);
    color: var(--project-muted);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.atf-project__story a { color: #ff96a8; }
.atf-project__story img { max-width: 100%; height: auto; }

.atf-project__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.atf-project__metric {
    padding: clamp(19px, 3vw, 34px);
    border: 1px solid var(--project-line);
    border-radius: 13px;
    background: linear-gradient(145deg, #211b1d, #141414 70%);
    box-shadow: inset 0 1px #ffffff0c;
}

.atf-project__metric-heading, .atf-project__reading-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.atf-project h3 {
    margin: 0;
    color: var(--project-text);
    font: 700 clamp(19px, 2vw, 26px)/1.25 Roboto, Arial, sans-serif;
}

.atf-project__gain {
    flex: none;
    border: 1px solid #fb54765c;
    border-radius: 6px;
    background: #c51c3622;
    padding: 6px 9px;
    color: #ff96a8;
    font-size: 14px;
    font-weight: 700;
}

.atf-project__reading { margin-top: 22px; }
.atf-project__reading-line > span { color: var(--project-muted); font-size: 15px; }
.atf-project__reading-line strong { color: var(--project-text); font: 400 clamp(24px, 3vw, 38px)/1.2 "Russo One", Arial, sans-serif; }
.atf-project__reading-line small { font: 600 .52em/1 Roboto, Arial, sans-serif; }
.atf-project__reading--stage .atf-project__reading-line > span { color: #ff93a5; }
.atf-project__track { height: 7px; margin-top: 9px; overflow: hidden; border-radius: 7px; background: #ffffff15; }
.atf-project__track > span { display: block; height: 100%; border-radius: inherit; background: #969092; }
.atf-project__reading--stage .atf-project__track > span { background: linear-gradient(90deg, #a91b35, var(--project-accent)); }

@media (max-width: 760px) {
    .atf-project__inner { width: calc(100% - 32px); }
    .atf-project__hero-grid, .atf-project__metrics { grid-template-columns: minmax(0, 1fr); }
    .atf-project__hero-grid { gap: 30px; }
    .atf-project__metrics { gap: 12px; }
    .atf-project h1 { font-size: clamp(38px, 10.6vw, 67px); }
    .atf-project a.atf-project__back { margin-bottom: 20px; }
    .atf-project p.atf-project__stage { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .atf-project a.atf-project__button { transition: none; }
}
