/* ==========================================================================
   ABOUT PAGE — DR PACK DESIGN
   Extends the tokens defined in /styles.css (--primary, --dark, --font-main,
   --font-heading, --transition, etc). Nothing here touches the global
   navbar / footer / modal styles — those stay untouched.
   ========================================================================== */

:root {
    --primary-soft: #FF8F66;
    --ink: #0D0D0D;
    --hairline: rgba(0, 0, 0, 0.08);
    --card-gray: #F4F4F4;
    --font-mono: 'IBM Plex Mono', monospace;
}

/* --------------------------------------------------------------------------
   SHARED UTILITIES
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--primary);
    flex-shrink: 0;
}

.about-hero .about-breadcrumb {
    display: block;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0 0 40px;
    opacity: 1;
}

.about-hero .about-breadcrumb a { color: var(--text-muted); }
.about-hero .about-breadcrumb a:hover { color: var(--primary); }
.about-hero .about-breadcrumb .current { color: var(--primary); font-weight: 600; }

/* Reveal-on-scroll utility, toggled by about.js via IntersectionObserver */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="fade-in"] { transform: translateY(0) scale(0.97); }
[data-reveal="fade-in"].is-visible { transform: scale(1); }

[data-reveal="slide-right"] { transform: translateX(-36px); }
[data-reveal="slide-right"].is-visible { transform: translateX(0); }

[data-reveal="slide-left"] { transform: translateX(36px); }
[data-reveal="slide-left"].is-visible { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

[data-reveal-group] > * {
    transition-delay: calc(var(--stagger, 0) * 90ms);
}

/* --------------------------------------------------------------------------
   1. ABOUT HERO
   -------------------------------------------------------------------------- */
.about-hero {
    position: relative;
    padding: 56px 0 90px;
    background: var(--bg-light-gray);
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 102, 51, 0.10), transparent 70%);
    z-index: 0;
}

.about-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.1rem, 4.4vw, 3.1rem);
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 22px;
}

.about-hero-title span { color: var(--primary); }

.about-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 30px;
}

.info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    border: 1px solid var(--hairline);
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.info-pill i {
    color: var(--primary);
    font-size: 1rem;
}

.about-hero-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--primary);
    aspect-ratio: 4 / 3.1;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.about-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   2. WHO WE ARE (INTRODUCTION)
   -------------------------------------------------------------------------- */
.intro-section {
    padding: 110px 0;
    background: var(--bg-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: start;
}

.intro-copy h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 22px;
}

.intro-copy h2 span { color: var(--primary-soft); }

.intro-copy p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1rem;
}

.intro-copy p:last-of-type { margin-bottom: 0; }
.intro-copy strong { color: var(--dark); }

.intro-visual-frame {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.intro-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.intro-stat {
    background: var(--card-gray);
    border-radius: 14px;
    padding: 22px 20px;
}

.intro-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.intro-stat span {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   3. FOUR CATEGORIES (zigzag industry cards)
   -------------------------------------------------------------------------- */
.industries-section {
    padding: 110px 0;
    background: var(--bg-light-gray);
}

.section-head {
    max-width: 660px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-head.align-left { margin: 0 0 50px; text-align: left; }

.section-head h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    color: var(--dark);
}

.section-head h2 span { color: var(--primary); }

.section-head p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 1.02rem;
}

.category-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 44px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.category-card:last-child { margin-bottom: 0; }

.category-card.reverse { grid-template-columns: 1.1fr 0.9fr; }
.category-card.reverse .category-media { order: 2; }
.category-card.reverse .category-body { order: 1; }

.category-media {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card:hover .category-media img { transform: scale(1.06); }

.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.category-body h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

.category-body > p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 24px;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tag-pill {
    background: var(--card-gray);
    border-radius: 50px;
    padding: 11px 18px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

/* --------------------------------------------------------------------------
   4. DESIGN PROCESS (real sequence — numbers earn their place here)
   -------------------------------------------------------------------------- */
.process-section {
    padding: 110px 0 90px;
    background: var(--bg-light-gray);
}

.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: var(--hairline);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: left;
    padding-right: 10px;
}

.process-num {
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    transition: var(--transition);
}

.process-step:hover .process-num {
    background: var(--primary);
    color: var(--bg-white);
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-section {
    padding: 110px 0;
    background: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    border: 1px solid var(--hairline);
    border-radius: 16px;
    padding: 32px 28px;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(255, 102, 51, 0.1);
    transform: translateY(-4px);
}

.why-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 143, 102, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. MISSION
   -------------------------------------------------------------------------- */
.mission-section {
    position: relative;
    padding: 110px 0;
    background: var(--bg-light-gray);
    overflow: hidden;
}

.mission-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mission-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
}

.mission-ghost {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(3rem, 10vw, 7rem);
    letter-spacing: 0.05em;
    color: var(--dark);
    opacity: 0.04;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.mission-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-copy h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 20px;
}

.mission-copy h2 span { color: var(--primary); }

.mission-copy p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
}

.mission-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.mission-list { display: flex; flex-direction: column; gap: 20px; }

.mission-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.mission-check {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   7. FINAL CTA
   -------------------------------------------------------------------------- */
.about-cta-section {
    padding: 100px 0 120px;
    background: var(--bg-white);
}

.about-cta-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-light-gray);
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.about-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.14;
}

.about-cta-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.about-cta-box h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    color: var(--dark);
    line-height: 1.3;
}

.about-cta-box h2 span { color: var(--primary-soft); }

.about-cta-box p {
    color: var(--text-muted);
    margin-top: 14px;
}

.about-cta-box .btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .about-hero-grid { grid-template-columns: 1fr; }
    .about-hero-visual { order: -1; }
    .intro-grid { grid-template-columns: 1fr; gap: 50px; }
    .category-card,
    .category-card.reverse { grid-template-columns: 1fr; }
    .category-card .category-media,
    .category-card.reverse .category-media { order: -1; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
    .about-hero { padding: 40px 0 60px; }
    .process-track { grid-template-columns: 1fr; gap: 34px; }
    .process-track::before { display: none; }
    .why-grid { grid-template-columns: 1fr; }
    .intro-stats { grid-template-columns: repeat(2, 1fr); }
    .category-card { padding: 28px; }
    .tag-grid { grid-template-columns: 1fr; }
    .about-cta-box { padding: 40px 28px; flex-direction: column; text-align: left; }
    .about-cta-box .btn { width: 100%; }
}
