/* Brand artwork is cropped in the asset, never clipped by a layout box. */
.brand{gap:10px;align-items:center;width:auto}
.logo-mark,.footer-main .logo-mark{display:block;position:relative;flex:none;width:32px;height:49px;overflow:visible}
.brand .logo-mark img,.footer-main .brand .logo-mark img{position:static;display:block;width:100%;height:100%;max-width:100%;object-fit:contain;transform:none}
.logo-type{font-size:19px;font-weight:400;line-height:1.4;letter-spacing:.025em;-webkit-text-stroke:.12px currentColor}
/* Every route uses the same header proportions as the homepage. */
.site-header{height:94px;gap:34px}
@media(min-width:851px){
 .site-header{--header-light-surface:rgb(255 255 255 / .70);--header-blue-surface:rgb(40 93 202 / .72);--header-light-line:rgb(216 226 238 / .40);--header-blue-line:rgb(40 93 202 / 0);background:var(--header-light-surface);border-bottom-color:var(--header-light-line);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
}
/* Menu anchors land on the heading, clear of the sticky header. */
#expertise-title,#founder-title{scroll-margin-top:14px}
@media(max-width:850px){#expertise-title,#founder-title{scroll-margin-top:0}}
.site-header .brand{gap:12px}
.site-header .logo-mark{width:34px;height:51px}
.site-header .logo-type{font-size:20px;letter-spacing:.015em}
.site-header .desktop-nav{gap:32px}
.site-header .desktop-nav a{color:#344358;font-size:15px;white-space:nowrap}
.site-header nav a[aria-current]{color:var(--blue)}
body:has(.opening) .site-header .desktop-nav a[aria-current="location"]{color:var(--blue)}
.site-header .desktop-nav a[aria-current]:after{right:0}
.site-header #mobile-nav a[aria-current]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.site-header .header-cta{font-size:14px;padding:12px 22px;border:0;background:#e7edf5b8;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.site-header .header-cta:hover{background:#dfe8f4;color:#25364b}
@media(max-width:850px){
 .site-header{height:76px;gap:16px;padding:0 6%}
 .site-header .brand{gap:8px}
 .site-header .logo-mark{width:28px;height:43px}
 .site-header .logo-type{font-size:17px}
 .site-header .desktop-nav,.site-header .header-cta{display:none}
 .site-header .menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:40px;height:40px;border:0;border-radius:50%;background:#e7edf5b8;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:10px}
 .site-header .menu-toggle span{width:18px;height:1px;background:var(--ink);transition:transform .2s}
 .site-header .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}
 .site-header .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
 .site-header #mobile-nav:not([hidden]){display:flex;position:absolute;left:0;right:0;top:100%;background:white;padding:18px 6% 28px;flex-direction:column;box-shadow:0 18px 20px #27395c0b}
 .site-header #mobile-nav a{padding:13px 0;font-size:17px}
 .site-header .brand{transition:gap .24s ease}
 .site-header .logo-type{display:block;min-width:0;max-width:8em;overflow:hidden;opacity:1;transform:translateX(0);transition:opacity .18s ease,max-width .24s ease,transform .24s ease}
 .site-header.is-compact .brand{gap:0}
 .site-header.is-compact .logo-type{max-width:0;opacity:0;transform:translateX(-8px)}
}
@media(max-width:850px) and (prefers-reduced-motion:reduce){.site-header .brand,.site-header .logo-type{transition:none}}
/* On mobile, the brand and glass menu button float independently over the page. */
@media(max-width:720px){
 :root{--mobile-header-top:max(10px,env(safe-area-inset-top,0px));--mobile-header-space:calc(var(--mobile-header-top) + 78px)}
 html{scroll-padding-top:calc(var(--mobile-header-space) + 12px)}
 body{padding-top:var(--mobile-header-space)}
 .site-header{position:fixed;top:var(--mobile-header-top);left:12px;right:12px;height:64px;padding:0 14px;border:0;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;pointer-events:none}
 .site-header .brand,.site-header .menu-toggle,.site-header #mobile-nav{pointer-events:auto}
 .site-header .brand{min-width:44px;min-height:44px;max-width:calc(100% - 56px);gap:8px}
 .site-header .logo-mark{width:clamp(20px,5.4vw,23px);height:auto;aspect-ratio:219/336}
 .site-header .logo-type{font-size:clamp(16px,4.5vw,18px);white-space:nowrap}
 .site-header .menu-toggle{flex:none;background:#e7edf5b8;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
 .site-header #mobile-nav:not([hidden]){top:calc(100% + 10px);left:0;right:0;padding:14px 20px 20px;border:1px solid #46556b14;border-radius:22px;background:#ffffffbf;box-shadow:none;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
}
.font-license{max-width:760px}.font-license h1{font-size:42px;font-weight:400;margin-bottom:35px}.font-license h2{font-size:25px;font-weight:400;margin:38px 0 20px}.font-license p{margin:18px 0;color:#62738a;line-height:2}.font-license p a{color:#1760ef;text-decoration:underline;text-underline-offset:4px}.font-license>.text-link{display:inline-flex;align-items:center;gap:12px;margin-top:25px}

.philosophy{display:grid;grid-template-columns:1.05fr 1fr;gap:11%;padding-top:125px;padding-bottom:120px;align-items:start}
.philosophy-heading>p{font-size:22px;color:#78899e;margin:0 0 22px}
.philosophy-heading h2{font-size:clamp(36px,3.65vw,54px);font-weight:400;line-height:1.55;letter-spacing:-.035em}
.philosophy-heading h2 span{color:var(--blue)}
.philosophy-body article+article{margin-top:42px;padding-top:38px;border-top:1px solid #e1e7ef}
.philosophy-body h3{font-size:26px;font-weight:400;line-height:1.6;color:#30425b;margin-bottom:19px;letter-spacing:-.02em}
.philosophy-body p{font-size:17px;line-height:2;color:#718095}
.testimonials{padding:80px 0 65px;background:linear-gradient(145deg,#f0f4fa,#f6f8fb 60%,#edf3fb);overflow:hidden}
.testimonials-heading{display:flex;align-items:baseline;justify-content:space-between;gap:30px;padding-top:0;padding-bottom:35px}
.testimonials-heading h2{font-size:38px;line-height:1.5;font-weight:400;letter-spacing:-.03em}
.testimonials-heading p{font-size:13px;color:#8392a5;line-height:1.7}
.review-stream{width:100%;overflow:hidden;padding:22px 0;outline-offset:-5px;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.review-river{display:flex;width:max-content;animation:review-flow 70s linear infinite;animation-play-state:paused;will-change:transform}
.review-stream:nth-child(2) .review-river{animation-direction:normal;animation-duration:94s}
.testimonials.in-view .review-river{animation-play-state:running}
.testimonials:hover .review-river,.testimonials:focus-within .review-river,.testimonials .is-reading .review-river{animation-play-state:paused}
.review-group{display:flex;align-items:center;gap:24px;padding-right:24px}
.review-card{width:375px;flex:none;background:#fffffff2;border:1px solid #e6ecf4;border-radius:23px;padding:31px 33px;margin:0;box-shadow:0 7px 24px #16386605}
.review-card:nth-child(2){transform:translateY(10px);background:#e5eefb;border-color:#dbe6f5}
.review-card:nth-child(3){transform:translateY(-9px)}
.review-card blockquote{margin:0;font-size:18px;line-height:1.95;color:#3b506d}
.review-card figcaption{font-size:13px;color:#8394aa;margin-top:25px}
@keyframes review-flow{to{transform:translateX(-50%)}}
@media(max-width:1000px){.philosophy{gap:7%;padding-top:90px;padding-bottom:90px}.philosophy-heading h2{font-size:36px}.philosophy-body h3{font-size:23px}.philosophy-body p{font-size:16px}}
@media(max-width:720px){
 .brand{gap:8px}.logo-mark,.footer-main .logo-mark{width:28px;height:43px}.logo-type{font-size:17px}
 .philosophy{display:block;padding-top:68px;padding-bottom:68px}.philosophy-heading>p{font-size:18px;margin-bottom:17px}.philosophy-heading h2{font-size:clamp(31px,8.3vw,45px);line-height:1.5}
 .philosophy-body{margin-top:37px}.philosophy-body h3{font-size:23px;margin-bottom:16px}.philosophy-body p{font-size:16px;line-height:1.95}.philosophy-body article+article{margin-top:30px;padding-top:28px}
 .testimonials{padding:55px 0 35px}.testimonials-heading{display:block;padding-bottom:18px}.testimonials-heading h2{font-size:30px}.testimonials-heading p{margin-top:12px;font-size:12px}
 .review-stream{padding:18px 0;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}.review-group{gap:16px;padding-right:16px}.review-card{width:290px;padding:25px 26px;border-radius:20px}.review-card blockquote{font-size:16px;line-height:1.9}.review-card figcaption{margin-top:20px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.review-river{animation:none;will-change:auto}.review-group[aria-hidden]{display:none}.review-stream{overflow-x:auto;mask-image:none;padding-left:6%;padding-right:6%}.review-card{transform:none!important}}

/* Fixed reading flow: no expanding heights and no scripted page scrolling. */
.case-item{padding:34px 0 38px;overflow:visible;scroll-margin-top:130px}
.case-heading{margin-bottom:23px}.case-item h3{color:#3e526e;transition:color .4s}.case-item.is-current h3{color:var(--blue)}
.case-content{padding:0 18px 0 0;animation:none}.case-content>span{margin-top:18px}.case-content>a{margin-top:22px}
@media(max-width:720px){.case-item{padding:27px 0 30px}.case-heading{margin-bottom:18px}.case-content{padding-right:0}.case-content>p{font-size:16px}}

/* Give the two streams a quiet diagonal, keeping the heading level. */
.review-streams{width:calc(100% + 100px);margin-left:-50px;padding:35px 0;transform:rotate(-2.4deg);transform-origin:center}
.testimonials{padding-bottom:70px}.review-stream{mask-image:none}
@media(max-width:720px){.review-streams{width:calc(100% + 60px);margin-left:-30px;padding:22px 0;transform:rotate(-2deg)}.testimonials{padding-bottom:40px}}
@media(prefers-reduced-motion:reduce){.review-streams{transform:none;width:100%;margin-left:0;padding:0}}

.philosophy{gap:9%;align-items:center}.philosophy-heading{min-width:0}.philosophy-heading h2{font-size:clamp(36px,3.6vw,52px)}
.philosophy-art{margin:32px 0 0;aspect-ratio:4/3;background:#f4f7fb;border-radius:28px;overflow:hidden;isolation:isolate}
.philosophy-art img{display:block;width:100%;height:100%;object-fit:cover;transform:translateY(var(--figure-shift,0px)) rotate(var(--figure-angle,0deg)) scale(1.055);will-change:transform}
.philosophy-body{padding:8px 0}.philosophy-body h3{color:#30425b}.philosophy-body article+article{margin-top:35px;padding-top:32px}
@media(max-width:720px){.philosophy-heading h2{font-size:clamp(31px,8.3vw,45px)}.philosophy-art{margin-top:25px;border-radius:21px}.philosophy-body{padding:0;margin-top:34px}}
@media(prefers-reduced-motion:reduce){.philosophy-art img{transform:none;will-change:auto}}

.city-figure{position:relative;aspect-ratio:1.22;background:radial-gradient(ellipse at 40% 30%,#fafcff,#edf2f9);overflow:hidden}.city-canvas{position:absolute;inset:0}.city-canvas canvas{display:block;width:100%;height:100%}.city-replay{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #d9e2ef;border-radius:50%;color:#7186a3;background:#ffffffca;cursor:pointer;transition:background .2s,color .2s;opacity:0}.city-replay:disabled{pointer-events:none}.city-ready .city-replay{opacity:1}.city-replay:hover{background:white;color:var(--blue)}.city-replay .lucide{width:17px;height:17px}.city-unavailable{display:none}
@media(max-width:720px){.city-figure{aspect-ratio:1.2}.city-replay{right:12px;bottom:12px}}

/* The city is the scene itself, rather than an image inside a card. */
.philosophy{display:block;padding-top:80px;padding-bottom:105px}
.philosophy-stage{position:relative;display:grid;grid-template-columns:.82fr 1.18fr;align-items:center;min-height:485px;gap:0}
.philosophy-heading{position:relative;z-index:1;padding-bottom:42px}
.philosophy-heading>p{font-size:20px;margin-bottom:24px}
.philosophy-heading h2{font-size:clamp(34px,3.5vw,50px);line-height:1.55;white-space:nowrap}
.philosophy .city-figure{width:calc(100% + 50px);height:500px;aspect-ratio:auto;margin:0 0 0 -25px;border-radius:0;background:none;overflow:visible}
.philosophy .city-replay{right:25px;bottom:20px;background:#f0f4f8;border-color:transparent}
.philosophy-body{display:grid;grid-template-columns:1fr 1fr;gap:9%;padding:40px 0 0;border-top:1px solid #e5ebf2}
.philosophy-body article+article{margin:0;padding:0;border:0}
.philosophy-body h3{font-size:26px;line-height:1.6;margin-bottom:19px}.philosophy-body p{max-width:495px;line-height:1.95}
@media(max-width:1000px){.philosophy-stage{grid-template-columns:.9fr 1.1fr;min-height:410px}.philosophy .city-figure{height:420px}.philosophy-heading h2{font-size:34px}.philosophy-body{gap:7%}.philosophy-body h3{font-size:23px}}
@media(max-width:720px){
 .philosophy{padding-top:62px;padding-bottom:65px}.philosophy-stage{display:block;min-height:0}.philosophy-heading{padding-bottom:0}.philosophy-heading>p{font-size:18px;margin-bottom:17px}.philosophy-heading h2{font-size:clamp(30px,8.1vw,45px)}
 .philosophy .city-figure{width:calc(100% + 28px);height:auto;aspect-ratio:1.1;margin:4px -14px 0}.philosophy .city-replay{right:15px;bottom:20px;width:34px;height:34px}
 .philosophy-body{display:block;margin:0;padding-top:30px}.philosophy-body h3{font-size:23px}.philosophy-body article+article{margin-top:29px;padding-top:28px;border-top:1px solid #e5ebf2}.philosophy-body p{font-size:16px}
}

/* Shared proportions, with a distinct editorial palette for each story. */
.hero .hero-card{height:clamp(620px,78svh,820px)}
.hero .hero-copy{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:58px 5.2%;max-width:640px}
.hero .hero-copy :is(h1,h2){margin:0}
.hero .hero-description{margin-top:27px}
.hero .hero-copy .button{margin-top:31px;flex:none}
.hero .book-card{--card-ink:#3f2855;--card-accent:#7845ac;--card-muted:#675375;--card-hover:#60328f;background:#ece7f2}
.hero .book-card .books-art{background-image:url('assets/editorial-books-purple.jpg');background-position:center;background-size:cover}
.hero .seminar-card{--card-ink:#203d54;--card-accent:#087c88;--card-muted:#4b6370;--card-hover:#08616c;background:#e9f0f2}
.hero .anniversary-card{--card-ink:#233e60;--card-accent:#3565a6;--card-muted:#4d6683;--card-hover:#254f8a;background:#d7e9f9}
.hero .anniversary-card .anniversary-art{background-image:url('assets/editorial-anniversary-sculpture.jpg');background-size:cover;background-position:center}
.hero :is(.book-card,.seminar-card,.anniversary-card) .hero-copy :is(h1,h2){color:var(--card-ink)}
.hero :is(.book-card,.seminar-card,.anniversary-card) .hero-copy :is(h1,h2) span{color:var(--card-accent)}
.hero :is(.book-card,.seminar-card,.anniversary-card) .hero-description{color:var(--card-muted)}
.hero :is(.book-card,.seminar-card,.anniversary-card) .button.primary{background:var(--card-accent);box-shadow:none}
.hero :is(.book-card,.seminar-card,.anniversary-card) .button.primary:hover{background:var(--card-hover)}
.hero :is(.book-card,.seminar-card,.anniversary-card) .button:focus-visible{outline-color:var(--card-accent)}
.hero .book-card::after,.hero .seminar-card::after{content:"";display:block;position:absolute;inset:0;z-index:1;pointer-events:none}
.hero .book-card::after{background:linear-gradient(90deg,#ece7f2b3, #ece7f247 34%,transparent 59%)}
.hero .seminar-card::after{background:linear-gradient(90deg,#e9f0f2f0,#e9f0f2bd 27%,#e9f0f259 45%,transparent 65%)}
@media(max-width:1100px) and (min-width:721px){
 .hero .hero-card{height:clamp(600px,78svh,740px)}
 .hero .hero-copy{padding:50px 5.2%;max-width:580px}
}
@media(max-width:720px){
 .hero .hero-card{height:clamp(520px,67svh,580px)}
 .hero .hero-copy{padding:33px 8% 0;height:auto;display:block;max-width:none}
 .hero .hero-description{margin-top:18px}
 .hero .hero-copy .button{margin-top:22px}
 .hero .book-card .books-art{background-size:auto 64%;background-position:89% bottom;background-repeat:no-repeat;background-color:#ece7f2}
 .hero .anniversary-card .anniversary-art{background-size:auto 65%;background-position:91% bottom;background-repeat:no-repeat;background-color:#d7e9f9}
 .hero .hero-card.book-card .books-art{mask-image:linear-gradient(180deg,transparent 36%,#000 50%);-webkit-mask-image:linear-gradient(180deg,transparent 36%,#000 50%)}
 .hero .hero-card.anniversary-card .anniversary-art{mask-image:linear-gradient(180deg,transparent 35%,#000 49%);-webkit-mask-image:linear-gradient(180deg,transparent 35%,#000 49%)}
 .hero .book-card::after{background:linear-gradient(180deg,#ece7f2f5,#ece7f2e8 25%,#ece7f280 47%,transparent 70%)}
 .hero .seminar-card::after{background:linear-gradient(180deg,#e9f0f2f5,#e9f0f2e6 28%,#e9f0f285 52%,transparent 83%)}
 .hero .anniversary-card::after{background:linear-gradient(180deg,#d7e9f9f5,#d7e9f9e6 30%,#d7e9f970 49%,transparent 68%)}
}

/* This portrait already includes the intended crop; keep the original headroom. */
.team-dialog .person-dialog-photo>img[src*="chen-kao-hsing-gray-blue-20261001"],.team-dialog .person-dialog-photo>img[data-dialog-src*="chen-kao-hsing-gray-blue-20261001"]{transform:none;object-position:center top}

/* Preserve readable labels before switching to the mobile menu. */
@media(min-width:851px) and (max-width:1100px){.site-header{gap:24px;padding-inline:4%}.site-header .desktop-nav{gap:24px}.site-header .header-cta{white-space:nowrap}}
