/* =========================================================
   About — corporate / editorial redesign
   Palette: charcoal + warm neutral + single tan accent
   Display type: Josefin Sans (same as the home page)
   ========================================================= */
:root {
    --char: #1f1f1f;
    --char-2: #252525;
    --tan: #d2b48c;
    --tan-deep: #a8845a;
    --ink: #2b2b2b;
    --muted: #7c7c7c;
    --card: #e7e7e7;
    --card-line: #d6d6d6;
    --inner: #ebebeb;
    --inner-line: #dbdbdb;
    --display: "Josefin Sans", sans-serif;
}

/* Page can grow past one screen; body scrolls */
.container {
    min-height: 100vh;
    height: auto;
}

.content-container {
    min-height: 100vh;
    height: auto;
    align-items: flex-start;
    background-color: #ececec;
}

/* Keep the sidebar pinned like home */
.cc-sidebar {
    position: sticky;
    top: 10px;
    height: calc(100vh - 20px);
    flex-shrink: 0;
}

.cc-sidebar-btn-active {
    background-color: var(--char);
    color: #f2f0eb;
    border-color: var(--char);
}

/* ----- Content column ----- */
.about-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

/* ----- Card base ----- */
.about-card {
    background-color: var(--card);
    border: 1px solid var(--card-line);
    border-radius: 28px;
    padding: 44px;
    position: relative;
}

.about-card-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--tan-deep);
    margin-bottom: 30px;
}

.about-card-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--card-line);
}

/* ===== Row 1: hero + side ===== */
.about-row-top {
    display: flex;
    column-gap: 12px;
    align-items: stretch;
}

.about-intro {
    flex: 1 1 60%;
    background-color: var(--char);
    border-color: var(--char);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px;
    overflow: hidden;
}

.about-eyebrow {
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--tan);
    margin-bottom: 26px;
}

.about-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: 0.3px;
    color: #f2f0eb;
}

.about-accent {
    color: var(--tan);
}

.about-em {
    font-style: italic;
    font-weight: 500;
}

.about-lead {
    font-size: 15px;
    line-height: 1.85;
    color: #cfcfcf;
    max-width: 90%;
    margin-top: 24px;
}

.about-signature {
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
    color: var(--tan);
    margin-top: 32px;
    opacity: 0.8;
}

.about-side {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

/* Stats */
.about-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.stat-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: 52px;
    color: var(--ink);
    line-height: 1;
}

.stat-plus {
    color: var(--tan-deep);
}

.stat-label {
    font-family: "Roboto Mono", monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--muted);
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    align-self: stretch;
    background-color: var(--card-line);
    margin: 6px 0;
}

/* Motto — dark pull-quote card */
.about-motto {
    flex-grow: 1;
    background-color: var(--char);
    border-color: var(--char);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 40px;
    position: relative;
    overflow: hidden;
}

.motto-quote {
    font-size: 46px;
    line-height: 0.6;
    color: var(--tan);
    opacity: 0.35;
}

.motto-text {
    font-family: var(--display);
    font-weight: 600;
    font-size: 23px;
    line-height: 1.45;
    color: #ededed;
    margin: 10px 0 16px;
}

.motto-text span {
    color: var(--tan);
}

.motto-by {
    font-family: "Roboto Mono", monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7c766c;
}

/* ===== Skills ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}

.skill-cat {
    background-color: var(--inner);
    border: 1px solid var(--inner-line);
    border-radius: 20px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--inner-line);
}

.skill-cat-icon {
    height: 46px;
    width: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background-color: var(--char);
    color: var(--tan);
}

.skill-cat-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 26px;
    color: var(--ink);
}

/* Tags — refined outline chips */
.about-card .ccmic-tags {
    gap: 8px;
}

.about-card .ccmic-tag {
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
    font-weight: 500;
    color: #5f5f5f;
    background-color: transparent;
    border: 1px solid var(--card-line);
    padding: 6px 13px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.about-card .ccmic-tag:hover {
    background-color: var(--char);
    border-color: var(--char);
    color: #f2f0eb;
}

/* ===== Journey / Roadmap ===== */
.roadmap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    position: relative;
    margin-top: 8px;
}

.roadmap::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--tan) 0%, var(--tan-deep) 100%);
    opacity: 0.45;
}

.roadmap-item {
    position: relative;
    padding-top: 38px;
}

.roadmap-dot {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: var(--tan);
    border: 4px solid var(--card);
    box-shadow: 0 0 0 1px var(--tan-deep);
}

.roadmap-year {
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--tan-deep);
}

.roadmap-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 24px;
    color: var(--ink);
    margin: 10px 0 12px;
}

.roadmap-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 94%;
}

/* ===== Contact (dark) ===== */
.about-contact {
    background-color: var(--char);
    border-color: var(--char);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 40px 48px;
}

.about-contact-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 34px;
    color: #f2f0eb;
}

.about-contact-sub {
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
    letter-spacing: 1px;
    color: #8f8a82;
    margin-top: 8px;
}

.about-contact-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-socials {
    display: flex;
    gap: 8px;
}

.about-social {
    height: 52px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: var(--char-2);
    color: #e9e7e2;
    font-size: 22px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.about-social:hover {
    background-color: var(--tan);
    color: var(--char);
    transform: translateY(-2px);
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--tan);
    color: var(--char);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 16px 26px;
    border-radius: 12px;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.about-cta i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.about-cta:hover {
    background-color: #c6a578;
    transform: translateY(-2px);
}

.about-cta:hover i {
    transform: translate(2px, -2px);
}

/* ===== Featured work ===== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    background-color: var(--inner);
    border: 1px solid var(--inner-line);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background-color: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.feature-media {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(0.15);
    transition: filter 0.3s ease;
}

.feature-card:hover .feature-media {
    filter: grayscale(0);
}

.feature-body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
}

.feature-kicker {
    font-family: "Roboto Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tan-deep);
}

.feature-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 28px;
    color: var(--ink);
    margin: 8px 0 10px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-family: "Roboto Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.feature-link i {
    transition: transform 0.25s ease;
}

.feature-card:hover .feature-link i {
    transform: translateX(4px);
}

/* ===== Approach ===== */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.approach-item {
    background-color: var(--inner);
    border: 1px solid var(--inner-line);
    border-radius: 20px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
}

.approach-icon {
    height: 50px;
    width: 50px;
    border-radius: 14px;
    background-color: var(--char);
    color: var(--tan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.approach-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 19px;
    color: var(--ink);
    margin-bottom: 8px;
}

.approach-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-row-top { flex-direction: column; }
    .skills-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: repeat(2, 1fr); }
    .roadmap { grid-template-columns: 1fr; gap: 12px; }
    .roadmap::before { display: none; }
    .about-title { font-size: 40px; }
}

@media (max-width: 1024px) {
    /* undo the pinned sidebar; root stylesheet turns it into a top nav */
    .cc-sidebar {
        position: static;
        height: auto;
    }

    .about-card { padding: 28px 22px; }
    .about-intro { padding: 34px 26px; }
    .about-title { font-size: 30px; }
    .about-lead { max-width: 100%; font-size: 14px; margin-top: 18px; }
    .about-signature { font-size: 19px; margin-top: 24px; }

    .about-stats { padding: 24px 16px; }
    .stat-num { font-size: 36px; }
    .stat-label { font-size: 10px; }

    .motto-text { font-size: 19px; }

    .skill-cat-title { font-size: 22px; }

    .feature-media { height: 150px; }
    .feature-title { font-size: 24px; }

    .approach-grid { grid-template-columns: 1fr; }

    .roadmap-title { font-size: 21px; }

    .about-contact { padding: 28px 22px; }
    .about-contact-title { font-size: 26px; }
    .about-cta { padding: 13px 20px; font-size: 14px; }
}
