/* ============================================================
   DEARDEN2007 — RESUME ASSISTANCE
   Original lessons, training studio, and live resume builder
   ============================================================ */

:root {
    --resume-black: #020305;
    --resume-panel: #0b121f;
    --resume-panel-2: #111b2b;
    --resume-red: #ff3547;
    --resume-red-dark: #98101d;
    --resume-blue: #3478ff;
    --resume-blue-dark: #173e9d;
    --resume-blue-light: #83b2ff;
    --resume-white: #ffffff;
    --resume-muted: #b7c9e3;
    --resume-line: #29496f;
}

* {
    box-sizing: border-box;
}

.resume-page {
    margin: 0;
    color: var(--resume-white);
    background:
        radial-gradient(circle at 4% 14%, rgba(52, 120, 255, .15), transparent 30rem),
        radial-gradient(circle at 96% 12%, rgba(255, 53, 71, .13), transparent 30rem),
        var(--resume-black);
}

.resume-page main {
    overflow: hidden;
}

.resume-hero,
.resume-manifesto,
.resume-section,
.resume-studio,
.resume-cta {
    width: min(1520px, calc(100% - 48px));
    margin-inline: auto;
}

.resume-hero {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 70px;
    align-items: center;
    min-height: 720px;
    padding: 92px 5%;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(
        90deg,
        var(--resume-blue),
        #fff,
        var(--resume-red)
    ) 1;
}

.resume-back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--resume-blue-light);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-decoration: none;
}

.resume-eyebrow,
.resume-heading > span,
.resume-manifesto span,
.resume-cta span {
    color: var(--resume-red);
    font-size: .8rem;
    font-weight: 1000;
    letter-spacing: .18em;
}

.resume-hero h1 {
    margin: 17px 0 28px;
    font-size: clamp(4rem, 8vw, 8.5rem);
    line-height: .88;
    letter-spacing: -.055em;
}

.resume-hero h1 strong {
    display: block;
    color: var(--resume-blue-light);
}

.resume-hero__lead {
    max-width: 850px;
    color: var(--resume-muted);
    font-size: 1.28rem;
    line-height: 1.7;
}

.resume-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.resume-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 14px 25px;
    border-radius: 10px;
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
}

.resume-button--red {
    background: linear-gradient(135deg, var(--resume-red), var(--resume-red-dark));
}

.resume-button--blue {
    background: linear-gradient(135deg, var(--resume-blue), var(--resume-blue-dark));
}

.resume-hero__mark {
    display: grid;
    place-content: center;
    justify-items: center;
    aspect-ratio: 1;
    border: 1px solid #36577e;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(52, 120, 255, .18), transparent 64%);
    box-shadow: 0 0 90px rgba(255, 53, 71, .13);
}

.resume-paper {
    width: 185px;
    padding: 28px;
    border: 7px solid #fff;
    border-radius: 8px;
    background: linear-gradient(145deg, #ffffff, #cbdcff);
    box-shadow: 19px 19px 0 rgba(255, 53, 71, .62);
}

.resume-paper span {
    display: block;
    height: 10px;
    margin-bottom: 15px;
    background: #172947;
}

.resume-paper span:first-child {
    width: 58%;
    height: 18px;
    background: var(--resume-blue);
}

.resume-hero__mark > strong {
    max-width: 300px;
    margin-top: 45px;
    text-align: center;
    letter-spacing: .2em;
}

/* MANIFESTO */

.resume-manifesto {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 55px;
    align-items: center;
    margin-top: 65px;
    padding: 65px;
    border: 1px solid #6f202b;
    border-left: 9px solid var(--resume-red);
    border-radius: 27px;
    background:
        linear-gradient(120deg, rgba(79, 8, 18, .9), rgba(8, 13, 21, .98));
}

.resume-manifesto__stamp {
    display: grid;
    place-items: center;
    width: 210px;
    height: 210px;
    border: 5px solid var(--resume-blue);
    border-radius: 50%;
    color: #fff;
    font-size: 4rem;
    font-weight: 1000;
    box-shadow: inset 0 0 35px rgba(52, 120, 255, .28);
}

.resume-manifesto__stamp img {
    width: 88%;
    height: 88%;
    border-radius: 50%;
    object-fit: cover;
}

.resume-manifesto h2 {
    margin: 15px 0 18px;
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    line-height: .97;
}

.resume-manifesto h2 strong {
    display: block;
    color: var(--resume-blue-light);
}

.resume-manifesto p {
    max-width: 1100px;
    color: #d3deee;
    font-size: 1.1rem;
    line-height: 1.75;
}

/* SECTIONS */

.resume-section,
.resume-studio {
    padding: 110px 0;
}

.resume-section--dark {
    width: 100%;
    padding-inline: max(24px, calc((100% - 1520px) / 2));
    background:
        linear-gradient(180deg, rgba(10, 16, 27, .75), rgba(2, 3, 5, .3));
}

.resume-heading {
    max-width: 1050px;
    margin-bottom: 48px;
}

.resume-heading {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
    align-items: end;
    max-width: 1200px;
    margin-bottom: 48px;
}

.resume-heading > span {
    align-self: start;
    padding-top: 10px;
    color: var(--resume-red);
    font-size: .78rem;
    font-weight: 1000;
    line-height: 1.45;
    letter-spacing: .18em;
}

.resume-heading h2 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.6rem, 4.8vw, 5rem);
    line-height: .96;
    letter-spacing: -.035em;
}

.resume-heading p {
    grid-column: 2;
    max-width: 780px;
    margin: 14px 0 0;
    color: var(--resume-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.resume-heading p {
    max-width: 900px;
    color: var(--resume-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* VIDEO STUDIO */

.resume-featured-video {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    min-height: 570px;
    overflow: hidden;
    border: 1px solid #31577f;
    border-radius: 28px;
    background: #060a11;
    box-shadow: 0 35px 80px rgba(0, 0, 0, .45);
}

.resume-featured-video__screen {
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 35px;
    color: #fff;
    background:
        radial-gradient(circle, rgba(52, 120, 255, .22), transparent 45%),
        linear-gradient(145deg, #07101d, #111a2a);
    text-align: center;
    text-decoration: none;
}

.resume-featured-video__screen > span {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    margin-bottom: 25px;
    border: 5px solid var(--resume-red);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--resume-red), var(--resume-blue));
    font-size: 3.2rem;
}

.resume-featured-video__screen strong {
    font-size: 1.5rem;
    letter-spacing: .13em;
}

.resume-featured-video__screen small {
    margin-top: 13px;
    color: var(--resume-muted);
}

.resume-featured-video__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    border-left: 7px solid var(--resume-red);
    background:
        linear-gradient(150deg, rgba(80, 8, 18, .9), rgba(8, 13, 21, .98));
}

.resume-featured-video__copy > span,
.resume-video-card section > span {
    color: var(--resume-blue-light);
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .15em;
}

.resume-featured-video__copy h3 {
    margin: 17px 0;
    font-size: clamp(2.3rem, 4vw, 4.3rem);
    line-height: 1;
}

.resume-featured-video__copy p {
    color: var(--resume-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.resume-featured-video__copy a {
    align-self: flex-start;
    margin-top: 22px;
    padding: 15px 20px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, var(--resume-blue), var(--resume-blue-dark));
    font-weight: 1000;
    text-decoration: none;
}

.resume-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px;
    margin-top: 24px;
}

.resume-video-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid var(--resume-line);
    border-radius: 19px;
    color: #fff;
    background: #0b121f;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.resume-video-card:hover {
    transform: translateY(-6px);
    border-color: var(--resume-blue-light);
}

.resume-video-card > div {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle, rgba(255, 53, 71, .2), transparent 48%),
        #080c14;
}

.resume-video-card > div span {
    font-size: 3rem;
}

.resume-video-card section {
    display: flex;
    flex-direction: column;
    padding: 27px;
}

.resume-video-card h3 {
    margin: 13px 0 9px;
    font-size: 1.45rem;
}

.resume-video-card p {
    color: var(--resume-muted);
    line-height: 1.6;
}

.resume-video-card strong {
    margin-top: auto;
    color: var(--resume-red);
    font-size: .76rem;
    letter-spacing: .09em;
}

/* TRACKS */

.resume-track-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.resume-track {
    min-height: 430px;
    padding: 32px;
    border: 1px solid var(--resume-line);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(17, 27, 43, .98), rgba(6, 9, 15, .98));
}

.resume-track--red {
    border-top: 6px solid var(--resume-red);
}

.resume-track--blue {
    border-top: 6px solid var(--resume-blue);
}

.resume-track--split {
    border-top: 6px solid transparent;
    background:
        linear-gradient(#0d1522, #0d1522) padding-box,
        linear-gradient(90deg, var(--resume-red), var(--resume-blue)) border-box;
}

.resume-track > span {
    color: var(--resume-red);
    font-size: .75rem;
    font-weight: 1000;
    letter-spacing: .15em;
}

.resume-track h3 {
    margin: 42px 0 13px;
    font-size: 1.7rem;
}

.resume-track > p {
    color: var(--resume-muted);
    line-height: 1.68;
}

.resume-track__example {
    margin-top: 27px;
    padding: 20px;
    border-left: 5px solid var(--resume-blue);
    background: rgba(0, 0, 0, .27);
}

.resume-track__example b {
    color: var(--resume-blue-light);
}

.resume-track__example p {
    margin: 5px 0 13px;
    color: #dde6f3;
    line-height: 1.55;
}

/* BUILDER */

.resume-studio {
    border-top: 1px solid #263e5d;
}

.resume-studio__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.resume-builder {
    display: grid;
    gap: 20px;
}

.resume-builder__section {
    padding: 29px;
    border: 1px solid var(--resume-line);
    border-left: 6px solid var(--resume-red);
    border-radius: 18px;
    background: #0b121f;
}

.resume-builder__section:nth-child(even) {
    border-left-color: var(--resume-blue);
}

.resume-builder__section > span {
    color: var(--resume-blue-light);
    font-size: .75rem;
    font-weight: 1000;
    letter-spacing: .13em;
}

.resume-builder__section h3 {
    margin: 10px 0 20px;
    font-size: 1.5rem;
}

.resume-builder label {
    display: grid;
    gap: 8px;
    margin-bottom: 17px;
    color: #dce7f6;
    font-weight: 800;
}

.resume-builder input,
.resume-builder textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #3c5679;
    border-radius: 8px;
    color: #fff;
    background: #050910;
    font: inherit;
}

.resume-builder textarea {
    min-height: 120px;
    resize: vertical;
}

.resume-builder__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.resume-builder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.resume-builder__actions button {
    min-height: 48px;
    padding: 11px 17px;
    border: 1px solid #496488;
    border-radius: 8px;
    color: #fff;
    background: #0d1726;
    font-weight: 1000;
    cursor: pointer;
}

.resume-builder__actions .resume-builder__print {
    border-color: var(--resume-red);
    background: linear-gradient(135deg, var(--resume-red), var(--resume-red-dark));
}

.resume-preview {
    position: sticky;
    top: 20px;
    min-height: 900px;
    padding: 50px;
    color: #162036;
    background: #fff;
    box-shadow: 0 30px 75px rgba(0, 0, 0, .42);
}

.resume-preview header {
    padding-bottom: 23px;
    border-bottom: 5px solid var(--resume-blue);
}

.resume-preview h2 {
    margin: 0;
    color: #081329;
    font-size: 2.7rem;
}

.resume-preview header > p {
    margin: 7px 0 15px;
    color: #b51c2a;
    font-size: 1.15rem;
    font-weight: 900;
}

.resume-preview header div {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #46536a;
}

.resume-preview article {
    padding-top: 27px;
}

.resume-preview article h3 {
    padding-bottom: 7px;
    border-bottom: 2px solid #cbd6e6;
    color: #173e9d;
    letter-spacing: .08em;
}

.resume-preview h4 {
    margin: 13px 0 4px;
    font-size: 1.15rem;
}

.resume-preview small {
    color: #647086;
}

.resume-preview p,
.resume-preview li {
    line-height: 1.65;
}

.preview-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.preview-skills span {
    padding: 7px 10px;
    border-radius: 5px;
    color: #fff;
    background: #173e9d;
    font-size: .83rem;
}

/* FORMULA */

.formula-banner {
    display: grid;
    grid-template-columns: repeat(7, auto);
    gap: 15px;
    align-items: center;
    justify-content: center;
    padding: 36px;
    border: 1px solid #31577f;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(52, 120, 255, .18), rgba(255, 53, 71, .18));
    font-size: 1.15rem;
    font-weight: 1000;
    text-align: center;
}

.formula-banner span {
    padding: 13px;
    border-radius: 8px;
    background: #0d1725;
}

.formula-banner strong {
    color: var(--resume-blue-light);
}

.rewrite-grid,
.resume-tip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.rewrite-grid article,
.resume-tip-grid article {
    min-height: 280px;
    padding: 29px;
    border: 1px solid var(--resume-line);
    border-top: 5px solid var(--resume-red);
    border-radius: 18px;
    background: #0b121f;
}

.rewrite-grid article:nth-child(even),
.resume-tip-grid article:nth-child(even) {
    border-top-color: var(--resume-blue);
}

.rewrite-grid span,
.resume-tip-grid span {
    color: var(--resume-red);
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .13em;
}

.rewrite-grid strong {
    display: block;
    margin-top: 28px;
    color: var(--resume-blue-light);
}

.rewrite-grid p,
.resume-tip-grid p {
    color: var(--resume-muted);
    line-height: 1.65;
}

.resume-tip-grid h3 {
    margin: 28px 0 12px;
    font-size: 1.65rem;
}

/* CTA */

.resume-cta {
    display: grid;
    grid-template-columns: 155px 1fr auto;
    gap: 34px;
    align-items: center;
    margin-bottom: 55px;
    padding: 42px;
    border: 1px solid #70202a;
    border-bottom: 8px solid var(--resume-red);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(72, 8, 16, .92), rgba(8, 12, 19, .98));
}

.resume-cta img {
    width: 100%;
    border: 4px solid var(--resume-blue);
    border-radius: 50%;
}

.resume-cta h2 {
    margin: 12px 0;
    font-size: clamp(2rem, 3.6vw, 4rem);
    line-height: .98;
}

.resume-cta h2 strong {
    display: block;
    color: var(--resume-blue-light);
}

.resume-cta p {
    margin: 0;
    color: var(--resume-muted);
    line-height: 1.65;
}

.resume-cta > a {
    padding: 16px 22px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--resume-red), var(--resume-red-dark));
    font-weight: 1000;
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 1080px) {
    .resume-hero,
    .resume-manifesto,
    .resume-featured-video,
    .resume-studio__layout {
        grid-template-columns: 1fr;
    }

    .resume-hero__mark {
        width: min(74vw, 480px);
        justify-self: center;
    }

    .resume-manifesto__stamp {
        width: 160px;
        height: 160px;
    }

    .resume-video-grid,
    .resume-track-grid,
    .rewrite-grid,
    .resume-tip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resume-preview {
        position: static;
    }

    .resume-cta {
        grid-template-columns: 120px 1fr;
    }

    .resume-cta > a {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .resume-hero,
    .resume-manifesto,
    .resume-section,
    .resume-studio,
    .resume-cta {
        width: min(100% - 24px, 1520px);
    }

    .resume-hero {
        min-height: 0;
        padding: 50px 8px;
    }

    .resume-hero h1 {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .resume-manifesto,
    .resume-cta {
        padding: 25px;
    }

    .resume-video-grid,
    .resume-track-grid,
    .rewrite-grid,
    .resume-tip-grid {
        grid-template-columns: 1fr;
    }

    .resume-video-card {
        grid-template-columns: 1fr;
    }

    .resume-video-card > div {
        min-height: 175px;
    }

    .resume-featured-video__copy {
        padding: 28px;
        border-top: 7px solid var(--resume-red);
        border-left: 0;
    }

    .resume-builder__row {
        grid-template-columns: 1fr;
    }

    .resume-preview {
        min-height: 0;
        padding: 28px;
    }

    .formula-banner {
        grid-template-columns: 1fr;
    }

    .resume-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .resume-cta img {
        width: 140px;
        margin: 0 auto;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    #resume-preview,
    #resume-preview * {
        visibility: visible !important;
    }

    #resume-preview {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        min-height: 0 !important;
        box-shadow: none !important;
    }
}
