/* ============================================================
   CTSi — Corporate Design System (international enterprise style)
   Brand: CIS Orange #F04405 as accent · white · near-black · navy
   Reference tone: orange.com / telekom.com — photography-led,
   strict grid, generous whitespace, square accents, no gimmicks
   ============================================================ */
:root {
  --brand: #F04405;
  --brand-dark: #D23A02;
  --ink: #141414;
  --ink-2: #333A40;
  --gray: #5A6470;
  --gray-l: #8B949D;
  --line: #E3E6E9;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F7;
  --navy: #1B3A52;
  --navy-deep: #14283A;
  --font-latin: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Noto Sans TC', 'PingFang TC', sans-serif;
  --wrap: 1200px;
}
html[lang="zh-tw"] { --font-body: 'Noto Sans TC', 'PingFang TC', sans-serif; }
html[lang="zh-cn"] { --font-body: 'Noto Sans SC', 'PingFang SC', sans-serif; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { width: min(var(--wrap), 90vw); margin: 0 auto; }

/* ---------- Micro label: orange square + uppercase ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-latin); font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
}
.label::before { content: ""; width: 10px; height: 10px; background: var(--brand); }

h1, h2, h3 { font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h2.sec { font-size: clamp(30px, 3.6vw, 44px); margin: 18px 0 20px; max-width: 820px; }
.lead { color: var(--gray); font-size: 17.5px; max-width: 760px; }
section { padding: 104px 0; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy-deep); color: #B9C6D2; font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar .co { font-family: var(--font-latin); letter-spacing: .08em; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 2px 10px; color: #B9C6D2; font-weight: 500; }
.lang a.on { background: var(--brand); color: #fff; }
.lang a:not(.on):hover { color: #fff; }

/* ---------- Header ---------- */
header.main {
  position: sticky; top: 0; z-index: 200; background: #fff;
  border-bottom: 1px solid var(--line);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 30px; }
.navbar .logo img { height: 46px; width: auto; }
nav.primary { display: flex; gap: 4px; align-items: center; }
nav.primary > a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 30px 16px; position: relative; white-space: nowrap;
}
nav.primary > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 3px; background: transparent; transition: background .2s;
}
nav.primary > a:hover::after, nav.primary > a.active::after { background: var(--brand); }
nav.primary > a.active { color: var(--ink); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-latin); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 2px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.btn .ar { transition: transform .2s; }
.btn:hover .ar { transform: translateX(4px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border: 2px solid #fff; color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-line-dark { border: 2px solid var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 8px; }

/* ---------- Hero (photography-led) ---------- */
.hero {
  position: relative; color: #fff; display: flex; align-items: flex-end;
  min-height: clamp(520px, 68vh, 720px); padding: 0;
}
.hero .media { position: absolute; inset: 0; overflow: hidden; }
.hero .media img { width: 100%; height: 100%; object-fit: cover; }
.hero .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(10,24,36,.82) 0%, rgba(10,24,36,.45) 52%, rgba(10,24,36,.12) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 120px 0 84px; }
.hero .accent { width: 56px; height: 6px; background: var(--brand); margin-bottom: 26px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); max-width: 780px; }
.hero p { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; color: rgba(255,255,255,.88); }
.hero .btns { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Key figures ---------- */
.figures { border-bottom: 1px solid var(--line); padding: 64px 0; }
.figures .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.fig { border-left: 1px solid var(--line); padding-left: 28px; }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig b { display: block; font-family: var(--font-latin); font-size: clamp(34px, 3.4vw, 50px); font-weight: 700; line-height: 1.1; }
.fig b i { font-style: normal; color: var(--brand); }
.fig span { color: var(--gray); font-size: 14.5px; letter-spacing: .02em; }

/* ---------- Split intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .photo img { width: 100%; height: 460px; object-fit: cover; }
.tlink {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--brand); padding-bottom: 4px;
}
.tlink .ar { color: var(--brand); transition: transform .2s; }
.tlink:hover .ar { transform: translateX(5px); }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 54px; }
.card {
  background: #fff; border: 1px solid var(--line); padding: 38px 34px;
  display: flex; flex-direction: column; min-height: 300px;
  transition: border-color .2s, transform .2s, box-shadow .2s; position: relative;
}
.card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,40,58,.08); }
.card .k {
  font-family: var(--font-latin); font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; color: var(--brand); margin-bottom: 18px;
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 15px; flex: 1; }
.card ul { margin-top: 16px; display: grid; gap: 8px; }
.card ul li { font-size: 14.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--brand); }
.card .ar-corner { margin-top: 26px; color: var(--brand); font-family: var(--font-latin); font-weight: 600; font-size: 14px; }

/* ---------- Product band (soft bg) ---------- */
.band-soft { background: var(--bg-soft); }
.pcard { background: #fff; border: 1px solid var(--line); padding: 34px 30px; transition: border-color .2s; }
.pcard:hover { border-color: var(--navy); }
.pcard h3 { font-size: 18px; margin: 14px 0 10px; }
.pcard p { color: var(--gray); font-size: 14.5px; }
.pcard .ico { width: 46px; height: 46px; display: grid; place-items: center; background: var(--bg-soft); }
.pcard .ico svg { width: 24px; height: 24px; stroke: var(--navy); }

/* ---------- Quality / certifications ---------- */
.qrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 54px; }
.qcard { border-top: 3px solid var(--brand); background: #fff; border-bottom: 1px solid var(--line); padding: 30px 4px 30px 0; }
.qcard .badge {
  display: inline-block; font-family: var(--font-latin); font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; color: var(--navy); background: #EAF0F5; padding: 4px 10px; margin-bottom: 16px;
}
.qcard h3 { font-size: 17.5px; margin-bottom: 10px; }
.qcard p { color: var(--gray); font-size: 14px; }
.note-line { margin-top: 44px; padding: 22px 28px; background: var(--bg-soft); border-left: 3px solid var(--navy); color: var(--ink-2); font-size: 15px; }

/* ---------- Dark CTA band ---------- */
.cta { background: var(--navy-deep); color: #fff; padding: 96px 0; }
.cta .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); }
.cta p { color: #AEBECB; margin-top: 16px; max-width: 520px; }
.cta .contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 36px; }
.cta .contact-card div { display: flex; gap: 14px; margin-bottom: 16px; font-size: 15px; color: #DCE5EC; align-items: baseline; }
.cta .contact-card b { color: #fff; }
.cta .contact-card .sq { color: var(--brand); font-family: var(--font-latin); }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #9FB0BE; border-top: 1px solid rgba(255,255,255,.08); }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 72px 0 56px; }
.fgrid .logo-card { background: #fff; display: inline-block; padding: 12px 16px; margin-bottom: 22px; }
.fgrid .logo-card img { height: 40px; }
.fgrid h4 {
  color: #fff; font-family: var(--font-latin); font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px;
}
.fgrid a, .fgrid li { display: block; font-size: 14.5px; margin-bottom: 10px; color: #9FB0BE; }
.fgrid a:hover { color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 12.5px; }
.legal .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- About page ---------- */
.page-hero { position: relative; color: #fff; min-height: 380px; display: flex; align-items: flex-end; }
.page-hero .media { position: absolute; inset: 0; overflow: hidden; }
.page-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(80deg, rgba(10,24,36,.85), rgba(10,24,36,.3)); }
.page-hero .wrap { position: relative; z-index: 2; padding: 90px 0 60px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 14px; font-family: var(--font-latin); }
.crumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }

.statement { padding: 110px 0; }
.statement p.big {
  font-size: clamp(24px, 2.9vw, 36px); font-weight: 600; line-height: 1.5;
  max-width: 980px; margin-top: 26px; letter-spacing: -0.01em;
}
.statement p.big em { font-style: normal; color: var(--brand); }

.profile { background: var(--bg-soft); }
.profile-t { margin-top: 50px; border-top: 2px solid var(--ink); }
.profile-t .row { display: grid; grid-template-columns: 260px 1fr; border-bottom: 1px solid var(--line); background: #fff; }
.profile-t .row:nth-child(even) { background: var(--bg-soft); }
.profile-t .row dt { padding: 18px 26px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); border-right: 1px solid var(--line); }
.profile-t .row dd { padding: 18px 26px; font-size: 15px; color: var(--ink); }

.leader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 54px; }
.leader { background: #fff; }
.leader .ph { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-soft); }
.leader .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.leader:hover .ph img { transform: scale(1.03); }
.leader .who { border-bottom: 1px solid var(--line); padding: 20px 2px 24px; }
.leader .who b { font-size: 18px; display: block; }
.leader .who span { color: var(--gray); font-size: 14px; }
.leader .who .en { font-family: var(--font-latin); font-size: 12.5px; letter-spacing: .1em; color: var(--gray-l); text-transform: uppercase; margin-top: 2px; display: block; }

.quote-band { background: var(--navy); color: #fff; padding: 100px 0; }
.quote-band .wrap { display: grid; grid-template-columns: 320px 1fr; gap: 70px; align-items: center; }
.quote-band .ph { aspect-ratio: 4/5; overflow: hidden; }
.quote-band .ph img { width: 100%; height: 100%; object-fit: cover; }
.quote-band blockquote { font-size: clamp(20px, 2.2vw, 27px); font-weight: 500; line-height: 1.65; }
.quote-band blockquote::before { content: ""; display: block; width: 56px; height: 6px; background: var(--brand); margin-bottom: 30px; }
.quote-band cite { display: block; margin-top: 28px; font-style: normal; color: #AEBECB; font-size: 15px; }
.quote-band cite b { color: #fff; font-size: 17px; display: block; }

.gallery { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-top: 54px; }
.gallery figure { position: relative; overflow: hidden; }
.gallery figure img { width: 100%; height: 420px; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; bottom: 0; background: rgba(10,24,36,.78); color: #fff;
  font-size: 13px; padding: 8px 16px; font-family: var(--font-latin); letter-spacing: .06em;
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.value { border-top: 2px solid var(--ink); padding-top: 22px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value h3 i { font-style: normal; color: var(--brand); margin-right: 8px; font-family: var(--font-latin); }
.value p { color: var(--gray); font-size: 14.5px; }

.timeline-v { margin-top: 54px; border-left: 2px solid var(--line); }
.tl-item { position: relative; padding: 0 0 42px 42px; }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: #fff; border: 3px solid var(--navy); border-radius: 50%; }
.tl-item.hot::before { border-color: var(--brand); background: var(--brand); }
.tl-item .yr { font-family: var(--font-latin); font-weight: 700; font-size: 20px; }
.tl-item.hot .yr { color: var(--brand); }
.tl-item p { color: var(--gray); font-size: 15px; max-width: 640px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- RWD ---------- */
@media (max-width: 1060px) {
  nav.primary { display: none; }
  nav.primary.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 84px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,.08);
  }
  nav.primary.open > a { padding: 16px 6vw; border-top: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .navbar .btn { display: none; }
  .figures .wrap, .qrow { grid-template-columns: repeat(2, 1fr); }
  .fig { border-left: 0; padding-left: 0; }
  .split, .cta .wrap, .quote-band .wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4, .leader-grid { grid-template-columns: 1fr 1fr; }
  .biz-grid2, .founder-grid { grid-template-columns: 1fr; }
  .founder-grid .leader { max-width: 380px; }
  .gallery { grid-template-columns: 1fr; }
  .quote-band .ph { max-width: 320px; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .figures .wrap, .grid-3, .grid-4, .qrow, .leader-grid, .values, .biz-grid2 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; gap: 34px; }
  .profile-t .row { grid-template-columns: 1fr; }
  .profile-t .row dt { border-right: 0; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
  .card { min-height: 0; }
  .topbar .co { display: none; }
}

/* ---------- 4-line business grid & apps ---------- */
.biz-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 54px; }
.card .apps { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--gray); }
.card .apps b { color: var(--ink-2); font-weight: 600; }
#testing .card { min-height: 0; }

/* ---------- Founder feature ---------- */
.founder-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; margin-top: 54px; align-items: start; }
.f-bio { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }
.f-high { display: grid; gap: 10px; margin: 26px 0 6px; }
.f-high li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 500; }
.f-high li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; background: var(--brand); }
.f-quote { margin-top: 30px; padding: 24px 30px; background: var(--bg-soft); border-left: 4px solid var(--brand); font-size: 16.5px; line-height: 1.75; }
.f-quote cite { display: block; margin-top: 12px; font-style: normal; color: var(--gray); font-size: 14px; }
