/* =====================================================================
   氣境引擎 Atmosphere Engine（/tw/atmosphere-engine.html）
   ===================================================================== */
.ae-center { text-align: center; }
.ae-eyebrow { color: var(--ap-blue); font-family: var(--ap-font); font-weight: 500; font-size: clamp(0.938rem, 1.186vw, 22.8px); letter-spacing: .02em; line-height: 1.4; margin: 0 0 clamp(20px, 2.6vw, 50px); }
.ae-h2 { color: var(--ap-blue); font-family: var(--ap-font); font-weight: 700; font-size: clamp(1.216rem, 2.09vw, 40.28px); line-height: 1.4; letter-spacing: .06em; margin: 0 0 clamp(20px, 2.6vw, 50px); }
.ae-lead { font-family: var(--ap-font); font-size: clamp(0.938rem, 1.034vw, 19.76px); line-height: 1.9; letter-spacing: .1em; color: var(--ap-text); margin: 0; }

/* ---------- 1. FROM ONE TO MANY ---------- */
.ae-scale { padding: clamp(56px, 6.8vw, 130px) 0 clamp(56px, 5.5vw, 105px); background: #fff; }
.ae-modules { max-width: 1920px; margin: 0 auto; }
.ae-modules__img { display: block; width: 100%; height: auto; margin-top: -3.1vw; }
.ae-scroll-hint { display: none; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: var(--ap-blue); font-size: 15px; letter-spacing: .08em; line-height: 1.4; }
.ae-scroll-hint::before, .ae-scroll-hint::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.ae-modules__note { text-align: center; font-size: clamp(0.938rem, 1.034vw, 19.76px); line-height: 1.8; letter-spacing: .08em; color: var(--ap-text); margin: clamp(16px, 2vw, 40px) 0 0; padding: 0 20px; }
.ae-modules__note strong { color: var(--ap-blue); font-weight: 700; }

/* ---------- 2. 創造合適的氣體環境（背景圖 p3-1） ---------- */
.ae-banner { display: flex; align-items: center; justify-content: center; min-height: clamp(320px, 31.25vw, 600px); padding: 40px 0 clamp(40px, 3vw, 60px); background-color: var(--ap-blue-light); background-size: cover; background-position: center bottom; background-repeat: no-repeat; }
.ae-banner .ae-h2 { margin-bottom: clamp(18px, 2.6vw, 50px); }
.ae-banner .ae-lead { color: #444; }

/* ---------- 3. 特色 ---------- */
.ae-feat { background: #fff; padding: clamp(56px, 7.6vw, 147px) 0 clamp(56px, 8.5vw, 164px); }
.ae-feat__wrap { max-width: 1526px; margin: 0 auto; padding: 0 40px; }
.ae-feat__row { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.ae-feat__item { flex: 0 0 25%; max-width: 25%; text-align: center; padding: 0 12px; display: flex; flex-direction: column; align-items: center; }
.ae-feat__item + .ae-feat__item { border-left: 2px solid #a9cbe6; }
.ae-feat__row--3 .ae-feat__item { flex-basis: 25.5%; max-width: 25.5%; }
.ae-feat .ae-feat__icon { width: auto; max-width: none; height: clamp(110px, 9.06vw, 174px); margin: calc(-.94vw) 0 0; }
.ae-feat__title { color: var(--ap-blue); font-family: var(--ap-font); font-weight: 700; font-size: clamp(0.988rem, 1.482vw, 28.12px); line-height: 1.45; letter-spacing: .08em; margin: 0 0 clamp(8px, 1vw, 20px); }
.ae-feat__text { font-size: clamp(0.938rem, 1.034vw, 19.76px); line-height: 1.85; letter-spacing: .08em; color: var(--ap-text); margin: 0; }
.ae-feat__sep { border: 0; border-top: 2px solid #a9cbe6; margin: clamp(40px, 4.1vw, 79px) 0 clamp(48px, 5.2vw, 100px); opacity: 1; }

/* ---------- 4. 應用場景 ---------- */
.ae-apps { padding: clamp(56px, 8vw, 155px) 0 clamp(64px, 9.7vw, 186px); }
.ae-apps__wrap { max-width: 1730px; margin: 0 auto; padding: 0 40px; }
.ae-apps .ae-h2 { margin-bottom: clamp(16px, 2.6vw, 50px); }
.ae-apps__list { list-style: none; margin: clamp(36px, 4.6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4.6vw, 88px) clamp(20px, 2.1vw, 40px); }
.ae-card { background: #fff; border: 1px solid #c4dcf2; border-radius: clamp(20px, 1.6vw, 30px); overflow: hidden; transform: translateZ(0); transition: box-shadow .3s, transform .3s; }
.ae-card__media { aspect-ratio: 523 / 435; overflow: hidden; line-height: 0; }
.ae-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ae-card__body { padding: clamp(18px, 1.9vw, 36px) clamp(18px, 1.7vw, 32px) clamp(24px, 2.1vw, 40px); }
.ae-card__title { color: var(--ap-blue); font-family: var(--ap-font); font-weight: 700; font-size: clamp(0.988rem, 1.444vw, 27.36px); line-height: 1.4; letter-spacing: .08em; margin: 0; padding: 0 clamp(0px, 1.1vw, 21px) clamp(10px, .85vw, 16px); border-bottom: 2px solid #b7d5ee; }
.ae-card__list { list-style: none; margin: clamp(12px, 1vw, 18px) 0 0; padding: 0 0 0 clamp(2px, 1.1vw, 21px); }
.ae-card__list li { position: relative; padding-left: 1.2em; font-size: clamp(0.938rem, 1.034vw, 19.76px); line-height: 1.85; letter-spacing: .08em; color: var(--ap-text); }
.ae-card__list li::before { content: ""; position: absolute; left: .2em; top: .9em; width: 5px; height: 5px; border-radius: 50%; background: var(--ap-text); }
@media (hover: hover) {
    .ae-card:hover { box-shadow: 0 14px 36px rgba(0, 80, 150, .16); transform: translateY(-6px); }
    .ae-card:hover .ae-card__media img { transform: scale(1.06); }
}

/* ---------- 5. 影片 ---------- */
.ae-video { background: #fff; padding: clamp(56px, 8.6vw, 165px) 0 clamp(64px, 10vw, 200px); }
.ae-video .ae-h2 { margin-bottom: clamp(16px, 2.4vw, 46px); }
.ae-video__sub { color: var(--ap-blue); font-family: var(--ap-font); font-weight: 500; font-size: clamp(0.938rem, 1.269vw, 24.32px); line-height: 1.6; letter-spacing: .08em; margin: 0; }
.ae-video__sep { display: inline-block; margin: 0 .7em; font-weight: 400; }
.ae-video__media { max-width: 1392px; margin: clamp(32px, 5.4vw, 104px) auto 0; padding: 0 40px; line-height: 0; }
.ae-video__media img { display: block; width: 100%; height: auto; }

/* ---------- RWD ---------- */
@media (max-width: 1199px) {
    .ae-apps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ae-br { display: none; }
    .ae-feat__text { max-width: 12em; }
}
@media (max-width: 991px) {
    .ae-feat__row { flex-wrap: wrap; }
    .ae-feat__item, .ae-feat__row--3 .ae-feat__item { flex: 0 0 50%; max-width: 50%; padding: 28px 16px; }
    .ae-feat__item + .ae-feat__item { border-left: 0; }
    .ae-feat__row--4 .ae-feat__item:nth-child(odd),
    .ae-feat__row--3 .ae-feat__item:nth-child(1) { border-right: 2px solid #a9cbe6; }
    .ae-feat__row--4 .ae-feat__item:nth-child(-n+2) { border-bottom: 2px solid #a9cbe6; }
    .ae-feat__row--3 .ae-feat__item:nth-child(-n+2) { border-bottom: 2px solid #a9cbe6; }
    .ae-feat__sep { margin: 0; }
}
@media (max-width: 767px) {
    .ae-feat__wrap, .ae-apps__wrap, .ae-video__media { padding: 0 20px; }
    .ae-lead br { display: none; }
    .ae-video__sep { display: block; height: 0; overflow: hidden; margin: 0; }
    .ae-feat .ae-feat__icon { height: 100px; margin-top: -8px; }
    .ae-feat__item, .ae-feat__row--3 .ae-feat__item { padding: 24px 10px; }

    /* 2026-11：模組示意改為完整圖片左右滑動，下方加註提示 */
    .ae-modules__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; padding-bottom: 6px; }
    .ae-modules__scroll .ae-modules__img { width: 1100px; max-width: none; margin-top: 8px; }
    .ae-scroll-hint { display: flex; }
}
@media (max-width: 599px) {
    .ae-apps__list { grid-template-columns: minmax(0, 1fr); }
}
