/* ==========================================================================
   about.css  —  關於頁樣式（對應 about.html / about.js）
   ========================================================================== */

/* ---------- 頁首宣言 -------------------------------------------------- */
.about-hero {
    position: relative;
    padding: calc(var(--nav-h) + 120px) 0 110px;
    background: transparent;
    overflow: hidden;
}
.about-hero__title {
    font-size: clamp(52px, 10vw, 128px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.045em;
    position: relative;
    z-index: 2;
}
.about-hero__sub {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-top: 32px;
    font-size: clamp(17px, 2vw, 21px);
    color: var(--muted);
}
.about-hero .wrap { position: relative; }

/* 幾何裝飾 */
.about-hero__geo { position: absolute; inset: 0; z-index: 1; }
.ah { position: absolute; }
.ah-square {
    width: 180px; height: 180px;
    right: 8%; top: 26%;
    background: var(--c-fog);
    transform: rotate(18deg);
}
.ah-circle {
    width: 260px; height: 260px;
    right: 20%; top: -60px;
    border-radius: 50%;
    border: 2px solid var(--c-mist);
}
.ah-line {
    width: 1px; height: 60%;
    right: 32%; top: 20%;
    background: var(--c-mist);
}

/* ---------- 品牌故事 -------------------------------------------------- */
.story { background: transparent; }
.story__grid {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: 40px;
}
.story__body { max-width: 640px; }
.story__lead {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.2;
}
.story__body p { color: var(--c-graphite); font-size: 17px; line-height: 1.7; margin-bottom: 18px; }
.story__body p:last-child { margin-bottom: 0; }

/* ---------- 核心價值 -------------------------------------------------- */
.values { background: transparent; }
.values__grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 2px solid var(--c-ink);
}
.val {
    padding: 36px 28px 40px;
    border-right: 1px solid var(--line);
    transition: background 0.3s var(--ease);
}
.val:last-child { border-right: none; }
.val:hover { background: rgba(0,0,0,0.03); }
.val__no {
    font-size: 32px; font-weight: 800;
    letter-spacing: -0.02em; color: var(--c-mist);
    display: block; margin-bottom: 24px;
}
.val h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.val p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- 時間軸 ---------------------------------------------------- */
.timeline-sec { background: transparent; }
.timeline {
    margin-top: 56px;
    list-style: none;
    position: relative;
    padding-left: 0;
}
.tl {
    display: grid;
    grid-template-columns: 90px 40px 1fr;
    align-items: start;
    gap: 0;
    padding-bottom: 40px;
    position: relative;
}
.tl:last-child { padding-bottom: 0; }
.tl__year {
    font-size: 20px; font-weight: 800;
    letter-spacing: -0.02em; color: var(--c-ink);
    padding-top: 2px;
}
.tl__dot {
    width: 16px; height: 16px;
    background: var(--c-ink);
    margin: 6px auto 0;
    position: relative;
    z-index: 2;
}
/* 連接線 */
.tl::before {
    content: "";
    position: absolute;
    left: 107px; top: 22px; bottom: -6px;
    width: 2px;
    background: var(--c-mist);
}
.tl:last-child::before { display: none; }
.tl__dot--now {
    border-radius: 50%;
    background: var(--c-paper);
    border: 4px solid var(--c-ink);
    animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(10,10,10,0.25); }
    50% { box-shadow: 0 0 0 8px rgba(10,10,10,0); }
}
.tl__body { padding-left: 16px; }
.tl__body h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.tl__body p { color: var(--muted); font-size: 15px; }

/* ---------- CTA（本頁共用） ------------------------------------------ */
.cta { background: transparent; padding: 120px 0; }
.cta .cta__inner {          /* 加高權重，確保覆蓋滿版的 .wrap */
    text-align: center;
    max-width: 760px;
    margin-inline: auto;    /* 置中 */
    padding: 72px 40px;
    background: transparent;
    color: inherit;
    border: 1px solid var(--c-ink);
    border-radius: 28px;
}
.cta__inner h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.cta__inner p { color: var(--muted); margin: 16px 0 32px; font-size: 18px; }
/* 透明底上的 ghost 按鈕（回歸深色線框） */
.cta .btn--ghost { color: var(--c-ink); border-color: var(--c-ink); }
.cta .btn--ghost:hover { background: var(--c-ink); color: var(--c-paper); }

/* ---------- 響應式 ---------------------------------------------------- */
@media (max-width: 860px) {
    .story__grid { grid-template-columns: 1fr; gap: 20px; }
    .values__grid { grid-template-columns: 1fr 1fr; }
    .val:nth-child(2) { border-right: none; }
    .val { border-bottom: 1px solid var(--line); }
    .ah-circle, .ah-line { display: none; }
}
@media (max-width: 520px) {
    .values__grid { grid-template-columns: 1fr; }
    .val { border-right: none; }
    .tl { grid-template-columns: 64px 28px 1fr; }
    .tl::before { left: 76px; }
}
