:root {
  --navy: #102a48;
  --navy-deep: #081d34;
  --blue: #1d63ad;
  --cyan: #079db8;
  --ice: #f5f9fd;
  --pale: #eaf4fc;
  --white: #fff;
  --muted: #5e6f82;
  --line: #cfdae8;
  --shell: min(1240px, calc(100% - 96px));
  --header-height: 92px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 142px; }
body { margin: 0; color: var(--navy); background: var(--white); font-family: "DM Sans", "Noto Sans TC", sans-serif; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
small, sub, sup { font-size: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.container { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2000; top: 10px; left: 10px; padding: 9px 16px; color: var(--white); background: var(--navy); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0; color: var(--cyan); font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: #88d4e1; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* .text-nowrap { text-wrap: nowrap;} */

/* Header */
.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-height); border-bottom: 1px solid rgba(16,42,72,.14); background: rgba(255,255,255,.78); backdrop-filter: blur(16px); transition: height .3s,background .3s,box-shadow .3s; }
.site-header.is-scrolled { height: 74px; background: rgba(255,255,255,.95); box-shadow: 0 8px 30px rgba(16,42,72,.08); }
.header-inner { display: flex; align-items: center; gap: 36px; width: min(calc(100% - 64px),1380px); height: 100%; margin: auto; }
.brand { width: 176px; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: clamp(20px,2.15vw,34px); margin-left: auto; }
.main-nav a { position: relative; display: flex; align-items: baseline; gap: 5px; padding: 27px 0; white-space: nowrap; }
.main-nav a::after { position: absolute; right: 100%; bottom: 19px; left: 0; height: 1px; background: var(--blue); content: ""; transition: right .3s var(--ease); }
.main-nav a:hover::after,.main-nav a.active::after { right: 0; }
.main-nav b { font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.main-nav span { color: var(--muted); font-size: 14px; }
.header-tools { display: flex; align-items: center; gap: 16px; padding-left: 22px; border-left: 1px solid var(--line); white-space: nowrap; }
.language { display: flex; gap: 7px; padding: 0; border: 0; background: none; font-size: 14px; cursor: pointer; }
.language span { color: #8a98a7; }
.group-link { display: inline-flex; align-items: center; gap: 15px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); font-size: 14px; }
.group-link i { font-style: normal; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle i,.menu-toggle i::before,.menu-toggle i::after { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .25s,opacity .25s; }
.menu-toggle i { position: relative; margin: auto; }
.menu-toggle i::before,.menu-toggle i::after { position: absolute; left: 0; content: ""; }
.menu-toggle i::before { top: -7px; }
.menu-toggle i::after { top: 7px; }
.menu-open .menu-toggle i { background: transparent; }
.menu-open .menu-toggle i::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle i::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 820px; padding-top: var(--header-height); overflow: hidden; background: var(--pale); }
.hero-media,.hero-wash { position: absolute; inset: var(--header-height) 0 0; }
.hero-media { background: url("../images/banner.png") center / cover no-repeat; transform: scale(1.015); animation: heroScale 14s ease-out forwards; }
.hero-wash { background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 31%,rgba(234,244,252,.76) 59%,rgba(234,244,252,.08) 85%),linear-gradient(0deg,rgba(16,42,72,.16),transparent 50%); }
.hero-orbit { position: absolute; z-index: 1; right: 5vw; bottom: -250px; width: 720px; height: 720px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.hero-orbit::before,.hero-orbit::after { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; content: ""; }
.hero-orbit::before { inset: -100px; }
.hero-orbit::after { inset: -200px; }
.hero-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(7,157,184,.55); }
.hero-orbit i:nth-child(1) { top: 7%; left: 24%; }
.hero-orbit i:nth-child(2) { top: 28%; right: -4px; }
.hero-orbit i:nth-child(3) { top: -104px; left: 57%; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: calc(820px - var(--header-height)); padding: 82px 0 110px; }
.hero-copy { width: min(860px,76%); }
.hero h1 { margin: 24px 0 40px; font-size: clamp(62px,6.5vw,98px); font-weight: 400; line-height: .98; letter-spacing: -.06em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-statement { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; max-width: 760px; padding-top: 28px; border-top: 1px solid rgba(16,42,72,.22); }
.hero-statement h2 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.7; }
.hero-statement p { margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.scroll-cue { position: absolute; z-index: 3; bottom: 0; left: 50%; display: flex; align-items: center; flex-direction: column; color: rgba(16,42,72,.62); font-size: 14px; letter-spacing: .2em; transform: translateX(-50%); }
.scroll-cue i { width: 1px; height: 48px; margin-top: 12px; background: currentColor; animation: scrollLine 1.8s ease-in-out infinite; transform-origin: top; }

/* Sticky section nav */
.section-nav { position: sticky; z-index: 800; top: 74px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(15px); }
.section-nav-inner { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav a { position: relative; width: 280px; padding: 19px 18px 17px; border-right: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; white-space: nowrap; transition: color .25s,background .25s; }
.section-nav a:first-child { border-left: 1px solid var(--line); }
.section-nav a span { margin-right: 9px; color: #94a7ba; font-size: 14px; }
.section-nav a::after { position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--blue); content: ""; transition: right .3s var(--ease),left .3s var(--ease); }
.section-nav a:hover,.section-nav a.active { color: var(--navy); background: var(--ice); }
.section-nav a.active::after { right: 18px; left: 18px; }

/* Shared section heading */
.section-heading { display: grid; grid-template-columns: 110px minmax(0,680px) 1fr; gap: 40px; align-items: end; margin-bottom: 78px; }
.section-label { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; color: rgba(255,255,255,.44); font-size: 14px; letter-spacing: .14em; }
.section-label i { height: 1px; background: rgba(255,255,255,.22); }
.section-label small { grid-column: 1 / -1; font-size: 14px; }
.section-heading h2 { margin: 19px 0 0; font-size: clamp(42px,4.3vw,64px); font-weight: 400; line-height: 1.17; letter-spacing: -.045em; }
.section-heading h2 em { color: #83d2df; font-style: normal; }
.section-intro { max-width: 370px; margin: 0 0 6px auto; color: rgba(255,255,255,.55); font-size: 14px; line-height: 2; }

/* Research focus */
.focus-section { padding: 132px 0; color: var(--white); background: var(--navy); }
.focus-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.focus-card { min-height: 300px; padding: 30px 31px 34px; background: var(--navy); transition: background .3s,transform .3s; }
.focus-card:hover { z-index: 1; background: var(--blue); transform: translateY(-7px); }
.focus-top { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.38); font-size: 14px; }
.focus-top i { display: grid; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; place-items: center; font-style: normal; transition: transform .25s; }
.focus-card:hover .focus-top i { transform: translate(3px,-3px); }
.focus-card>p:not(.focus-copy) { margin: 20px 0 5px; color: #7fd1e1; font-size: 14px; text-transform: uppercase; }
.focus-card h3 { margin: 0; font-size: 26px; font-weight: 500; }
.focus-line { height: 1px; margin: 29px 0 23px; background: rgba(255,255,255,.2); }
.focus-copy { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.9; }
.focus-card:hover .focus-copy { color: rgba(255,255,255,.75); }
/* .text-wrap { text-wrap: nowrap; } */

/* Approach */
.approach-section { padding: 132px 0; background: var(--ice); }
.approach-layout { display: grid; grid-template-columns: 1fr 1.16fr; gap: clamp(70px,9vw,140px); }
.approach-heading { position: sticky; top: 170px; align-self: start; }
.dark-label { color: #8fa2b7; }
.dark-label i { background: var(--line); }
.approach-heading .eyebrow { margin-top: 78px; }
.approach-heading h2 { margin: 20px 0 28px; font-size: clamp(43px,4.5vw,66px); font-weight: 400; line-height: 1.16; letter-spacing: -.05em; }
.approach-heading h2 em { color: var(--blue); font-style: normal; }
.approach-heading>p:last-child { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.approach-list { border-top: 1px solid rgba(16,42,72,.25); }
.approach-item { display: grid; grid-template-columns: 46px 1fr 42px; gap: 20px; align-items: center; min-height: 190px; padding: 25px 0; border-bottom: 1px solid rgba(16,42,72,.2); transition: padding .3s,background .3s; }
.approach-item:hover { padding-inline: 16px; background: rgba(255,255,255,.78); }
.approach-item>span { color: #91a4b7; font-size: 14px; }
.approach-item p { margin: 0 0 2px; color: var(--cyan); font-size: 14px; text-transform: uppercase; }
.approach-item h3 { margin: 0 0 9px; font-size: 27px; font-weight: 500; }
.approach-item small { display: block; max-width: 520px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.approach-item>i { display: grid; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; place-items: center; font-style: normal; transition: transform .25s; }
.approach-item:hover>i { transform: translate(3px,-3px); }

/* Closing */
.closing { position: relative; color: var(--white); background: var(--navy-deep); overflow: hidden; }
.closing-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px); background-size: 90px 90px; mask-image: linear-gradient(90deg,transparent,black 52%,black); }
.closing-content { position: relative; min-height: 670px; padding: 125px 0; }
.closing h2 { max-width: 900px; margin: 26px 0 33px; font-size: clamp(53px,6vw,88px); font-weight: 400; line-height: 1.07; letter-spacing: -.055em; }
.closing h2 em { color: #84d3df; font-style: normal; }
.closing-content>p:not(.eyebrow) { max-width: 570px; margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }
.closing-link { display: flex; align-items: center; justify-content: space-between; width: 310px; margin-top: 45px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); }
.closing-link span { font-size: 14px; font-weight: 500; }
.closing-link small { color: rgba(255,255,255,.55); font-size: 14px; font-weight: 400; }
.closing-link i { font-size: 19px; font-style: normal; transition: transform .25s; }
.closing-link:hover i { transform: translate(3px,-3px); }

/* Footer */
.site-footer { padding: 78px 0 22px; background: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 60px; padding-bottom: 68px; }
.footer-brand img { width: 170px; }
.footer-brand p { margin: 30px 0 0; color: var(--blue); font-size: 18px; line-height: 1.3; }
.footer-column h3 { margin: 0 0 18px; color: #8292a3; font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.footer-column a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 19px; border-top: 1px solid var(--line); color: #8292a3; font-size: 14px; letter-spacing: .08em; }
.footer-bottom p { margin: 0; }

@keyframes heroScale { to { transform: scale(1.08); } }
@keyframes scrollLine { 0%,100% { opacity: .35; transform: scaleY(.55); } 50% { opacity: 1; transform: scaleY(1); } }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 52px,1240px); }
  .header-inner { width: min(calc(100% - 44px),1380px); gap: 22px; }
  .brand { width: 150px; }
  .main-nav { gap: 20px; }
  .main-nav span { display: none; }
  .language { display: none; }
  .section-heading { grid-template-columns: 120px minmax(0,600px) 1fr; }
  .approach-layout { gap: 70px; }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; --shell: calc(100% - 48px); }
  html { scroll-padding-top: 122px; }
  .site-header,.site-header.is-scrolled { height: var(--header-height); }
  .brand { width: 155px; }
  .header-tools { margin-left: auto; padding: 0; border: 0; }
  .group-link { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-height) 0 0; display: flex; align-items: stretch; flex-direction: column; gap: 0; margin: 0; padding: 38px 24px; background: rgba(255,255,255,.98); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s,transform .25s,visibility .25s; }
  .menu-open .main-nav { visibility: visible; opacity: 1; transform: none; height: 100vh;}
  .main-nav a { justify-content: space-between; width: 100%; padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav b { font-size: 21px; font-weight: 400; }
  .main-nav span { display: inline; margin-left: auto; font-size: 14px; }
  .hero { min-height: 770px; }
  .hero-media,.hero-wash { top: var(--header-height); }
  .hero-inner { min-height: calc(770px - var(--header-height)); }
  .hero h1 { font-size: clamp(62px,10vw,86px); }
  .hero-statement { max-width: 660px; }
  .section-nav { top: var(--header-height); }
  .section-heading { grid-template-columns: 90px 1fr; }
  .section-intro { grid-column: 2; margin: 0; }
  .focus-grid { grid-template-columns: repeat(2,1fr); }
  .approach-layout { grid-template-columns: 1fr; }
  .approach-heading { position: static; }
  .approach-heading .eyebrow { margin-top: 55px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-column:last-child { display: none; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 36px); }
  .header-inner { width: calc(100% - 32px); }
  .brand { width: 140px; }
  .hero { min-height: 760px; }
  .hero-inner { min-height: calc(760px - var(--header-height)); padding: 80px 0 100px; }
  .hero-copy { width: 100%; }
  .hero-media { background-position: 62% center; }
  .hero-wash { background: linear-gradient(90deg,rgba(255,255,255,.98),rgba(234,244,252,.86)); }
  .hero-orbit { opacity: .42; }
  .eyebrow { font-size: 14px; }
  .hero h1 { margin: 18px 0 26px; font-size: clamp(50px,14vw,60px); line-height: 1.02; }
  .hero-statement { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
  .hero-statement h2 { font-size: 16px; }
  .hero-statement p { font-size: 14px; line-height: 1.85; }
  .scroll-cue { display: none; }
  .section-nav a { width: 180px; padding: 15px 12px; }
  .focus-section,.approach-section { padding: 78px 0; }
  .section-heading { display: block; margin-bottom: 48px; }
  .section-label { margin-bottom: 42px; }
  .section-heading h2 { font-size: 39px; }
  .section-intro { margin-top: 24px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 330px; padding: 27px 25px 30px; }
  .focus-card>p:not(.focus-copy) { margin-top: 55px; }
  .approach-heading .eyebrow { margin-top: 42px; }
  .approach-heading h2 { font-size: 42px; }
  .approach-item { grid-template-columns: 34px 1fr 36px; gap: 13px; min-height: 170px; }
  .approach-item h3 { font-size: 23px; }
  .approach-item small { font-size: 14px; }
  .closing-content { min-height: 600px; padding: 90px 0; }
  .closing h2 { font-size: 47px; }
  .closing-content>p:not(.eyebrow) { font-size: 14px; }
  .closing-link { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; padding: 60px 0 48px; }
  .footer-brand { padding-bottom: 10px; }
  .footer-column { padding-top: 22px; border-top: 1px solid var(--line); }
  .footer-column:last-child { display: block; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  /* .text-nowrap { text-wrap: wrap;} */
}

@media (max-width: 560px) {
  .hero { height: auto; min-height: 700px; max-height: none; }
  .hero-inner { min-height: calc(700px - var(--header-height)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
