/* ==========================================
   BYTEFRAME — ABOUT PAGE STYLES
   ========================================== */

/* ─── ABOUT HERO ─────────────────────────── */
.about-hero {
    min-height: 90svh;
    background: rgba(0, 0, 0, 0.94);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 140px 0 80px;
}
.about-hero-bg {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}
.about-hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 65% 40%, rgba(193,57,26,.13) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 80%, rgba(30,58,95,.09) 0%, transparent 50%);
}
.about-hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
    width: 100%;
}
.about-hero-content .hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
}

/* ── Side stats panel ── */
.about-hero-aside {
    display: flex; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: blur(4px);
}
.ah-line-group {
    padding: 1.5rem 1.75rem;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem;
}
.ah-line-group:hover { background: rgba(255,255,255,.04); }
.ah-line-label {
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .09em; color: rgba(255,255,255,.4);
}
.ah-line-val {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
    color: var(--white);
}
.ah-divider {
    height: 1px; background: rgba(255,255,255,.07);
    margin: 0 1.75rem;
}

@media (max-width: 860px) {
    .about-hero-inner { grid-template-columns: 1fr; }
    .about-hero-aside { display: grid; grid-template-columns: repeat(2, 1fr); }
    .ah-divider { display: none; }
    .ah-line-group { border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-md); margin: .25rem; }
}
@media (max-width: 480px) {
    .about-hero-aside { grid-template-columns: 1fr 1fr; }
    .ah-line-group { padding: 1.25rem 1rem; flex-direction: column; align-items: flex-start; gap: .35rem; }
}

/* ─── ORIGIN STORY ───────────────────────── */
.origin-grid {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}
.origin-text .section-eyebrow { margin-bottom: 1rem; }
.origin-lead {
    font-size: 1.15rem; font-weight: 500; line-height: 1.75;
    color: var(--dark); margin: 1.25rem 0 1rem;
}
.origin-body {
    color: var(--mid); line-height: 1.85;
    margin-bottom: .85rem; font-size: .97rem;
}

/* Three floating cards */
.origin-visual {
    position: relative;
    padding: 1rem 0 2rem;
}
.origin-card {
    background: var(--white);
    border: 1.5px solid var(--light-2);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    display: flex; align-items: flex-start; gap: 1rem;
    position: relative;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}
.origin-card:hover { box-shadow: var(--shadow-lg); transform: translateX(6px); border-color: rgba(193,57,26,.3); }
.origin-card--top { margin-bottom: 1.25rem; }
.origin-card--mid {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--red);
}
.origin-card--bot { margin-left: 3rem; }
.oc-icon {
    width: 40px; height: 40px; border-radius: var(--r-md);
    background: rgba(193,57,26,.07); color: var(--red);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.origin-card strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.origin-card p { font-size: .85rem; color: var(--mid); }
.origin-bg-deco {
    position: absolute; bottom: -10px; right: -10px;
    width: 120px; height: 120px;
    background-image: radial-gradient(circle, #ddd 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: .6; pointer-events: none; z-index: -1;
}

@media (max-width: 860px) {
    .origin-grid { grid-template-columns: 1fr; }
    .origin-card--mid { margin-left: .75rem; }
    .origin-card--bot { margin-left: 1.5rem; }
}

/* ─── SMALL TEAM ADVANTAGE ───────────────── */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.adv-card {
    background: var(--white);
    border: 1.5px solid var(--light-2);
    border-radius: var(--r-xl);
    padding: 2rem;
    display: flex; flex-direction: column; gap: 1rem;
    position: relative;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.adv-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.adv-card--featured {
    grid-column: span 2;
    background: var(--ink);
    border-color: transparent;
}
.adv-card--featured h3 { color: var(--white); }
.adv-card--featured p { color: rgba(255,255,255,.55); }
.adv-card--featured .adv-icon { background: rgba(193,57,26,.2); }
.adv-card--featured .adv-card-num { color: rgba(255,255,255,.08); }
.adv-card-num {
    position: absolute; top: 1.5rem; right: 1.75rem;
    font-family: var(--font-display); font-size: .72rem; font-weight: 800;
    color: var(--light-2); letter-spacing: .06em;
}
.adv-icon {
    width: 50px; height: 50px; border-radius: var(--r-md);
    background: rgba(193,57,26,.07); color: var(--red);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.adv-card h3 {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
    line-height: 1.3; color: var(--dark);
}
.adv-card p { color: var(--mid); font-size: .92rem; line-height: 1.75; }

@media (max-width: 1024px) {
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-card--featured { grid-column: span 2; }
}
@media (max-width: 640px) {
    .adv-grid { grid-template-columns: 1fr; }
    .adv-card--featured { grid-column: span 1; }
}

/* ─── CRAFT SECTION ──────────────────────── */
.craft-grid {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}
.craft-body {
    color: var(--mid); line-height: 1.85;
    margin-top: 1.25rem; font-size: .97rem;
}
.craft-body + .craft-body { margin-top: .75rem; }

.craft-detail-list {
    display: flex; flex-direction: column; gap: 0;
    border: 1.5px solid var(--light-2);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--white);
}
.cdl-item {
    display: flex; align-items: flex-start; gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--light-2);
    transition: background .2s;
}
.cdl-item:last-child { border-bottom: none; }
.cdl-item:hover { background: rgba(193,57,26,.03); }
.cdl-marker {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--red);
    margin-top: .55rem; flex-shrink: 0;
}
.cdl-content h5 {
    font-family: var(--font-display); font-weight: 700;
    font-size: .95rem; margin-bottom: .3rem;
}
.cdl-content p { font-size: .875rem; color: var(--mid); line-height: 1.7; }

@media (max-width: 860px) { .craft-grid { grid-template-columns: 1fr; } }

/* ─── FOUNDERS ───────────────────────────── */
.about-founders .section-header { margin-bottom: 3.5rem; }

.af-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1.5px solid var(--light-2);
}
.af-card:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.af-card--reverse { direction: rtl; }
.af-card--reverse > * { direction: ltr; }

/* Large founder image */
.af-image-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--light-2);
}
.af-image {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    display: block;
    transition: transform .5s var(--ease);
}
.af-card:hover .af-image { transform: scale(1.03); }
.af-image-badge {
    position: absolute; top: 1.25rem; left: 1.25rem;
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem 1rem;
    background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 99px;
    font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.9);
}

/* Content side */
.af-content {
    display: flex; flex-direction: column; gap: 1.75rem;
    padding-top: .5rem;
}
.af-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: .75rem;
}
.af-name {
    font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800; color: var(--dark); line-height: 1.1;
    margin-bottom: .4rem;
}
.af-role {
    display: inline-block;
    font-size: .8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--red);
}
.af-location {
    display: flex; align-items: center; gap: .35rem;
    font-size: .82rem; color: var(--mid);
    white-space: nowrap;
    align-self: flex-start;
    margin-top: .25rem;
}
.af-bio p {
    color: var(--mid); line-height: 1.85; font-size: .97rem;
    margin-bottom: .85rem;
}
.af-bio p:last-child { margin-bottom: 0; }
.af-bio em { font-style: italic; color: var(--dark-3); }
.af-skills {
    display: flex; flex-wrap: wrap; gap: .4rem;
}
.af-skills span {
    padding: .3rem .8rem;
    background: var(--light); color: var(--dark-3);
    font-size: .75rem; font-weight: 600;
    border-radius: var(--r-sm);
    border: 1px solid var(--light-2);
}
.af-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 1.5rem;
    background: var(--red); color: var(--white);
    font-family: var(--font-display); font-weight: 700; font-size: .875rem;
    border-radius: var(--r-md);
    width: fit-content;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.af-cta:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193,57,26,.3); }

@media (max-width: 900px) {
    .af-card,
    .af-card--reverse { grid-template-columns: 1fr; direction: ltr; }
    .af-image-wrap { aspect-ratio: 3 / 2; max-height: 420px; }
}
@media (max-width: 480px) {
    .af-image-wrap { aspect-ratio: 4 / 3; max-height: 320px; }
    .af-card { margin-bottom: 3.5rem; padding-bottom: 3.5rem; }
}

/* ─── MANIFESTO STRIP ────────────────────── */
.manifesto {
    background: var(--red);
    padding: clamp(3rem, 6vw, 5rem) 0;
    overflow: hidden;
}
.manifesto-inner { text-align: center; max-width: 800px; margin: 0 auto; }
.manifesto-line {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 2.1rem);
    font-weight: 700; line-height: 1.5;
    color: rgba(255,255,255,.95);
}
.manifesto-line em {
    font-style: italic;
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.35);
    text-underline-offset: 4px;
}

/* ─── NUMBERS ────────────────────────────── */
.an-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}
.an-item {
    text-align: center; padding: 2.5rem 1rem;
    background: var(--white);
    border: 1.5px solid var(--light-2);
    border-radius: var(--r-xl);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.an-item:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.an-val {
    font-family: var(--font-display); font-size: 2.5rem; font-weight: 800;
    color: var(--red); line-height: 1; margin-bottom: .5rem;
}
.an-label { font-size: .8rem; color: var(--mid); line-height: 1.4; }

@media (max-width: 1024px) { .an-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .an-grid { grid-template-columns: repeat(2, 1fr); } }

