:root {
  --navy: #061427;
  --navy-2: #0a1d35;
  --ink: #0d1724;
  --paper: #f4f6f8;
  --white: #fff;
  --blue: #15b9ff;
  --cyan: #4ee4ff;
  --yellow: #ffd644;
  --line: rgba(255,255,255,.23);
  --ease: cubic-bezier(.22,.8,.28,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; color: var(--ink); background: var(--navy); font-family: "Source Han Sans TC", "Noto Sans TC", "Noto Sans CJK TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(22px, 4.5vw, 74px); color: #fff; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, color .35s;
}
.site-header.is-light { background: rgba(244,246,248,.9); color: var(--ink); border-color: rgba(13,23,36,.09); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; width: clamp(210px, 20vw, 330px); height: 54px; }
.brand-symbol { position: relative; width: 34px; height: 30px; display: inline-flex; gap: 3px; align-items: flex-end; transform: skewX(-12deg); }
.brand-symbol i { display: block; width: 9px; background: currentColor; border-radius: 2px 2px 0 0; }
.brand-symbol i:nth-child(1) { height: 15px; opacity: .55; }
.brand-symbol i:nth-child(2) { height: 23px; opacity: .78; }
.brand-symbol i:nth-child(3) { height: 30px; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: .1em; }
.brand-copy small { margin-top: 5px; font-size: .62rem; letter-spacing: .13em; opacity: .62; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: .87rem; letter-spacing: .04em; }
.desktop-nav a, .desktop-nav button { position: relative; border: 0; background: transparent; padding: 10px 0; cursor: pointer; }
.desktop-nav a::after, .desktop-nav button::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 1px; background: currentColor; transition: width .25s; }
.desktop-nav a:hover::after, .desktop-nav button:hover::after { width: 100%; }
.desktop-nav .nav-career { font-weight: 800; }
.desktop-nav .industry-link { opacity: .6; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 11px; cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 6px 0; background: currentColor; }

.hero-screen, .challenge-screen { min-height: 100svh; scroll-snap-align: start; position: relative; }
.hero-screen { color: #fff; overflow: hidden; background: var(--navy); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.025); transition: transform 7s linear; }
.hero-slide.is-active > img { transform: scale(1.075); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,12,25,.24) 0%, rgba(2,12,25,.03) 55%, rgba(2,12,25,.15) 100%), linear-gradient(0deg, rgba(2,10,20,.63), transparent 42%); }
.platform-shade { background: linear-gradient(90deg, rgba(2,12,25,.05), rgba(2,12,25,0) 60%), linear-gradient(0deg, rgba(2,10,20,.64), transparent 48%); }
.hero-copy { position: absolute; z-index: 2; left: clamp(28px, 6.6vw, 112px); top: 50%; transform: translateY(-48%); width: min(760px, 50vw); }
.hero-kicker, .section-kicker { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .27em; color: var(--cyan); margin-bottom: 22px; }
.hero-copy h1 { margin: 0; font-size: clamp(3.15rem, 5.55vw, 6.35rem); line-height: .96; letter-spacing: -.07em; text-shadow: 0 4px 30px rgba(0,0,0,.22); }
.hero-copy p { max-width: 515px; margin: 28px 0 0; font-size: clamp(1rem, 1.28vw, 1.24rem); line-height: 1.8; color: rgba(255,255,255,.82); }
.compact-copy { top: auto; bottom: 122px; transform: none; width: min(520px, 43vw); }
.compact-copy p { font-size: clamp(1rem,1.3vw,1.2rem); background: rgba(3,15,29,.66); backdrop-filter: blur(10px); padding: 16px 20px; border-left: 3px solid var(--cyan); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; border: 1px solid transparent; border-radius: 999px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: .9rem; font-weight: 800; cursor: pointer; transition: transform .25s, background .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #001421; background: linear-gradient(135deg, var(--cyan), #12a8ff); box-shadow: 0 16px 38px rgba(19,184,255,.25); }
.button-ghost { color: #fff; background: rgba(5,17,31,.22); border-color: rgba(255,255,255,.48); backdrop-filter: blur(10px); }
.button-dark { color: #fff; background: var(--ink); }
.slide-name { position: absolute; right: clamp(26px, 4vw, 70px); bottom: 121px; z-index: 2; font-size: .83rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.82); writing-mode: vertical-rl; }
.slide-name span { color: var(--cyan); margin-bottom: 12px; }

.carousel-control { position:absolute; z-index:5; left:50%; bottom:26px; transform:translateX(-50%); display:flex; align-items:center; gap:10px; }
.carousel-dots { display:flex; align-items:center; gap:13px; min-height:48px; padding:0 19px; border-radius:999px; background:rgba(94,94,94,.52); backdrop-filter:blur(14px); box-shadow:0 8px 28px rgba(0,0,0,.2); }
.progress-item { width:13px; height:13px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.55); cursor:pointer; overflow:hidden; }
.progress-dot { display:block; width:100%; height:100%; border-radius:inherit; }
.progress-dot i { display:block; width:100%; height:100%; border-radius:inherit; background:#fff; transform:scale(0); opacity:0; }
.progress-item.is-active .progress-dot i { animation:dotProgress 5s linear forwards; opacity:1; }
.hero-screen.is-paused .progress-item.is-active .progress-dot i { animation-play-state:paused; }
.pause-button { height:48px; width:48px; border:0; border-radius:50%; background:rgba(94,94,94,.52); color:#fff; cursor:pointer; backdrop-filter:blur(14px); box-shadow:0 8px 28px rgba(0,0,0,.2); font-size:1.05rem; }
@keyframes dotProgress { from { transform:scale(.35); opacity:.72; } to { transform:scale(1); opacity:1; } }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.scroll-cue { position: absolute; z-index: 5; right: clamp(28px, 6.6vw, 112px); bottom: 31px; display: none; align-items: center; gap: 12px; font-size: .62rem; letter-spacing: .18em; color: rgba(255,255,255,.58); }
.scroll-cue i { width: 38px; height: 1px; background: currentColor; }

.challenge-screen { background: var(--paper); padding: 112px clamp(24px, 5.5vw, 96px) 32px; display: flex; flex-direction: column; }
.challenge-heading { display: grid; grid-template-columns: 1.2fr .7fr; align-items: end; gap: 44px; max-width: 1550px; width: 100%; margin: 0 auto 44px; }
.challenge-heading .section-kicker { color: #297ad6; margin-bottom: 12px; }
.challenge-heading h2 { margin: 0; font-size: clamp(3rem, 5.4vw, 6.4rem); line-height: .98; letter-spacing: -.065em; }
.challenge-heading > p { margin: 0 0 7px; font-size: 1.05rem; line-height: 1.85; color: #536070; max-width: 500px; }
.challenge-layout { flex: 1; min-height: 410px; display: grid; grid-template-columns: minmax(260px,.58fr) 2fr; gap: 26px; max-width: 1550px; width: 100%; margin: 0 auto; }
.challenge-intro { background: #fff; border: 1px solid rgba(13,23,36,.08); padding: clamp(25px,3vw,48px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; }
.intro-lead { margin: 0 0 16px; color: #6c7784; font-size: .88rem; }
.challenge-intro blockquote { margin: 0 0 auto; font-size: clamp(1.65rem,2.25vw,2.65rem); line-height: 1.35; letter-spacing: -.04em; font-weight: 800; }
.text-link { align-self: flex-start; border: 0; border-bottom: 1px solid #111; background: transparent; padding: 8px 0; cursor: pointer; font-weight: 800; }
.challenge-cards { display: grid; grid-template-columns: repeat(4,1fr); min-width: 0; }
.challenge-card { position: relative; min-width: 0; min-height: 360px; border: 0; border-right: 1px solid rgba(255,255,255,.28); padding: 24px; overflow: hidden; color: #fff; text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.challenge-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: saturate(.72); transition: transform .55s var(--ease), filter .4s; }
.challenge-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3,13,25,.9), rgba(3,13,25,.06) 72%); transition: background .35s; }
.challenge-card:hover::before { transform: scale(1.06); filter: saturate(1); }
.challenge-card:hover::after { background: linear-gradient(0deg, rgba(3,13,25,.92), rgba(3,13,25,.16)); }
.card-vision::before { background-image: url('../images/challenge-vision.png'); background-position: 70% center; }
.card-vlm::before { background-image: url('../images/challenge-vlm.png'); background-position: 61% center; }
.card-edge::before { background-image: url('../images/challenge-edge.png'); background-position: 91% center; }
.card-platform::before { background-image: url('../images/challenge-platform.png'); background-position: 73% center; }
.card-number { color: var(--cyan); font: 800 .72rem/1 monospace; letter-spacing: .14em; }
.challenge-card small { display: block; margin-bottom: 9px; color: var(--cyan); font-size: .7rem; letter-spacing: .12em; }
.challenge-card strong { display: block; font-size: clamp(1.15rem,1.5vw,1.7rem); line-height: 1.12; }
.challenge-card p { margin: 12px 0 0; color: rgba(255,255,255,.74); font-size: .82rem; line-height: 1.65; }
.challenge-card > i { position: absolute; right: 21px; top: 20px; font-style: normal; opacity: .65; }
.recruitment-band { max-width: 1550px; width: 100%; margin: 25px auto 0; display: grid; grid-template-columns: .9fr 1.1fr; border-top: 1px solid rgba(13,23,36,.14); padding-top: 22px; gap: 42px; }
.backing-copy { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.backing-copy span { font-size: .64rem; color: #297ad6; letter-spacing: .16em; font-weight: 900; white-space: nowrap; }
.backing-copy p { margin: 0; color: #5b6775; font-size: .82rem; line-height: 1.6; }
.recruitment-action { display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.recruitment-action > div { display: grid; gap: 4px; }
.recruitment-action small { color: #6b7581; }
.recruitment-action strong { font-size: .94rem; }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: #f4f6f8; padding: 90px 28px; display: flex; flex-direction: column; gap: 26px; transform: translateX(100%); transition: transform .4s var(--ease); }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a, .mobile-menu button:not(.mobile-close) { border: 0; background: transparent; text-align: left; font-size: 1.8rem; font-weight: 800; padding: 0; cursor: pointer; }
.mobile-close { position: absolute; right: 22px; top: 20px; width: 48px; height: 48px; border: 0; background: transparent; font-size: 2rem; }

.modal { position: fixed; inset: 0; z-index: 100; background: rgba(1,8,16,.77); padding: 34px; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; backdrop-filter: blur(10px); }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-panel { position: relative; width: min(760px, 100%); max-height: calc(100svh - 68px); overflow: auto; background: #f7f8fa; padding: clamp(28px,4vw,58px); box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(22px); transition: transform .35s var(--ease); }
.modal.is-open .modal-panel { transform: translateY(0); }
.wide-panel { width: min(1050px, 100%); }
.modal-close { position: absolute; right: 18px; top: 15px; width: 42px; height: 42px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.modal-panel .section-kicker { color: #297ad6; margin-bottom: 14px; }
.modal-panel h2 { margin: 0; font-size: clamp(2.3rem,4vw,4.6rem); line-height: 1; letter-spacing: -.055em; }
.modal-lead { max-width: 780px; line-height: 1.8; color: #576574; }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #dbe0e5; margin: 28px 0; border: 1px solid #dbe0e5; }
.job-item { border: 0; background: #fff; padding: 20px; text-align: left; cursor: pointer; transition: background .2s; }
.job-item:hover { background: #e9f7ff; }
.job-item span { display: block; font-weight: 800; }
.job-item small { display: block; margin-top: 7px; color: #697481; }
.interest-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.interest-form label, .contact-form label { display: grid; gap: 7px; font-size: .75rem; font-weight: 800; }
.interest-form input, .interest-form select, .contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cfd6dd; background: #fff; min-height: 48px; padding: 10px 12px; border-radius: 0; outline: none; }
.interest-form input:focus, .interest-form select:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #168ad2; box-shadow: 0 0 0 3px rgba(21,185,255,.13); }
.form-note { display: block; margin-top: 10px; color: #7a8490; }
.story-panel { width: min(850px,100%); }
.story-image { margin: 28px 0; aspect-ratio: 16/7; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-panel > p { font-size: 1rem; line-height: 1.9; color: #4e5b69; }
.contact-panel { width: min(660px,100%); }
.contact-form { display: grid; gap: 16px; margin-top: 28px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%,25px); background: #061427; color: #fff; border-radius: 999px; padding: 13px 22px; font-size: .82rem; opacity: 0; pointer-events: none; transition: .3s; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
body.modal-open { overflow: hidden; }

@media (max-width: 1150px) {
  .challenge-heading { margin-bottom: 28px; }
  .challenge-layout { grid-template-columns: 1fr; }
  .challenge-intro { min-height: 0; padding: 24px; flex-direction: row; align-items: center; gap: 24px; }
  .challenge-intro blockquote { margin: 0 auto 0 0; font-size: 1.65rem; }
  .intro-lead { display: none; }
  .challenge-cards { min-height: 330px; }
  .challenge-screen { min-height: auto; padding-bottom: 44px; }
}
@media (max-width: 850px) {
  html { scroll-snap-type: none; }
  .site-header { height: 66px; padding: 0 20px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; color: inherit; }
  .hero-screen { min-height: 100svh; }
  .hero-slide > img { object-position: 63% center; }
  .hero-copy { left: 22px; right: 22px; top: auto; bottom: 126px; width: auto; transform: none; }
  .hero-copy h1 { font-size: clamp(2.75rem,11.3vw,4.25rem); }
  .hero-copy p { margin-top: 17px; max-width: 93%; font-size: .94rem; line-height: 1.65; }
  .hero-kicker { margin-bottom: 14px; font-size: .64rem; }
  .hero-actions { margin-top: 22px; }
  .button { min-height: 44px; padding: 0 18px; font-size: .82rem; }
  .platform-slide > img { object-position: 68% center; }
  .compact-copy { bottom: 128px; }
  .compact-copy p { background: rgba(3,15,29,.72); max-width: 96%; }
  .slide-name { display: none; }
  .carousel-control { bottom: 22px; }
  .carousel-dots { min-height: 42px; padding: 0 16px; gap: 11px; }
  .progress-item { width: 11px; height: 11px; }
  .pause-button { height: 42px; width: 42px; }
  .challenge-screen { padding: 92px 20px 34px; }
  .challenge-heading { grid-template-columns: 1fr; gap: 18px; }
  .challenge-heading h2 { font-size: clamp(3rem,14vw,5.3rem); }
  .challenge-heading > p { font-size: .92rem; }
  .challenge-intro { display: block; }
  .challenge-intro blockquote { font-size: 1.55rem; margin-bottom: 20px; }
  .challenge-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px; gap: 10px; }
  .challenge-card { flex: 0 0 76vw; min-height: 390px; scroll-snap-align: start; border: 0; }
  .recruitment-band { grid-template-columns: 1fr; gap: 20px; }
  .recruitment-action { align-items: flex-start; justify-content: space-between; gap: 15px; }
  .backing-copy { grid-template-columns: 1fr; gap: 8px; }
  .interest-form { grid-template-columns: 1fr; }
  .job-grid { grid-template-columns: 1fr; }
  .modal { padding: 12px; }
  .modal-panel { max-height: calc(100svh - 24px); padding: 38px 22px 26px; }
}
@media (max-width: 520px) {
  .hero-copy p { display: none; }
  .hero-copy { bottom: 120px; }
  .hero-actions { margin-top: 18px; }
  .button-ghost { background: rgba(3,15,29,.55); }
  .carousel-control { display:flex; }
  .pause-button { display:flex; align-items:center; justify-content:center; }
  .recruitment-action { flex-direction: column; }
  .challenge-card { flex-basis: 84vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.brand-logo { display:block; width:100%; height:100%; object-fit:contain; object-position:left center; }
.brand-logo-color { display:none; }
.site-header.is-light .brand-logo-white { display:none; }
.site-header.is-light .brand-logo-color { display:block; }

.hero-copy h1 span { display:block; white-space:nowrap; }

@media (max-width:850px){ .brand{width:210px;height:44px;} }
@media (max-width:520px){ .brand{width:190px;height:40px;} .hero-copy h1 span{white-space:nowrap;} }


/* v4：固定品牌橫幅、放大品牌識別、五秒動態輪播進度 */
:root { --header-height: 92px; }
body { padding-top: var(--header-height); background: #fff; }
.site-header,
.site-header.is-light {
  height: var(--header-height);
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border-bottom: 1px solid rgba(13,23,36,.1);
  box-shadow: 0 10px 30px rgba(6,20,39,.06);
  backdrop-filter: blur(18px);
  transition: none;
}
.brand { width: clamp(300px, 25vw, 430px); height: 68px; }
.brand-logo-white { display: none !important; }
.brand-logo-color { display: block !important; }
.hero-screen,
.challenge-screen { min-height: calc(100svh - var(--header-height)); }

.carousel-dots { gap: 12px; padding: 0 18px; }
.progress-item {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  transition: width .28s var(--ease), background .28s;
}
.progress-item.is-active {
  width: 34px;
  background: rgba(255,255,255,.28);
}
.progress-dot { position: relative; overflow: hidden; }
.progress-dot i {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #fff;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
}
.progress-item.is-active .progress-dot i { animation: dotProgressFill 5s linear forwards; }
.hero-screen.is-paused .progress-item.is-active .progress-dot i { animation-play-state: paused; }
@keyframes dotProgressFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 850px) {
  :root { --header-height: 74px; }
  .site-header,
  .site-header.is-light { height: var(--header-height); padding: 0 18px; }
  .brand { width: 245px; height: 52px; }
  .hero-screen { min-height: calc(100svh - var(--header-height)); }
  .carousel-dots { min-height: 42px; padding: 0 16px; gap: 10px; }
  .progress-item { width: 10px; height: 10px; }
  .progress-item.is-active { width: 30px; }
}
@media (max-width: 520px) {
  .brand { width: 218px; height: 48px; }
}


/* v5：深色固定導覽列、中華電信關係企業識別與三色帶 */
body { background: var(--navy); }
.site-header,
.site-header.is-light {
  background: rgba(4, 16, 31, .96);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
  backdrop-filter: blur(18px);
}
.brand-logo-white { display: block !important; }
.brand-logo-color { display: none !important; }
.desktop-nav .industry-link { opacity: .68; }

.challenge-screen { padding-bottom: 0; }
.recruitment-band { margin-bottom: 34px; }
.backing-copy span { color: #297ad6; }
.backing-copy p { font-size: .92rem; font-weight: 800; color: #273649; letter-spacing: .02em; }

.cht-affiliation {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-top: auto;
  background: #fff;
  border-top: 1px solid rgba(13,23,36,.1);
  overflow: hidden;
}
.cht-affiliation-inner {
  min-height: 124px;
  max-width: 1550px;
  margin: 0 auto;
  padding: 25px clamp(24px, 5.5vw, 96px) 23px;
  display: grid;
  grid-template-columns: minmax(270px, .65fr) minmax(420px, 1.35fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}
.cht-brand-lockup { display: flex; align-items: center; gap: 18px; min-width: 0; }
.cht-logo { width: clamp(170px, 15vw, 245px); height: auto; flex: 0 0 auto; }
.cht-relation-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-left: 1px solid rgba(13,23,36,.22);
  color: #4f5d6b;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}
.cht-statement {
  margin: 0;
  color: #26384b;
  font-size: clamp(.98rem, 1.25vw, 1.26rem);
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: .01em;
}
.cht-tricolor-band { width: 100%; height: 28px; object-fit: fill; }

@media (max-width: 850px) {
  .cht-affiliation { left: 50%; width: 100vw; margin-left: -50vw; }
  .cht-affiliation-inner { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px 22px; }
  .cht-brand-lockup { gap: 13px; }
  .cht-logo { width: min(210px, 55vw); }
  .cht-relation-badge { font-size: .7rem; padding-left: 10px; }
  .cht-tricolor-band { height: 22px; }
}
@media (max-width: 520px) {
  .cht-brand-lockup { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cht-relation-badge { border-left: 0; border-top: 1px solid rgba(13,23,36,.18); padding: 8px 0 0; }
}


/* v6：中華電信三色帶置頂的完整頁尾，集團資源與辦公據點皆位於橫幅下方 */
.group-footer {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-top: 34px;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid rgba(13,23,36,.08);
}
.group-footer-stripe {
  width: 100%;
  height: 28px;
  object-fit: fill;
}
.group-footer-inner {
  max-width: 1550px;
  min-height: 190px;
  margin: 0 auto;
  padding: 30px clamp(24px, 5.5vw, 96px) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}
.group-footer-copy { min-width: 0; }
.group-footer-kicker {
  display: block;
  margin-bottom: 10px;
  color: #297ad6;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
}
.group-footer-copy > p {
  max-width: 880px;
  margin: 0;
  color: #26384b;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  font-weight: 700;
  line-height: 1.65;
}
.group-footer-office {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(13,23,36,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.group-footer-office > div { display: grid; gap: 5px; }
.group-footer-office small { color: #6b7581; }
.group-footer-office strong { font-size: .96rem; }
.group-footer-brand {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.group-footer-brand img {
  width: clamp(205px, 17vw, 280px);
  height: auto;
}
.group-footer-brand span {
  padding-left: 18px;
  border-left: 1px solid rgba(13,23,36,.22);
  color: #297ad6;
  font-size: clamp(.95rem, 1.15vw, 1.18rem);
  font-weight: 800;
  letter-spacing: .05em;
  white-space: nowrap;
}
@media (max-width: 850px) {
  .group-footer { margin-top: 28px; }
  .group-footer-stripe { height: 22px; }
  .group-footer-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
    padding: 26px 20px 30px;
  }
  .group-footer-brand { justify-self: start; order: -1; }
  .group-footer-brand img { width: min(230px, 58vw); }
  .group-footer-office { align-items: flex-start; }
}
@media (max-width: 520px) {
  .group-footer-brand { align-items: flex-start; flex-direction: column; gap: 8px; }
  .group-footer-brand span {
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(13,23,36,.18);
  }
  .group-footer-office { flex-direction: column; }
}


/* v7 adjustments */
.group-footer-inner-v2{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;min-height:140px;padding:24px clamp(24px,5.5vw,96px) 30px;}
.left-brand{justify-self:start;display:flex;align-items:center;gap:12px;}
.left-brand img{height:42px;width:auto;}
.left-brand span{font-size:18px;font-weight:700;color:#2560b8;}
.center-copy{display:flex;flex-direction:column;gap:8px;align-items:flex-start;}
.center-copy .group-footer-kicker{font-size:12px;letter-spacing:.16em;color:#5f7094;}
.center-copy p{margin:0;font-size:18px;line-height:1.6;max-width:760px;}
.right-office{justify-self:end;display:flex;flex-direction:column;gap:8px;align-items:flex-end;}
.right-office small{font-size:12px;letter-spacing:.12em;color:#6a7792;text-transform:uppercase;}
.right-office strong{font-size:20px;line-height:1.45;color:var(--ink);text-align:right;}
.solution-panel{max-width:min(1180px,92vw);padding:48px clamp(22px,3vw,34px);}
.solution-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 22px;}
.solution-tab{border:1px solid rgba(27,58,123,.18);background:#f4f7fc;color:#274168;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer;transition:.2s ease;}
.solution-tab.is-active{background:#163970;color:#fff;border-color:#163970;box-shadow:0 10px 30px rgba(22,57,112,.18);}
.solution-view{display:none;}
.solution-view.is-active{display:block;animation:fadeIn .25s ease;}
.solution-hero-text{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:18px;}
.solution-hero-text h3,.solution-view h3{margin:6px 0 10px;font-size:32px;line-height:1.15;color:var(--ink);}
.solution-hero-text p,.solution-view p{margin:0;color:#57657c;line-height:1.75;font-size:16px;}
.mini-kicker{display:inline-block;font-size:12px;letter-spacing:.16em;font-weight:800;color:#6b7ea8;}
.solution-tags{display:flex;flex-wrap:wrap;gap:8px;}
.solution-tags span,.solution-feature-box span{display:inline-flex;align-items:center;padding:8px 12px;background:#eef3fb;border-radius:999px;color:#385170;font-weight:700;font-size:14px;}
.architecture-card{border:1px solid rgba(17,41,78,.08);background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border-radius:28px;padding:26px;box-shadow:0 18px 60px rgba(17,41,78,.08);}
.arch-header h4{margin:0 0 8px;font-size:28px;color:#163970;}.arch-header p{margin:0 0 22px;color:#60708a;}
.architecture-flow{display:flex;align-items:stretch;gap:10px;overflow:auto;padding-bottom:6px;}
.arch-step{min-width:170px;border-radius:24px;padding:18px 16px;color:#163970;background:#fff;border:2px solid #dbe6f8;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);}.arch-step.wide{min-width:240px;}
.arch-step h5{margin:10px 0 12px;font-size:20px;line-height:1.2;}.arch-step ul{margin:0;padding-left:18px;color:#55657d;display:grid;gap:8px;font-size:14px;line-height:1.55;}
.arch-step .num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;font-weight:900;background:rgba(255,255,255,.8);}
.arch-step.teal{border-color:#19a4a6;background:linear-gradient(180deg,#ecfbfb,#fff);} .arch-step.green{border-color:#75bc43;background:linear-gradient(180deg,#f2faeb,#fff);} .arch-step.blue{border-color:#2f7bdd;background:linear-gradient(180deg,#eef5ff,#fff);} .arch-step.purple{border-color:#9573e6;background:linear-gradient(180deg,#f5f0ff,#fff);} .arch-step.orange{border-color:#f09a2b;background:linear-gradient(180deg,#fff4e7,#fff);} 
.arch-arrow{display:flex;align-items:center;justify-content:center;min-width:28px;font-size:28px;font-weight:900;color:#6a7ea4;}
.arch-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.arch-grid span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:58px;padding:10px;border-radius:16px;background:#fff;border:1px solid #d9e6fa;color:#36547d;font-weight:700;font-size:14px;}
.arch-bottom{display:grid;grid-template-columns:220px 1fr;gap:14px;margin-top:22px;align-items:stretch;}.arch-user{background:#2d72d2;color:#fff;border-radius:18px;padding:18px;font-weight:800;display:flex;align-items:center;justify-content:center;text-align:center;}
.arch-ecosystem{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;}.arch-ecosystem span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:76px;border-radius:18px;background:#fff;border:1px dashed #c5d4eb;color:#49617f;font-weight:700;padding:10px;}
.arch-summary{margin:18px 0 0;padding:14px 18px;border-radius:16px;background:#143a71;color:#fff;font-weight:700;line-height:1.6;}
.solution-view-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start;padding-top:8px;}
.bullet-list{margin:16px 0 0;padding-left:18px;color:#56667d;display:grid;gap:10px;line-height:1.7;}
.solution-feature-box{display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:24px;background:linear-gradient(180deg,#f8fbff,#eef3fb);border:1px solid rgba(17,41,78,.08);} .solution-feature-box strong{font-size:18px;color:#15376e;}
@media (max-width: 980px){.group-footer-inner-v2{grid-template-columns:1fr;justify-items:start;gap:18px;}.right-office{justify-self:start;align-items:flex-start;}.right-office strong{text-align:left;}.solution-view-grid{grid-template-columns:1fr;}.arch-bottom{grid-template-columns:1fr;}.arch-ecosystem{grid-template-columns:repeat(2,1fr);}}
@media (max-width: 720px){.left-brand img{height:34px;}.left-brand span{font-size:16px;}.center-copy p{font-size:16px;}.right-office strong{font-size:18px;}.solution-hero-text h3,.solution-view h3{font-size:26px;}.arch-header h4{font-size:22px;}.architecture-card{padding:18px;}}

.group-footer-legal{grid-column:1 / -1;margin-top:6px;padding-top:10px;border-top:1px solid rgba(17,41,78,.08);font-size:13px;line-height:1.7;color:#66738b;}
@media (max-width:980px){.group-footer-legal{margin-top:0;}}

/* v9：架構圖改為無水平捲動的響應式版面 */
.solution-panel{
  width:min(1380px,96vw);
  max-width:min(1380px,96vw);
  max-height:92vh;
  overflow-y:auto;
  overflow-x:hidden;
}
.architecture-card{
  overflow:hidden;
}
.architecture-flow{
  display:grid;
  grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1.28fr) 24px minmax(0,1fr) 24px minmax(0,1fr);
  align-items:stretch;
  gap:8px;
  overflow:visible;
  padding-bottom:0;
}
.arch-step,
.arch-step.wide{
  min-width:0;
  width:auto;
  border-radius:20px;
  padding:15px 13px;
}
.arch-step h5{
  margin:9px 0 10px;
  font-size:clamp(15px,1.15vw,18px);
}
.arch-step ul{
  padding-left:16px;
  gap:6px;
  font-size:clamp(11px,.82vw,13px);
  line-height:1.5;
}
.arch-step .num{
  width:30px;
  height:30px;
  font-size:13px;
}
.arch-arrow{
  min-width:0;
  width:auto;
  font-size:20px;
}
.arch-grid{
  gap:7px;
}
.arch-grid span{
  min-height:44px;
  padding:7px 5px;
  border-radius:12px;
  font-size:clamp(10px,.75vw,12px);
  line-height:1.35;
}
.arch-bottom{
  grid-template-columns:minmax(170px,.22fr) minmax(0,1fr);
  gap:12px;
  margin-top:18px;
}
.arch-user{
  padding:14px;
  border-radius:15px;
  font-size:14px;
}
.arch-ecosystem{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
}
.arch-ecosystem span{
  min-width:0;
  min-height:62px;
  padding:8px 5px;
  border-radius:14px;
  font-size:clamp(10px,.78vw,13px);
  line-height:1.35;
}
.arch-summary{
  margin-top:14px;
  padding:12px 15px;
  font-size:14px;
}
@media (max-width:1180px){
  .architecture-flow{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
  }
  .arch-arrow{display:none;}
  .arch-step h5{font-size:15px;}
  .arch-step ul{font-size:11px;}
  .arch-grid span{font-size:10.5px;}
}
@media (max-width:900px){
  .solution-panel{
    width:min(94vw,820px);
    max-width:min(94vw,820px);
    padding:38px 20px 26px;
  }
  .architecture-flow{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .arch-step.blue{
    grid-column:1 / -1;
  }
  .arch-step{
    min-height:auto;
  }
  .arch-step h5{font-size:17px;}
  .arch-step ul{font-size:13px;}
  .arch-grid span{font-size:12px;}
  .arch-bottom{
    grid-template-columns:1fr;
  }
  .arch-ecosystem{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .arch-ecosystem span{font-size:12px;}
}
@media (max-width:560px){
  .solution-panel{
    width:96vw;
    max-width:96vw;
    max-height:94vh;
    padding:34px 14px 20px;
  }
  .architecture-card{
    padding:16px 12px;
    border-radius:20px;
  }
  .architecture-flow{
    grid-template-columns:1fr;
  }
  .arch-step.blue{
    grid-column:auto;
  }
  .arch-step{
    padding:15px;
  }
  .arch-step h5{font-size:18px;}
  .arch-step ul{font-size:13px;}
  .arch-ecosystem{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .arch-header h4{font-size:20px;}
  .arch-header p{font-size:14px;}
}

/* v10：第二頁技術主題互動、職缺純展示 */
.challenge-intro { justify-content: center; }
.challenge-intro blockquote { margin-bottom: 0; }
.career-panel .job-grid { margin-bottom: 0; }
.job-item { cursor: default; }
.job-item:hover { background: #fff; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.job-meta em { font-style: normal; font-size: .72rem; font-weight: 700; color: #4e6480; background: #edf3fa; border-radius: 999px; padding: 6px 9px; }
.job-loading, .job-empty { grid-column: 1 / -1; background: #fff; padding: 24px; color: #657383; line-height: 1.7; }
.tech-panel { width: min(980px, 100%); }
.tech-detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); gap: 28px; margin-top: 30px; align-items: stretch; }
.tech-detail-grid h3 { margin: 0 0 16px; font-size: 1.25rem; color: #173b70; }
.tech-points { margin: 0; padding-left: 20px; display: grid; gap: 13px; color: #4f6075; line-height: 1.75; }
.tech-callout { border-radius: 24px; padding: 24px; background: linear-gradient(145deg, #0a1d35, #163f72); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; }
.tech-callout small { color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.tech-callout strong { margin-top: 10px; font-size: 1.35rem; line-height: 1.3; }
.tech-callout p { margin: 16px 0 0; color: rgba(255,255,255,.74); line-height: 1.75; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(13,23,36,.1); }
.tech-tags span { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #e8f0fa; color: #294d78; font-size: .78rem; font-weight: 800; }
@media (max-width: 850px) {
  .tech-detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .tech-callout { min-height: 0; }
}
