/* ============================================================
   HytHost — About Us — story-driven page (hero typography-led, timeline, values, team)
   Loaded conditionally on /about-us.php via includes/head.tpl.
   Extracted from about-us.tpl on 2026-05-16.
   ============================================================ */

/* Safety: prevent horizontal overflow on this page regardless of viewport. */
html, body { overflow-x: clip; max-width: 100vw; }

/* Force BS4 .container/.row/.col inside about-* sections to behave at all viewports.
   Without this, BS4 grid quirks cause horizontal overflow on tablet/mobile. */
section[class^="about-"] .container,
section[class*=" about-"] .container {
    max-width: 1140px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
section[class^="about-"] .row,
section[class*=" about-"] .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
}
section[class^="about-"] [class^="col-"],
section[class^="about-"] [class*=" col-"],
section[class*=" about-"] [class^="col-"],
section[class*=" about-"] [class*=" col-"] {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    min-width: 0;
}

/* ============================================================
   1. HERO — left-aligned, typography-led, no buttons
   ============================================================ */
.about-hero {
    position: relative;
    padding: 110px 0 90px;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(124,58,237,0.22), transparent 55%),
        linear-gradient(180deg, #0c1220 0%, #0c1220 100%);
    overflow: hidden;
}
.about-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}
.about-eyebrow {
    display: inline-block;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    color: #e5d4ff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 22px;
}
.about-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 28px;
    letter-spacing: -0.025em;
}
.about-hero .accent {
    background: linear-gradient(120deg, #d4baff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-hero-lead {
    font-size: 1.18rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    max-width: 680px;
    margin: 0;
}

/* ============================================================
   2. STATS — oversized, asymmetric, no cards
   ============================================================ */
.about-stats {
    padding: 70px 0;
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.about-stat-num {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 12px;
    color: #fff;
}
.about-stat-num.grad {
    background: linear-gradient(135deg, #d4baff 0%, #7c3aed 55%, #59f58c 110%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-stat-num.solid-purple { color: #b794ff; }
.about-stat-label {
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .about-stats .col-md-3 { margin-bottom: 32px; }
    .about-stats .col-md-3:last-child { margin-bottom: 0; }
}

/* ============================================================
   3. STORY — pure prose, narrow column
   ============================================================ */
.about-story {
    padding: 80px 0;
}
.about-story-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}
.about-story-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}
.about-story h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    text-align: left;
    margin: 0 0 28px;
    letter-spacing: -0.01em;
}
.about-story p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin: 0 0 1.2em;
}
.about-story p:last-child { margin-bottom: 0; }
.about-story p strong { color: #fff; font-weight: 600; }

/* ============================================================
   4. TIMELINE — vertical rail with year column
   ============================================================ */
.about-milestones {
    padding: 80px 0;
    background: rgba(124,58,237,0.03);
    border-top: 1px solid rgba(255,255,255,0.04);
    overflow-x: hidden;
}
.about-milestones-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}
.about-milestones-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}
.about-milestones-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.about-milestones-sub {
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.98rem;
    margin: 0 0 48px;
}
.about-timeline {
    position: relative;
    padding: 8px 0;
}
.about-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(180deg, rgba(124,58,237,0.5), rgba(89,245,140,0.3));
}
.about-timeline-item {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    align-items: start;
    gap: 0;
    margin-bottom: 28px;
    position: relative;
    width: 100%;
    max-width: 100%;
}
.about-timeline-item:last-child { margin-bottom: 0; }
.about-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #7c3aed;
    border: 3px solid #0c1220;
    margin: 22px 0 0 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(124,58,237,0.15), 0 0 14px rgba(124,58,237,0.4);
}
.about-timeline-card {
    min-width: 0;
    max-width: 100%;
    margin-left: 22px;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 22px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.about-timeline-date {
    display: inline-block;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    color: #e5d4ff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.about-timeline-card:hover {
    transform: translateY(-2px);
    border-color: rgba(124,58,237,0.4);
    box-shadow: 0 18px 36px -22px rgba(124,58,237,0.45);
}
.about-timeline-card h5 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 8px;
    font-size: 1.08rem;
    letter-spacing: -0.005em;
}
.about-timeline-card p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.55;
    font-size: 0.95rem;
}
.about-timeline-card p a {
    color: #b794ff;
    text-decoration: none;
}
.about-timeline-card p a:hover { color: #d4baff; text-decoration: underline; }
@media (max-width: 480px) {
    .about-timeline-card { margin-left: 16px; padding: 16px 18px; }
    .about-timeline-card h5 { font-size: 1rem; }
    .about-timeline-card p { font-size: 0.9rem; }
    .about-timeline-date { font-size: 0.78rem; }
}

/* ============================================================
   5. VALUES — numbered, text-heavy, no cards/icons
   ============================================================ */
.about-values {
    padding: 80px 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}
.about-values-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: min(1140px, 100%);
    margin: 0 auto;
    padding: 0 15px;
}
.about-values-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.about-values-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 48px;
    letter-spacing: -0.01em;
}
.about-value {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.about-value:last-child { border-bottom: 0; }
.about-value-num {
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    color: #7c3aed;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding-top: 4px;
}
.about-value-body {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}
.about-value-body h4,
.about-value-body p {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}
.about-value-body h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.about-value-body p {
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin: 0;
    font-size: 1.05rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
@media (max-width: 575px) {
    .about-value { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
    .about-value-num { font-size: 0.85rem; }
    .about-value-body h4 { font-size: 1.15rem; }
}

/* ============================================================
   6. TEAM — letter avatars, 2-col grid
   ============================================================ */
.about-team {
    padding: 80px 0;
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.about-team-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.about-team-sub {
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.98rem;
    margin: 0 0 14px;
}
.about-team-intro {
    text-align: center;
    color: rgba(255,255,255,0.72);
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 48px;
}
.about-team-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    height: 100%;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.about-team-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124,58,237,0.4);
    box-shadow: 0 18px 38px -22px rgba(124,58,237,0.45);
}
.about-team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #59f58c);
    border: 3px solid rgba(124,58,237,0.3);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    font-family: inherit;
}
.about-team-card h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 16px 0 4px;
    letter-spacing: -0.01em;
}
.about-team-card .about-team-role {
    color: #e5d4ff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.about-team-card .about-team-desc {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}
.about-team-bottom-note {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.98rem;
    margin: 24px 0 0;
    font-style: italic;
}
@media (max-width: 767px) {
    .about-team-card { margin-bottom: 20px; }
}

/* ============================================================
   7. OUTRO — quiet, single line
   ============================================================ */
.about-outro-section {
    padding: 70px 0;
    background: #0c1220;
}
.about-outro {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin: 0;
    text-align: center;
}
.about-outro-link {
    color: #b794ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.about-outro-link:hover {
    color: #d4baff;
    text-decoration: none;
}
.about-outro-link i {
    font-size: 0.78rem;
    transition: transform 0.22s ease;
}
.about-outro-link:hover i { transform: translateX(3px); }
